Closed fschiro closed 1 year ago
I installed with binary instead
How did you resolve this problem? I have the same issue.
Binary instead of source install -> here
Also the Docker container works
I got similar error, and there is no moveit2_tutorial package just install from command(sudo apt install ros-humble-moveit) The problem may be in moveit_task_constructor_visualization
Failed <<< moveit_task_constructor_visualization [1min 56s, exited with code 2]
Finished <<< moveit_resources_fanuc_moveit_config [0.61s] Starting >>> moveit_resources Finished <<< moveit_resources [0.53s] --- stderr: realsense_gazebo_plugin CMake Warning at CMakeLists.txt:44 (add_library): Cannot generate a safe runtime search path for target realsense_gazebo_plugin because files in some directories may conflict with libraries in implicit directories: runtime library [liboctomap.so.1.9] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /opt/ros/humble/lib/x86_64-linux-gnu runtime library [liboctomath.so.1.9] in /usr/lib/x86_64-linux-gnu may be hidden by files in: /opt/ros/humble/lib/x86_64-linux-gnu Some of these libraries may not be found correctly. Finished <<< realsense_gazebo_plugin [3.29s] Finished <<< moveit_task_constructor_msgs [6.74s] Finished <<< srdfdom [8.36s] Starting >>> moveit_core Starting >>> moveit_configs_utils Finished <<< xarm_msgs [8.73s] Starting >>> xarm_api --- stderr: moveit_configs_utils /usr/lib/python3/dist-packages/setuptools/command/install.py:34: SetuptoolsDeprecationWarning: setup.py install is deprecated. Use build and pip and other standards-based tools. warnings.warn( Finished <<< moveit_configs_utils [1.36s] Finished <<< rviz_marker_tools [9.69s] Finished <<< xarm_api [2.27s] Starting >>> xarm_controller Finished <<< xarm_controller [3.81s] Starting >>> xarm_gazebo Finished <<< rosparam_shortcuts [20.3s] Finished <<< xarm_gazebo [5.58s] [Processing: moveit_core] [Processing: moveit_core] [Processing: moveit_core] [Processing: moveit_core] Finished <<< moveit_core [2min 40s] Starting >>> moveit_ros_occupancy_map_monitor Starting >>> moveit_simple_controller_manager Starting >>> moveit_resources_prbt_ikfast_manipulator_plugin Starting >>> chomp_motion_planner Starting >>> pilz_industrial_motion_planner_testutils Finished <<< moveit_simple_controller_manager [17.8s] Starting >>> moveit_plugins Starting >>> moveit_ros_control_interface Finished <<< moveit_plugins [0.57s] Finished <<< pilz_industrial_motion_planner_testutils [23.9s] Finished <<< chomp_motion_planner [33.4s] Starting >>> moveit_chomp_optimizer_adapter Starting >>> moveit_planners_chomp Finished <<< moveit_ros_occupancy_map_monitor [36.0s] Starting >>> moveit_ros_planning Finished <<< moveit_resources_prbt_ikfast_manipulator_plugin [36.3s] Finished <<< moveit_ros_control_interface [21.0s] Finished <<< moveit_chomp_optimizer_adapter [20.1s] Finished <<< moveit_planners_chomp [31.2s] [Processing: moveit_ros_planning] [Processing: moveit_ros_planning] [Processing: moveit_ros_planning] Finished <<< moveit_ros_planning [2min 6s] Starting >>> moveit_kinematics Starting >>> moveit_ros_warehouse Starting >>> moveit_ros_robot_interaction Starting >>> moveit_planners_ompl Starting >>> moveit_ros_perception Starting >>> moveit_visual_tools [Processing: moveit_kinematics, moveit_planners_ompl, moveit_ros_perception, moveit_ros_robot_interaction, moveit_ros_warehouse, moveit_visual_tools] Finished <<< moveit_ros_robot_interaction [57.4s] Finished <<< moveit_visual_tools [1min 8s] Finished <<< moveit_kinematics [1min 17s] Starting >>> moveit_ros_move_group Finished <<< moveit_ros_perception [1min 24s] Finished <<< moveit_planners_ompl [1min 47s] Finished <<< moveit_ros_warehouse [2min 1s] Starting >>> moveit_ros_benchmarks Finished <<< moveit_ros_move_group [53.6s] Starting >>> moveit_ros_planning_interface Starting >>> moveit_resources_prbt_moveit_config Starting >>> xarm_moveit_config Finished <<< moveit_resources_prbt_moveit_config [0.64s] Starting >>> moveit_resources_prbt_pg70_support Finished <<< xarm_moveit_config [0.70s] Finished <<< moveit_resources_prbt_pg70_support [0.65s] [Processing: moveit_ros_benchmarks, moveit_ros_planning_interface] Finished <<< moveit_ros_benchmarks [43.2s] Finished <<< moveit_ros_planning_interface [45.7s] Starting >>> moveit_ros_visualization Starting >>> pilz_industrial_motion_planner Starting >>> moveit_task_constructor_core Starting >>> moveit_servo Starting >>> moveit_hybrid_planning [Processing: moveit_hybrid_planning, moveit_ros_visualization, moveit_servo, moveit_task_constructor_core, pilz_industrial_motion_planner] [Processing: moveit_hybrid_planning, moveit_ros_visualization, moveit_servo, moveit_task_constructor_core, pilz_industrial_motion_planner] [Processing: moveit_hybrid_planning, moveit_ros_visualization, moveit_servo, moveit_task_constructor_core, pilz_industrial_motion_planner] Finished <<< moveit_hybrid_planning [1min 50s] [Processing: moveit_ros_visualization, moveit_servo, moveit_task_constructor_core, pilz_industrial_motion_planner] [Processing: moveit_ros_visualization, moveit_servo, moveit_task_constructor_core, pilz_industrial_motion_planner] [Processing: moveit_ros_visualization, moveit_servo, moveit_task_constructor_core, pilz_industrial_motion_planner] Finished <<< pilz_industrial_motion_planner [3min 35s] Starting >>> moveit_planners Finished <<< moveit_planners [0.67s] Starting >>> moveit_runtime Finished <<< moveit_runtime [1.11s] Finished <<< moveit_task_constructor_core [3min 43s] Starting >>> moveit_task_constructor_capabilities Finished <<< moveit_servo [3min 44s] Starting >>> xarm_moveit_servo Finished <<< xarm_moveit_servo [5.15s] Finished <<< moveit_task_constructor_capabilities [23.6s] Starting >>> moveit_task_constructor_demo Finished <<< moveit_ros_visualization [4min 33s] Starting >>> moveit_setup_framework Starting >>> moveit_ros Starting >>> moveit_task_constructor_visualization Finished <<< moveit_ros [0.75s] Finished <<< moveit_task_constructor_demo [38.2s] Finished <<< moveit_setup_framework [29.3s] Starting >>> moveit_setup_app_plugins Starting >>> moveit_setup_controllers Starting >>> moveit_setup_core_plugins Starting >>> moveit_setup_srdf_plugins [Processing: moveit_setup_app_plugins, moveit_setup_controllers, moveit_setup_core_plugins, moveit_setup_srdf_plugins, moveit_task_constructor_visualization] [Processing: moveit_setup_app_plugins, moveit_setup_controllers, moveit_setup_core_plugins, moveit_setup_srdf_plugins, moveit_task_constructor_visualization] Finished <<< moveit_setup_app_plugins [1min 15s] Finished <<< moveit_setup_core_plugins [1min 22s] --- stderr: moveit_task_constructor_visualization /usr/bin/ld: /root/xarm/dev_ws/install/moveit_task_constructor_core/lib/libmoveit_task_constructor_core.so: undefined reference to moveit::core::CartesianInterpolator::computeCartesianPath(moveit::core::RobotState*, moveit::core::JointModelGroup const*, std::vector<std::shared_ptr<moveit::core::RobotState>, std::allocator<std::shared_ptr<moveit::core::RobotState> > >&, moveit::core::LinkModel const*, Eigen::Transform<double, 3, 1, 0> const&, bool, moveit::core::MaxEEFStep const&, moveit::core::JumpThreshold const&, std::function<bool (moveit::core::RobotState*, moveit::core::JointModelGroup const*, double const*)> const&, kinematics::KinematicsQueryOptions const&, std::function<double (geometry_msgs::msg::Pose_<std::allocator<void> > const&, moveit::core::RobotState const&, moveit::core::JointModelGroup const*, std::vector<double, std::allocator<double> > const&)> const&, Eigen::Transform<double, 3, 1, 0> const&)' /usr/bin/ld: /root/xarm/dev_ws/install/moveit_task_constructor_core/lib/libmoveit_task_constructor_core.so: undefined reference to moveit::core::RobotState::setFromIK(moveit::core::JointModelGroup const*, Eigen::Transform<double, 3, 1, 0> const&, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, double, std::function<bool (moveit::core::RobotState*, moveit::core::JointModelGroup const*, double const*)> const&, kinematics::KinematicsQueryOptions const&, std::function<double (geometry_msgs::msg::Pose_<std::allocator<void> > const&, moveit::core::RobotState const&, moveit::core::JointModelGroup const*, std::vector<double, std::allocator<double> > const&)> const&)' collect2: error: ld returned 1 exit status gmake[2]: *** [motion_planning_tasks/test/CMakeFiles/moveit_task_constructor_visualization-test-solution-models.dir/build.make:525: motion_planning_tasks/test/moveit_task_constructor_visualization-test-solution-models] Error 1 gmake[1]: *** [CMakeFiles/Makefile2:539: motion_planning_tasks/test/CMakeFiles/moveit_task_constructor_visualization-test-solution-models.dir/all] Error 2 gmake: *** [Makefile:146: all] Error 2 Failed <<< moveit_task_constructor_visualization [1min 56s, exited with code 2] Aborted <<< moveit_setup_controllers [1min 27s] Aborted <<< moveit_setup_srdf_plugins [2min 42s] Summary: 59 packages finished [16min 11s] 1 package failed: moveit_task_constructor_visualization 2 packages aborted: moveit_setup_controllers moveit_setup_srdf_plugins 6 packages had stderr output: launch_param_builder moveit_configs_utils moveit_setup_srdf_plugins moveit_task_constructor_visualization realsense_gazebo_plugin 3 packages not processed
Description
When following the Getting Started tutorial, I run
colcon build --mixin release
, and 20 packages out of 48 are having an issue.Overview of your issue here.
Your environment
Steps to reproduce
Followed tutorial line by line Getting Started
Expected behaviour
Tell us what should happen
Backtrace or Console output