mirror of https://github.com/ArduPilot/ardupilot
Rover: failsafe clears rc-overrides
This commit is contained in:
parent
6167e6ac0b
commit
2408538bdf
|
@ -69,6 +69,10 @@ void Rover::failsafe_trigger(uint8_t failsafe_type, bool on)
|
||||||
control_mode != &mode_hold) {
|
control_mode != &mode_hold) {
|
||||||
failsafe.triggered = failsafe.bits;
|
failsafe.triggered = failsafe.bits;
|
||||||
gcs().send_text(MAV_SEVERITY_WARNING, "Failsafe trigger 0x%x", static_cast<uint32_t>(failsafe.triggered));
|
gcs().send_text(MAV_SEVERITY_WARNING, "Failsafe trigger 0x%x", static_cast<uint32_t>(failsafe.triggered));
|
||||||
|
|
||||||
|
// clear rc overrides
|
||||||
|
RC_Channels::clear_overrides();
|
||||||
|
|
||||||
switch (g.fs_action) {
|
switch (g.fs_action) {
|
||||||
case 0:
|
case 0:
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue