ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to use get_planning_pipeline_id?

asked 2021-07-06 06:36:11 -0600

lorepieri gravatar image

How should I use get_planning_pipeline_id? It is not clear what I should input as planning_pipeline, an example in python would be appreciated.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2021-07-06 06:51:38 -0600

fvd gravatar image

You need to set both the planning_pipeline_id and the planner_id. You can easily check the available pipelines and the planners of each pipeline in the RViz Motion Planning plugin, in the Context tab.

Example Python code:

group = moveit_commander.MoveGroupCommander("your_planning_group")
group.set_planning_pipeline_id("pilz_industrial_motion_planner")
group.set_planner_id("LIN")
[...]
group.set_pose_target(your_pose)
group.go()

If only one pipeline is available, you should regenerate your moveit_config package.

edit flag offensive delete link more

Comments

What about the getter (get_planning_pipeline_id)? Why it requires planning_pipeline as parameter, if I just want to get? Is it perhaps a bug in the implementation?

lorepieri gravatar image lorepieri  ( 2021-07-06 10:26:51 -0600 )edit

Yes, that's a bug. It will be fixed shortly.

fvd gravatar image fvd  ( 2021-07-06 23:03:02 -0600 )edit

Got it, thanks. I'm opening an issue on moveit to track this.

lorepieri gravatar image lorepieri  ( 2021-07-07 03:29:54 -0600 )edit

It's fixed.

fvd gravatar image fvd  ( 2021-07-09 00:01:15 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2021-07-06 06:36:11 -0600

Seen: 179 times

Last updated: Jul 06 '21