Rover: failsafe clears rc-overrides

This commit is contained in:
Randy Mackay 2018-10-31 14:33:29 +09:00
parent 6167e6ac0b
commit 2408538bdf
1 changed files with 4 additions and 0 deletions

View File

@ -69,6 +69,10 @@ void Rover::failsafe_trigger(uint8_t failsafe_type, bool on)
control_mode != &mode_hold) {
failsafe.triggered = failsafe.bits;
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) {
case 0:
break;