|
|
@ -43,10 +43,11 @@ |
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Position of tilt servo in mc mode |
|
|
|
* Position of tilt servo in mc mode |
|
|
|
* |
|
|
|
* |
|
|
|
* Position of tilt servo in mc mode |
|
|
|
* @unit percentage |
|
|
|
* |
|
|
|
|
|
|
|
* @min 0.0 |
|
|
|
* @min 0.0 |
|
|
|
* @max 1 |
|
|
|
* @max 1.0 |
|
|
|
|
|
|
|
* @increment 0.01 |
|
|
|
|
|
|
|
* @decimal 3 |
|
|
|
* @group VTOL Attitude Control |
|
|
|
* @group VTOL Attitude Control |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
PARAM_DEFINE_FLOAT(VT_TILT_MC, 0.0f); |
|
|
|
PARAM_DEFINE_FLOAT(VT_TILT_MC, 0.0f); |
|
|
@ -54,10 +55,11 @@ PARAM_DEFINE_FLOAT(VT_TILT_MC, 0.0f); |
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Position of tilt servo in transition mode |
|
|
|
* Position of tilt servo in transition mode |
|
|
|
* |
|
|
|
* |
|
|
|
* Position of tilt servo in transition mode |
|
|
|
* @unit percentage |
|
|
|
* |
|
|
|
|
|
|
|
* @min 0.0 |
|
|
|
* @min 0.0 |
|
|
|
* @max 1 |
|
|
|
* @max 1.0 |
|
|
|
|
|
|
|
* @increment 0.01 |
|
|
|
|
|
|
|
* @decimal 3 |
|
|
|
* @group VTOL Attitude Control |
|
|
|
* @group VTOL Attitude Control |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
PARAM_DEFINE_FLOAT(VT_TILT_TRANS, 0.3f); |
|
|
|
PARAM_DEFINE_FLOAT(VT_TILT_TRANS, 0.3f); |
|
|
@ -65,10 +67,11 @@ PARAM_DEFINE_FLOAT(VT_TILT_TRANS, 0.3f); |
|
|
|
/**
|
|
|
|
/**
|
|
|
|
* Position of tilt servo in fw mode |
|
|
|
* Position of tilt servo in fw mode |
|
|
|
* |
|
|
|
* |
|
|
|
* Position of tilt servo in fw mode |
|
|
|
* @unit percentage |
|
|
|
* |
|
|
|
|
|
|
|
* @min 0.0 |
|
|
|
* @min 0.0 |
|
|
|
* @max 1 |
|
|
|
* @max 1.0 |
|
|
|
|
|
|
|
* @increment 0.01 |
|
|
|
|
|
|
|
* @decimal 3 |
|
|
|
* @group VTOL Attitude Control |
|
|
|
* @group VTOL Attitude Control |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
PARAM_DEFINE_FLOAT(VT_TILT_FW, 1.0f); |
|
|
|
PARAM_DEFINE_FLOAT(VT_TILT_FW, 1.0f); |
|
|
@ -79,8 +82,11 @@ PARAM_DEFINE_FLOAT(VT_TILT_FW, 1.0f); |
|
|
|
* Time in seconds it should take for the rotors to rotate forward completely from the point |
|
|
|
* Time in seconds it should take for the rotors to rotate forward completely from the point |
|
|
|
* when the plane has picked up enough airspeed and is ready to go into fixed wind mode. |
|
|
|
* when the plane has picked up enough airspeed and is ready to go into fixed wind mode. |
|
|
|
* |
|
|
|
* |
|
|
|
|
|
|
|
* @unit seconds |
|
|
|
* @min 0.1 |
|
|
|
* @min 0.1 |
|
|
|
* @max 2 |
|
|
|
* @max 5.0 |
|
|
|
|
|
|
|
* @increment 0.01 |
|
|
|
|
|
|
|
* @decimal 3 |
|
|
|
* @group VTOL Attitude Control |
|
|
|
* @group VTOL Attitude Control |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
PARAM_DEFINE_FLOAT(VT_TRANS_P2_DUR, 0.5f); |
|
|
|
PARAM_DEFINE_FLOAT(VT_TRANS_P2_DUR, 0.5f); |
|
|
@ -89,8 +95,11 @@ PARAM_DEFINE_FLOAT(VT_TRANS_P2_DUR, 0.5f); |
|
|
|
* The channel number of motors that must be turned off in fixed wing mode. |
|
|
|
* The channel number of motors that must be turned off in fixed wing mode. |
|
|
|
* |
|
|
|
* |
|
|
|
* |
|
|
|
* |
|
|
|
|
|
|
|
* @unit |
|
|
|
* @min 0 |
|
|
|
* @min 0 |
|
|
|
* @max 12345678 |
|
|
|
* @max 12345678 |
|
|
|
|
|
|
|
* @increment 1 |
|
|
|
|
|
|
|
* @decimal 0 |
|
|
|
* @group VTOL Attitude Control |
|
|
|
* @group VTOL Attitude Control |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
PARAM_DEFINE_INT32(VT_FW_MOT_OFFID, 0); |
|
|
|
PARAM_DEFINE_INT32(VT_FW_MOT_OFFID, 0); |
|
|
|