小鱼 ROS 2 新书上线!点击链接查看, 新书配套视频点击链接查看。
提问前必看的发帖注意事项—— 提问前必看!不符合要求的问题拒绝回答!!
社区使用指南—如何添加标签修改密码
moveit2_Tutorial 安装失败
-
ROS2 版本:foxy 7.1
系统版本: ubuntu 20.04按照教程下载后,运行命令
. start.sh
会出现如下的报错
CMake Error at doc/move_group_interface/CMakeLists.txt:1 (add_executable):
Target "move_group_interface_tutorial" links to target
"libstatistics_collector::libstatistics_collector_test_msgs__rosidl_generator_c"
but the target was not found. Perhaps a find_package() call is missing for
an IMPORTED target, or an ALIAS target is missing?
CMake Error at doc/move_group_interface/CMakeLists.txt:1 (add_executable):
Target "move_group_interface_tutorial" links to target
"libstatistics_collector::libstatistics_collector_test_msgs__rosidl_typesupport_introspection_c"
but the target was not found. Perhaps a find_package() call is missing for
an IMPORTED target, or an ALIAS target is missing?CMake Error at doc/move_group_interface/CMakeLists.txt:1 (add_executable):
Target "move_group_interface_tutorial" links to target
"libstatistics_collector::libstatistics_collector_test_msgs__rosidl_typesupport_c"
but the target was not found. Perhaps a find_package() call is missing for
an IMPORTED target, or an ALIAS target is missing?然后我又尝试了moveit2的官方历程,在个跟随教程配置完后输入命令
colcon build --mixin release
还是会出现报错,而且和上边报错信息相同CMake Error at CMakeLists.txt:52 (add_executable):
Target "moveit_visual_tools_demo" links to target
"libstatistics_collector::libstatistics_collector_test_msgs__rosidl_generator_c"
but the target was not found. Perhaps a find_package() call is missing for
an IMPORTED target, or an ALIAS target is missing?CMake Error at CMakeLists.txt:52 (add_executable):
Target "moveit_visual_tools_demo" links to target
"libstatistics_collector::libstatistics_collector_test_msgs__rosidl_typesupport_introspection_c"
but the target was not found. Perhaps a find_package() call is missing for
an IMPORTED target, or an ALIAS target is missing?CMake Error at CMakeLists.txt:52 (add_executable):
Target "moveit_visual_tools_demo" links to target
"libstatistics_collector::libstatistics_collector_test_msgs__rosidl_typesupport_c"
but the target was not found. Perhaps a find_package() call is missing for
an IMPORTED target, or an ALIAS target is missing?
基本上都是libstatistics_collector这个包出现问题,请问要怎么解决这个问题? -
@yangxuan1032 这两天我会重新写一篇Moveit2相关教程,敬请期待