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

Change Planner in MoveIt Python

asked 2017-02-28 04:15:33 -0500

Rhemus gravatar image

Hey guys, i want to change the default motion planner from OMPL in MoveIt to "PRMkConfigDefault". But how can i change for example the planner for planning my group: group = MoveGroupCommander("manipulator") in Python? Thanks for your answers! Im running ROS Indigo on Ubuntu 14.04.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2017-02-28 04:23:07 -0500

rbbg gravatar image

You can use the MoveGroupCommander.set_planner_id() function for this. Have a look at the API documentation

An example:

group = moveit_commander.MoveGroupCommander("manipulator")
group.set_planner_id("PRMkConfigDefault")

Good luck!

edit flag offensive delete link more

Comments

Thanks that worked well!

Rhemus gravatar image Rhemus  ( 2017-02-28 04:32:00 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2017-02-28 04:15:33 -0500

Seen: 2,133 times

Last updated: Feb 28 '17