Skip to content

Handling Overlapping Navigation Commands in RMF: Expected Client API Behavior #565

Answered by mxgrey
osama-z-salah asked this question in Q&A
Discussion options

You must be logged in to vote

Should the previous command be automatically canceled in favor of the new one

Yes, dropping the last command and beginning the new one as soon as possible is the intended behavior. Whatever last command RMF sent is the one that it wants you to follow right away, if possible.

However there are some situations where it is not feasible to have the robot immediately stop what it's doing. Certain actions like docking with a payload or entering a lift are sensitive operations which cannot be stopped once they start. In those cases, you should let the action finish and then trigger a replan on the RobotUpdateHandle if you received a request during the uninterruptible action.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by osama-z-salah
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