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:
Silvan Fuhrer
2023-04-18 11:18:19 +02:00
committed by Beat Küng
parent f2c392e187
commit cbbd514c1b
7 changed files with 4 additions and 9 deletions
@@ -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.