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

Disable automatically re-sending setpoints in offboard #2346

Open
hugh-cover-ms opened this issue Jul 8, 2024 · 1 comment
Open

Disable automatically re-sending setpoints in offboard #2346

hugh-cover-ms opened this issue Jul 8, 2024 · 1 comment
Labels

Comments

@hugh-cover-ms
Copy link

Is there a way to disable the MAVSDK offboard class from automatically re-sending setpoints?

It seems that this is done to bypass the fact that Px4 needs off-board setpoints to be minimally sent at 2Hz, however there is a good reason Px4 does that.
The current behaviour of MAVSDK can leave the drone mindlessly following the last setpoint if there is an unexpected fault on the companion computer. This is particularly a problem with velocity setpoints.

I guess I could modify the value of SEND_INTERVAL_S, but that seems like a less than optimal solution.

@julianoes
Copy link
Collaborator

if there is an unexpected fault on the companion computer.

What would that be? I feel like such a fault should not happen, and if it happens it should tear down MAVSDK cleanly.

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

No branches or pull requests

2 participants