Ошибка сборки ROS2

Я совершенно новичок в ros2. Когда я пытался создать рабочую среду, запустив команду

cd ~/ros2_ws/
src/ament/ament_tools/scripts/ament.py build --build-tests --symlink-install

Я сталкиваюсь со следующей проблемой.

....
....

Process package 'class_loader' with context:
--------------------------------------------------------------------------------
 source_space => /home/keerthana/ros2_ws/src/ros/class_loader
  build_space => /home/keerthana/ros2_ws/build/class_loader
install_space => /home/keerthana/ros2_ws/install
   make_flags => -j4, -l4
  build_tests => True
--------------------------------------------------------------------------------
Traceback (most recent call last):
  File "src/ament/ament_tools/scripts/ament.py", line 161, in <module>
    sys.exit(main() or 0)
  File "/home/keerthana/ros2_ws/src/ament/ament_tools/ament_tools/commands/ament.py", line 88, in main
    rc = args.main(args)
  File "/home/keerthana/ros2_ws/src/ament/ament_tools/ament_tools/verbs/build/cli.py", line 172, in main
    return iterate_packages(opts, packages, per_package_main)
  File "/home/keerthana/ros2_ws/src/ament/ament_tools/ament_tools/verbs/build/cli.py", line 300, in iterate_packages
    rc = process_sequentially(jobs)
  File "/home/keerthana/ros2_ws/src/ament/ament_tools/ament_tools/verbs/build/cli.py", line 340, in process_sequentially
    rc = job['callback'](job['opts'])
  File "/home/keerthana/ros2_ws/src/ament/ament_tools/ament_tools/verbs/build_pkg/cli.py", line 279, in main
    context = get_context(opts)
  File "/home/keerthana/ros2_ws/src/ament/ament_tools/ament_tools/verbs/build_pkg/cli.py", line 285, in get_context
    return create_context(opts)
  File "/home/keerthana/ros2_ws/src/ament/ament_tools/ament_tools/verbs/build_pkg/cli.py", line 398, in create_context
    build_type_impl = get_class_for_build_type(build_type)()
  File "src/ament/ament_tools/scripts/ament.py", line 128, in get_class_for_build_type
    loader = yield_supported_build_types(build_type)
  File "src/ament/ament_tools/scripts/ament.py", line 123, in yield_supported_build_types
    ', '.join(known_build_types.keys()))
RuntimeError: This script does not support the build type '<not-specified>'
Only the following build types are supported: ament_cmake, bazel, cmake, ament_python

В настоящее время я работаю над установкой Ubuntu 16.04 . Может кто-нибудь помочь мне решить эту ошибку сборки.

0 ответов

Другие вопросы по тегам