mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-10 06:39:25 +08:00
adc9ed61b8
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.