Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

moveit2__tutorials: Failed to load any planning pipelines #851

Closed
zhangbo9426426 opened this issue Dec 23, 2023 · 1 comment
Closed

moveit2__tutorials: Failed to load any planning pipelines #851

zhangbo9426426 opened this issue Dec 23, 2023 · 1 comment

Comments

@zhangbo9426426
Copy link

Description

Hi, I have installed moveit2 and can start demo normally by ros2 launch dual_arm_moveit2 demo.launch.py. But when I continued to run ros2 run moveit2_tutorials moveit_cpp_tutorial and tried to use the advanced api moveitcpp, the terminal got an error.The following is all the information output by the terminal:

[INFO] [1703218871.704853446] [moveit_cpp_tutorial]: Initialize node
[INFO] [1703218872.714803138] [moveit_cpp_tutorial]: Starting MoveIt Tutorials...
[INFO] [1703218874.362360608] [moveit_rdf_loader.rdf_loader]: Loaded robot model in 1.64742 seconds
[INFO] [1703218874.362414467] [moveit_robot_model.robot_model]: Loading robot model 'panda'...
[WARN] [1703218874.373798051] [moveit_ros.robot_model_loader]: No kinematics plugins defined. Fill and load kinematics.yaml!
[INFO] [1703218874.388775160] [moveit.ros_planning_interface.moveit_cpp]: Listening to 'joint_states' for joint states
[INFO] [1703218874.391539423] [moveit_ros.current_state_monitor]: Listening to joint states on topic 'joint_states'
[INFO] [1703218874.395096161] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Listening to '/attached_collision_object' for attached collision objects
[INFO] [1703218874.396032978] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Publishing maintained planning scene on 'monitored_planning_scene'
[INFO] [1703218874.396193747] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Starting planning scene monitor
[INFO] [1703218874.396649030] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Listening to '/planning_scene'
[INFO] [1703218874.396749676] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Starting world geometry update monitor for collision objects, attached objects, octomap updates.
[INFO] [1703218874.397136859] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Listening to 'collision_object'
[INFO] [1703218874.397506483] [moveit_ros.planning_scene_monitor.planning_scene_monitor]: Listening to 'planning_scene_world' for planning scene world geometry
[WARN] [1703218874.398091735] [moveit.ros.occupancy_map_monitor.middleware_handle]: Resolution not specified for Octomap. Assuming resolution = 0.1 instead
[ERROR] [1703218874.398131114] [moveit.ros.occupancy_map_monitor.middleware_handle]: No 3D sensor plugin(s) defined for octomap updates
[ERROR] [1703218874.399007046] [moveit.ros_planning_interface.moveit_cpp]: Failed to load any planning pipelines.
[FATAL] [1703218874.399057056] [moveit.ros_planning_interface.moveit_cpp]: Failed to load planning pipelines from parameter server
terminate called after throwing an instance of 'std::runtime_error'
what(): Failed to load planning pipelines from parameter server
Stack trace (most recent call last):
moveit/moveit2#13 Object "", at 0xffffffffffffffff, in
moveit/moveit2#12 Object "/home/zhangbo/moveit2_ws/install/moveit2_tutorials/lib/moveit2_tutorials/moveit_cpp_tutorial", at 0x55e98eec15e4, in _start
moveit/moveit2#11 Source "../csu/libc-start.c", line 392, in __libc_start_main_impl [0x7fb04a229e3f]
moveit/moveit2#10 Source "../sysdeps/nptl/libc_start_call_main.h", line 58, in __libc_start_call_main [0x7fb04a229d8f]
moveit/moveit2#9 Object "/home/zhangbo/moveit2_ws/install/moveit2_tutorials/lib/moveit2_tutorials/moveit_cpp_tutorial", at 0x55e98eebfab1, in main
moveit/moveit2#8 Object "/home/zhangbo/moveit2_ws/install/moveit_ros_planning/lib/libmoveit_cpp.so.2.5.5", at 0x7fb04afca572, in moveit_cpp::MoveItCpp::MoveItCpp(std::shared_ptrrclcpp::Node const&)
moveit/moveit2#7 Object "/home/zhangbo/moveit2_ws/install/moveit_ros_planning/lib/libmoveit_cpp.so.2.5.5", at 0x7fb04afc31d5, in moveit_cpp::MoveItCpp::MoveItCpp(std::shared_ptrrclcpp::Node const&, moveit_cpp::MoveItCpp::Options const&) [clone .cold]
moveit/moveit2#6 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x7fb04a6ae4d7, in __cxa_throw
moveit/moveit2#5 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x7fb04a6ae276, in std::terminate()
moveit/moveit2#4 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x7fb04a6ae20b, in
moveit/moveit2#3 Object "/usr/lib/x86_64-linux-gnu/libstdc++.so.6.0.30", at 0x7fb04a6a2b9d, in
moveit/moveit2#2 Source "./stdlib/abort.c", line 79, in abort [0x7fb04a2287f2]
moveit/moveit2#1 Source "../sysdeps/posix/raise.c", line 26, in raise [0x7fb04a242475]
#0 | Source "./nptl/pthread_kill.c", line 89, in __pthread_kill_internal
| Source "./nptl/pthread_kill.c", line 78, in __pthread_kill_implementation
Source "./nptl/pthread_kill.c", line 44, in __pthread_kill [0x7fb04a2969fc]
Aborted (Signal sent by tkill() 3675 1000)
[ros2run]: Aborted

Your environment

  • ROS Distro: Humble
  • OS Version: Ubuntu 22.04
  • Source or Binary build? Source
  • If source, which git commit or tag? Sorry, I'm not sure. I followed these instructions to clone, I think these instructions can tell which branch I am installed.
    git clone https://github.com/ros-planning/moveit2_tutorials -b humble --depth 1 moveit2_ws/src/moveit2_tutorials
    vcs import < moveit2_tutorials/moveit2_tutorials.repos
@sea-bass
Copy link
Contributor

I think this issue was a duplicate of the other one we just discussed, so will close this one as well.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants