moveit2在colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release遇到ros_testing无法找到
-
由于我的虚拟机没有代理,不好使用
vcs import < moveit2_tutorials/moveit2_tutorials.repos
所以,我在另外一个双系统的有代理的linux下运行后,拷贝过来,编译发现了如下问题
colcon build --cmake-args -DCMAKE_BUILD_TYPE=Release Starting >>> moveit_resources_panda_description Starting >>> moveit_common Finished <<< moveit_common [0.77s] Starting >>> moveit_resources_pr2_description Finished <<< moveit_resources_panda_description [1.26s] Starting >>> srdfdom Finished <<< moveit_resources_pr2_description [1.10s] Starting >>> moveit_resources_panda_moveit_config Finished <<< moveit_resources_panda_moveit_config [0.93s] Starting >>> launch_param_builder Finished <<< launch_param_builder [1.59s] Starting >>> moveit_resources_fanuc_description Finished <<< moveit_resources_fanuc_description [1.64s] Starting >>> moveit_resources_fanuc_moveit_config Finished <<< moveit_resources_fanuc_moveit_config [1.57s] Starting >>> moveit_resources_prbt_support Finished <<< moveit_resources_prbt_support [1.58s] Starting >>> moveit_task_constructor_msgs Finished <<< srdfdom [23.4s] Starting >>> moveit_core [Processing: moveit_core, moveit_task_constructor_msgs] Finished <<< moveit_task_constructor_msgs [52.4s] Starting >>> moveit_configs_utils Finished <<< moveit_configs_utils [1.16s] Starting >>> rviz_marker_tools Finished <<< rviz_marker_tools [11.4s] Starting >>> rosparam_shortcuts --- stderr: rosparam_shortcuts CMake Error at CMakeLists.txt:97 (find_package): By not providing "Findros_testing.cmake" in CMAKE_MODULE_PATH this project has asked CMake to find a package configuration file provided by "ros_testing", but CMake did not find one. Could not find a package configuration file provided by "ros_testing" with any of the following names: ros_testingConfig.cmake ros_testing-config.cmake Add the installation prefix of "ros_testing" to CMAKE_PREFIX_PATH or set "ros_testing_DIR" to a directory containing one of the above files. If "ros_testing" provides a separate development package or SDK, be sure it has been installed. --- Failed <<< rosparam_shortcuts [1.89s, exited with code 1] Aborted <<< moveit_core [7min 52s] Summary: 12 packages finished [8min 17s] 1 package failed: rosparam_shortcuts 1 package aborted: moveit_core 1 package had stderr output: rosparam_shortcuts 41 packages not processed
请问大家有什么好办法解决吗?