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

Add supervisor state reading interface #530

Open
gemenerik opened this issue Mar 19, 2025 · 0 comments
Open

Add supervisor state reading interface #530

gemenerik opened this issue Mar 19, 2025 · 0 comments

Comments

@gemenerik
Copy link
Member

Currently, the library does not provide direct access to the supervisor states, making it difficult to determine whether the drone is considered landed or flying. In the client, we work around this by performing a bitfield check on the supervisor states which we parse from log data, but having this functionality built into the library would make it much easier to use.

The lack of direct supervisor state access complicates certain behaviors, such as detecting when the drone has landed. For example: Right now, we must continuously send zero setpoints until we can safely assume the drone landed, since stopping setpoints prematurely can trigger a supervisor intervention. If the library exposed the supervisor states directly, we could make better-informed decisions based on the actual supervisor status.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant