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

Temp: Add sysid target to safety switch command #3176

Merged
merged 2 commits into from
Sep 22, 2023

Conversation

stephendade
Copy link
Contributor

Adds the target system id to the "safely switch" button.

Fixes issue when having multiple vehicles connected, pressing the "safety switch" button would not work.

@robertlong13
Copy link
Collaborator

The safety switch can be toggled from the actions tab these days instead of this window in the latest beta. Can you confirm that's working as expected with multiple vehicles?

@stephendade
Copy link
Contributor Author

The safety switch can be toggled from the actions tab these days instead of this window in the latest beta. Can you confirm that's working as expected with multiple vehicles?

I've now fixed that too.

The background here is Mission Planner sends out both the COMMAND_LONG and SET_MODE MAVLink messages for the safety switch. COMMAND_LONG has the correct target sysid, but SET_MODE does not.

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.

3 participants