Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decommissioning #233

Merged
merged 4 commits into from
Sep 16, 2022
Merged

Decommissioning #233

merged 4 commits into from
Sep 16, 2022

Conversation

mxgrey
Copy link
Contributor

@mxgrey mxgrey commented Sep 11, 2022

This PR adds an experimental API for "decommissioning" robots. After a robot is decommissioned it will no longer accept any new tasks. It will continue performing any tasks that have accumulated in its queue. To clear the tasks that are already in its queue, they will need to be explicitly canceled using the task API.

A decommissioned robot can use the recommission function at any time to resume accepting new tasks.

To have a robot immediately stop performing ongoing tasks, you must use the interrupt, cancel, or kill APIs.

Signed-off-by: Michael X. Grey <grey@openrobotics.org>
Signed-off-by: Michael X. Grey <grey@openrobotics.org>
@mxgrey mxgrey changed the title Decommission Decommissioning Sep 11, 2022
@luca-della-vedova luca-della-vedova merged commit 1a2a900 into main Sep 16, 2022
@luca-della-vedova luca-della-vedova deleted the decommission branch September 16, 2022 06:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants