mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-21 21:55:34 +08:00
mavlink: expose kill switch status
This commit is contained in:
committed by
Daniel Agar
parent
d0fd60de8d
commit
c302514a08
@@ -3972,6 +3972,7 @@ protected:
|
||||
msg.buttons |= (manual_control_setpoint.loiter_switch << (shift * 3));
|
||||
msg.buttons |= (manual_control_setpoint.acro_switch << (shift * 4));
|
||||
msg.buttons |= (manual_control_setpoint.offboard_switch << (shift * 5));
|
||||
msg.buttons |= (manual_control_setpoint.kill_switch << (shift * 6));
|
||||
|
||||
mavlink_msg_manual_control_send_struct(_mavlink->get_channel(), &msg);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user