-
Notifications
You must be signed in to change notification settings - Fork 0
Unable to run and debug panda compl_planner_example #1
Comments
Hello, thank you for trying out the code. The error you showed is caused by the fact that it is looking for a plugin called But with that problem solved I would expect it is very likely that you encounter other problems. For example, the position might be infeasible for the panda robot. Feel free to submit pull requests to clean up the code :) I shifted my attention to the new implementation, elion, which in itself was preparation for hopefully adding it to MoveIt in the near future... (Debugging tips follow in the next message.) |
Debugging in VSCode First, make sure you build the workspace in debug mode by doing: catkin config --cmake-args -DCMAKE_BUILD_TYPE=Debug before I create a launch file that runs the node I want to debug, for example: <launch>
<node name="planning_plugin_examples" pkg="planning_plugin_examples" type="compl_planner_example" output="screen"/>
</launch> Then I use the ROS extension. In the debug tab you can go {
"name": "ROS: Launch",
"type": "ros",
"request": "launch",
"target": "absolute path to launch file"
} Where you have to put the absolute path to the launch file in the Now you should be able to add breakpoints and launch the debugger. For more details, see the documentation of the ROS extension. |
Thanks for the detailed answers and your work that will surely help the ROS Industrial community. In the end I tried you recent tutorial on planning with OMPL constrained state space and it worked. Do I understand well that elion repo was some preliminary work to get constrained state space planning working in MoveIt. Else what is the aim of it? |
I'm glad to hear you tried it out and it worked! It is not always easy to predict whether something that works on my computer also works for others. (Although the CI helps.)
Exactly :) With the MoveIt integrated version you can also plan to pose goals and do other types of planning with the same plugin. (The constrained planning will only be selected if there is a single position or orientation path constraint. Elion, however, still contains more types of constraints, so there is still work to be done. See for example this issue. |
I'm archiving this repository to make it clear that it is outdated. |
Hi,
Trying to run following in an Ubuntu VirtualBox:
~/planning_ws$ rosrun planning_plugin_examples compl_planner_example
I am getting following error:
Any hint?
I am also unable to debug any MoveIt tutorial via launch file in Visual Studio Code. How did you manage to get debugging work? Do you have an example of a working launch.json file?
The text was updated successfully, but these errors were encountered: