mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-22 09:28:58 +00: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