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

Show supervisor info #682

Merged
merged 2 commits into from
Oct 17, 2023
Merged

Show supervisor info #682

merged 2 commits into from
Oct 17, 2023

Conversation

krichardsson
Copy link
Contributor

This PR adds a field in the flight tab that indicates the state of the supervisor. If the Crazyflie is locked the color of the field is red to clearly show why flight is not possible

@knmcguire knmcguire linked an issue Oct 16, 2023 that may be closed by this pull request
self._supervisor_state.setText("Tumbled")

if self._is_locked():
self._supervisor_state.setText("Locked - reboot")
Copy link
Contributor

Choose a reason for hiding this comment

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

I tried this and the wording was a bit confusing. as it sseemed like it was locked and then was going to reboot by itself. It doesn't incite an action.

Perhaps 'Locked - please reboot' or someting?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Good point!
The space is limited though, the best I can come up with that fits is "Locked-pls reboot"

Copy link
Member

Choose a reason for hiding this comment

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

I like the please part but perhaps something like "Locked -> reboot" looks better? That is not so clear that an action is needed though.

@krichardsson
Copy link
Contributor Author

Requires bitcraze/crazyflie-firmware#1326

@knmcguire knmcguire merged commit 4edd71a into master Oct 17, 2023
@knmcguire knmcguire deleted the krichardsson/issue-668 branch October 17, 2023 11:01
@krichardsson krichardsson added this to the next-release milestone Oct 17, 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.

Visualize if Crazyflie supervisor is locked
3 participants