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

Easy Access to robot poses created using the MoveIt! Setup Assistant

asked 2017-01-31 11:15:26 -0500

R.Mehra gravatar image

Consider that I have set 3 different poses for my robot with different names and different joint values.

Now while using the MoveIt Setup Assistant I can add the 3 poses under the tab Robot Posesand click the button MoveIt! at the bottom of the Setup Assistant screen to see the robot change the poses.

I want to know how I can easily switch between the 3 poses when I am using the move_group_interface and the RViz plugin.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-01-31 11:58:37 -0500

gvdhoorn gravatar image

updated 2017-01-31 12:00:58 -0500

Those poses are called named targets.

Using them in C++: moveit::planning_interface::MoveGroup::setNamedTarget(const std::string &name).

In the RViz planning plugin: select them from the drop-down under Select Goal State on the Planning tab.

edit flag offensive delete link more


Is there a way to do the same thing with Python?

Jasmin gravatar image Jasmin  ( 2019-09-10 05:06:36 -0500 )edit

I believe it was added in ros-planning/moveit#1300.

gvdhoorn gravatar image gvdhoorn  ( 2019-09-10 06:14:21 -0500 )edit

Perfect! thank you @gvdhoorn .

Jasmin gravatar image Jasmin  ( 2019-09-10 08:00:11 -0500 )edit

Question Tools

1 follower


Asked: 2017-01-31 11:15:26 -0500

Seen: 1,282 times

Last updated: Jan 31 '17