mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 16:03:34 +08:00
VTOL force land even when transitioning to FW (#8958)
This commit is contained in:
committed by
Daniel Agar
parent
ff86d15c13
commit
2ef9c4ec35
@@ -1099,6 +1099,14 @@ Navigator::abort_landing()
|
||||
return should_abort;
|
||||
}
|
||||
|
||||
bool
|
||||
Navigator::force_vtol()
|
||||
{
|
||||
return _vstatus.is_vtol &&
|
||||
(!_vstatus.is_rotary_wing || _vstatus.in_transition_to_fw)
|
||||
&& _param_force_vtol.get();
|
||||
}
|
||||
|
||||
static void usage()
|
||||
{
|
||||
PX4_INFO("usage: navigator {start|stop|status|fencefile}");
|
||||
|
||||
Reference in New Issue
Block a user