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

Automatically begin or cancel idle behavior when commission changes #346

Merged
merged 1 commit into from
Apr 25, 2024

Conversation

mxgrey
Copy link
Contributor

@mxgrey mxgrey commented Apr 24, 2024

It was recently noticed that idle behavior will not be automatically cancelled when it gets toggled off during a commissioning change. It seems extremely unlikely that there will ever be a situation where someone wants the idle behavior to be decommissioned but does not want to cancel it. Also idle behavior is usually "hidden" so operators often don't have a way to explicitly ask for it to be cancelled.

This PR fixes the situation by automatically cancelling idle behavior if there is any idle behavior happening when idle behavior gets toggled off in a robot's commissioning. This PR also ensures that the idle behavior will begin automatically if the idle behavior gets toggled back on in a robot's commissioning.

Signed-off-by: Michael X. Grey <mxgrey@intrinsic.ai>
Copy link
Member

@aaronchongth aaronchongth left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for handling this behavior! LGTM

@mxgrey mxgrey merged commit 132e516 into main Apr 25, 2024
3 of 4 checks passed
@mxgrey mxgrey deleted the auto_manage_idle_behavior branch April 25, 2024 07:13
arjo129 pushed a commit that referenced this pull request Jun 7, 2024
…346)

Signed-off-by: Michael X. Grey <mxgrey@intrinsic.ai>
Signed-off-by: Arjo Chakravarty <arjoc@google.com>
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