mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-18 12:37:34 +08:00
VTOL: increase default of VT_B_TRANS_DUR to 10s
A default of 10s makes more sense compared to the old 4s, as this is only the max time of a back transition and it's also decleared completed if the speed drops below the hover cruising speed (MPC_XY_CRUISE). Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
@@ -77,9 +77,10 @@ PARAM_DEFINE_INT32(VT_ELEV_MC_LOCK, 1);
|
||||
PARAM_DEFINE_FLOAT(VT_F_TRANS_DUR, 5.0f);
|
||||
|
||||
/**
|
||||
* Duration of a back transition
|
||||
* Maximum duration of a back transition
|
||||
*
|
||||
* Time in seconds used for a back transition
|
||||
* Time in seconds used for a back transition maximally.
|
||||
* Transition is also declared over if the groundspeed drops below MPC_XY_CRUISE.
|
||||
*
|
||||
* @unit s
|
||||
* @min 0.1
|
||||
@@ -88,7 +89,7 @@ PARAM_DEFINE_FLOAT(VT_F_TRANS_DUR, 5.0f);
|
||||
* @decimal 2
|
||||
* @group VTOL Attitude Control
|
||||
*/
|
||||
PARAM_DEFINE_FLOAT(VT_B_TRANS_DUR, 4.0f);
|
||||
PARAM_DEFINE_FLOAT(VT_B_TRANS_DUR, 10.0f);
|
||||
|
||||
/**
|
||||
* Target throttle value for the transition to fixed-wing flight.
|
||||
|
||||
Reference in New Issue
Block a user