mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-16 12:00:36 +08:00
Vehicle command for Prearm Safety button (#26079)
* added vehicle command and support to remotely activate/deactivate the safety system (#26078) * added print_status support for prearm safety status * updated safety button to map to MAV_CMD_DO_SET_SAFETY_SWITCH_STATE = '5300' * safety switch cmd: fixed incorrect catch-all and added commanded_state variable for easier reading
This commit is contained in:
@@ -49,6 +49,7 @@ public:
|
||||
|
||||
bool safetyButtonHandler();
|
||||
void activateSafety();
|
||||
void deactivateSafety();
|
||||
bool isButtonAvailable() const { return _button_available; }
|
||||
bool isSafetyOff() const { return _safety_off; }
|
||||
bool isSafetyDisabled() const { return _safety_disabled; }
|
||||
|
||||
Reference in New Issue
Block a user