mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-04 08:31:35 +08:00
Navigator: re-introduce min loiter alt, but only apply it for Loiters w/o a specified altitude setpoint
Also applies to Loiters that are started due to the previous mode being over (Takeoff, VTOL_Takeoff, Mission). Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
committed by
Daniel Agar
parent
8157d83bfc
commit
9cd3eae0aa
@@ -161,3 +161,19 @@ PARAM_DEFINE_FLOAT(NAV_TRAFF_A_RADU, 10);
|
||||
* @group Mission
|
||||
*/
|
||||
PARAM_DEFINE_INT32(NAV_FORCE_VT, 1);
|
||||
|
||||
/**
|
||||
* Minimum Loiter altitude
|
||||
*
|
||||
* This is the minimum altitude above Home the system will always obey in Loiter (Hold) mode if switched into this
|
||||
* mode without specifying an altitude (e.g. through Loiter switch on RC).
|
||||
* Doesn't affect Loiters that are part of Missions or that are entered through a reposition setpoint ("Go to").
|
||||
* Set to a negative value to disable.
|
||||
*
|
||||
* @unit m
|
||||
* @min -1
|
||||
* @decimal 1
|
||||
* @increment 0.5
|
||||
* @group Mission
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(NAV_MIN_LTR_ALT, -1.f);
|
||||
|
||||
Reference in New Issue
Block a user