mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-27 23:23:33 +08:00
navigator: check hagl failsafe centrally
This commit is contained in:
committed by
Mathieu Bresciani
parent
4f66410d24
commit
ea673b0b5b
@@ -283,10 +283,12 @@ void RTL::on_active()
|
||||
case RtlType::RTL_MISSION_FAST_REVERSE:
|
||||
case RtlType::RTL_DIRECT_MISSION_LAND:
|
||||
_rtl_mission_type_handle->on_active();
|
||||
_rtl_mission_type_handle->updateFailsafeChecks();
|
||||
break;
|
||||
|
||||
case RtlType::RTL_DIRECT:
|
||||
_rtl_direct.on_active();
|
||||
_rtl_direct.updateFailsafeChecks();
|
||||
break;
|
||||
|
||||
default:
|
||||
|
||||
Reference in New Issue
Block a user