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

Revision history [back]

For #2, you can save your plan to a variable once it's been made and execute it again.

In the python moveit commander interface you can use the "plan()" function from the move_group node which returns a plan that can be saved to a variable. For reference - https://github.com/ros-planning/moveit/blob/kinetic-devel/moveit_commander/src/moveit_commander/move_group.py#L434

You can then call the "execute(plan)" function from the move_group node to execute a previously planned path. For reference - https://github.com/ros-planning/moveit/blob/kinetic-devel/moveit_commander/src/moveit_commander/move_group.py#L458