Skip to content

Is it possible to stop the robot in motion? #26

Answered by justagist
karlgrossmann asked this question in Q&A
Discussion options

You must be logged in to vote

Hi,
Thanks for your comments, and glad to hear you find the packages useful!

If you mean you want to stop a MoveIt plan that is being executed, this can be done using the stop() method of the corresponding MoveGroupCommander. If you are using FrankaROSInterface of PandaRobot interfaces, this can be done as follows: r.get_movegroup_interface().arm_group.stop() assuming r = panda_robot.PandaArm() or r = franka_interface.ArmInterface(). However, for this to work, the plan execution should be done in a non-blocking fashion (which is not the default behaviour).

By default all the direct move_to_* methods in ArmInterface and PandaRobot use blocking execution requests, which means the entire pla…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@karlgrossmann
Comment options

Answer selected by justagist
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants