mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-04 03:10:36 +08:00
navigator: add failure enum
This commit is contained in:
committed by
Mathieu Bresciani
parent
25fcb3c913
commit
4ed3e9e210
@@ -164,7 +164,7 @@ void RtlDirect::set_rtl_item()
|
||||
mavlink_log_info(_navigator->get_mavlink_log_pub(), "RTL: return alt higher than max HAGL\t");
|
||||
events::send(events::ID("rtl_fail_max_hagl"), events::Log::Error, "RTL: return alt higher than max HAGL");
|
||||
|
||||
_navigator->trigger_failsafe(getNavigatorStateId());
|
||||
_navigator->trigger_hagl_failsafe(getNavigatorStateId());
|
||||
_rtl_state = RTLState::IDLE;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user