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

Remove "charger connected" from supervisor #1285

Merged
merged 6 commits into from
May 24, 2023

Conversation

krichardsson
Copy link
Contributor

Currently the supervisor checks if we are connected to a chargers, the idea being that we should not try to fly when connected to USB.

The problem is that It is not possible to detect if a USB cable is connected (due to hardware) and currently the check actually means something closer to "are we charging". The problem is that this also includes the Qi charger which prevents take-offs when charging on a charging pad.

This PR removes all charging related functionatlity from the supervisor.

The PR also includes some improved logging, including a dump of the supervisor state.

@krichardsson krichardsson merged commit cb1a5fa into master May 24, 2023
@krichardsson krichardsson deleted the krichardsson/supervisor-update branch May 24, 2023 13:16
@krichardsson krichardsson added this to the 2023.06 milestone Jul 3, 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.

1 participant