moveit / moveit2_tutorials

A sphinx-based centralized documentation repo for MoveIt 2
https://moveit.picknik.ai
BSD 3-Clause "New" or "Revised" License
155 stars 195 forks source link

Package 'panda_moveit_config' not found in STOMP Motion Planner #770

Closed ravijo closed 1 year ago

ravijo commented 1 year ago

Description

I am getting started with the STOMP motion planner by following the documentation. But the command ros2 launch panda_moveit_config demo.launch.py mentioned in the documentation is showing the following error.

Package 'panda_moveit_config' not found

Your environment

Steps to reproduce

sjahr commented 1 year ago

Oh, that seems to be a bug. The package name should be moveit_resources_panda_moveit_config. Can you try running

ros2 launch moveit_resources_panda_moveit_config demo.launch.py
ravijo commented 1 year ago

Can you try running

ros2 launch moveit_resources_panda_moveit_config demo.launch.py

It works in both Humble and Iron.

Please note that I had to add "Motion Planning" inside RViz by myself. After adding it to the display, I could see STOMP, but only in Iron. In the case of Humble, I could not see STOMP in the dropdown menu. Please see a screenshot of RViz shown in Iron below.

RViz

However, I still don't get the view of having a box in the scene, as shown in the documentation. I apologize if I am missing something.

sjahr commented 1 year ago

Yes, STOMP is not available in the humble debian release. You need to build moveit main on humble from source if you want to use STOMP there. We usually only backport bug fixes after a version is released to keep the API stable (see this blogpost for a more detailed explanation). However, since the STOMP ROS 2 port is unlikely to break the API you could consider back porting it yourself and contribute this back to upstream moveit2. We'd appreciate this contribution :smiley:

ravijo commented 1 year ago

@sjahr

Thank you so much for sharing a link to the MoveIt blog post. I didn't know such an excellent blog existed! Bookmarking the URL now :)

BTW the STOMP documentation shows a collision object (green box) and iterative trajectories for the arm. The command ros2 launch moveit_resources_panda_moveit_config demo.launch.py gets me to a different view. May I request you to provide your guidance to achieve it, please?