Get Safety Switch Position via MAVLink

Is there a way to get whether or not the safety switch has been push via mavlink to a companion computer? Right now the only way I know of is to try to arm and if it hasn’t been pushed you get a statustext message saying it hasn’t been pushed, but that is clumsy. Is there a better way?

Yes, with the SYS_STATUS message. The MAV_SYS_STATUS_SENSOR_MOTOR_OUTPUTS will be present and healthy, but disabled when you haven’t pushed.

1 Like

Is there a way to get whether or nor the safety switch has been push via
mavlink to a companion computer? Right now the only way I know of is to try

Check the SYS_STATUS message:

Peter

1 Like