Skip to content
Snippets Groups Projects
Commit adc9ed61 authored by Julian Oes's avatar Julian Oes Committed by Lorenz Meier
Browse files

commander: ignore arm/disarm in DO_SET_MODE cmd

According to https://github.com/mavlink/mavlink/pull/629 the mavlink
command DO_SET_MODE should only determine the mode but not the
armed/disarmed state, so the MAV_MODE_FLAG_SAFETY_ARMED bit should be
ignored.
Instead the mavlink command COMPONENT_ARM_DISARM should be used instead.

Therefore, the commander now ignores the arm/disarm bit.
parent f23b5e46
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment