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

Stop high level commander instead of disable #1298

Merged
merged 1 commit into from Jun 15, 2023

Conversation

krichardsson
Copy link
Contributor

This PR changes the behavior of the high level commander when receiving low level set points, for instance from an external script.

The new functionality is to stop the high level commander instead of disabling it. The difference is that when the high level commander is stopped, it will still send null set points to the system, while it is quiet when disabled.
This makes a difference if a user sends in some low level set points for a while, and then whants to go back to the high level commander by using the meta message to relax the set point priority. In the current implementation, the user must first re-start the high level commander and then relax the priority. With this PR, the high level commander will still run and produce null set points which means that the user can go back to the previous state by only relaxing priority.

@ataffanel ataffanel merged commit 41a9c97 into master Jun 15, 2023
23 checks passed
@ataffanel ataffanel deleted the krichardsson/hl-commander-prio branch June 15, 2023 13:18
@krichardsson krichardsson added bug and removed bug labels Jun 15, 2023
@krichardsson krichardsson added this to the next-release milestone Jun 15, 2023
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