vtol_att_control param @unit

This commit is contained in:
Daniel Agar
2016-03-14 09:12:34 +01:00
committed by Lorenz Meier
parent 8f80b210b6
commit 0049022239
4 changed files with 22 additions and 49 deletions
@@ -42,7 +42,7 @@
/**
* Target throttle value for pusher/puller motor during the transition to fw mode
*
* @unit percentage
* @unit
* @min 0.0
* @max 1.0
* @increment 0.01
@@ -47,7 +47,7 @@
* 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.
*
* @unit seconds
* @unit s
* @min 0.1
* @max 5.0
* @increment 0.01
@@ -55,5 +55,3 @@
* @group VTOL Attitude Control
PARAM_DEFINE_FLOAT(VT_TRANS_P2_DUR, 0.5f);*/
@@ -43,7 +43,7 @@
/**
* Position of tilt servo in mc mode
*
* @unit percentage
* @unit
* @min 0.0
* @max 1.0
* @increment 0.01
@@ -55,7 +55,7 @@ PARAM_DEFINE_FLOAT(VT_TILT_MC, 0.0f);
/**
* Position of tilt servo in transition mode
*
* @unit percentage
* @unit
* @min 0.0
* @max 1.0
* @increment 0.01
@@ -67,7 +67,7 @@ PARAM_DEFINE_FLOAT(VT_TILT_TRANS, 0.3f);
/**
* Position of tilt servo in fw mode
*
* @unit percentage
* @unit
* @min 0.0
* @max 1.0
* @increment 0.01
@@ -82,7 +82,7 @@ PARAM_DEFINE_FLOAT(VT_TILT_FW, 1.0f);
* 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.
*
* @unit seconds
* @unit s
* @min 0.1
* @max 5.0
* @increment 0.01
@@ -94,7 +94,6 @@ PARAM_DEFINE_FLOAT(VT_TRANS_P2_DUR, 0.5f);
/**
* The channel number of motors that must be turned off in fixed wing mode.
*
*
* @unit
* @min 0
* @max 12345678
@@ -42,7 +42,7 @@
/**
* VTOL number of engines
*
* @unit amount
* @unit
* @min 0
* @max 8
* @increment 1
@@ -54,7 +54,7 @@ PARAM_DEFINE_INT32(VT_MOT_COUNT, 0);
/**
* Idle speed of VTOL when in multicopter mode
*
* @unit pulse-width
* @unit us
* @min 900
* @max 2000
* @increment 1
@@ -111,12 +111,7 @@ PARAM_DEFINE_FLOAT(VT_MC_ARSPD_TRIM, 10.0f);
* If set to one this parameter will cause permanent attitude stabilization in fw mode.
* This parameter has been introduced for pure convenience sake.
*
* @unit enum
* @value 0 Disabled
* @value 1 Enabled
* @min 0
* @max 1
* @decimal 0
* @unit boolean
* @group VTOL Attitude Control
*/
PARAM_DEFINE_INT32(VT_FW_PERM_STAB, 0);
@@ -126,7 +121,7 @@ PARAM_DEFINE_INT32(VT_FW_PERM_STAB, 0);
*
* This parameter allows to adjust the neutral elevon position in fixed wing mode.
*
* @unit percentage
* @unit
* @min -1.0
* @max 1.0
* @increment 0.01
@@ -141,7 +136,7 @@ PARAM_DEFINE_FLOAT(VT_FW_PITCH_TRIM, 0.0f);
* Indicates the maximum power the motor is able to produce. Used to calculate
* propeller efficiency map.
*
* @unit watt
* @unit W
* @min 1
* @max 10000
* @increment 1
@@ -155,7 +150,7 @@ PARAM_DEFINE_FLOAT(VT_POWER_MAX, 120.0f);
*
* Influences propeller efficiency at different power settings. Should be tuned beforehand.
*
* @unit percentage
* @unit
* @min 0.0
* @max 1.0
* @increment 0.01
@@ -169,7 +164,7 @@ PARAM_DEFINE_FLOAT(VT_PROP_EFF, 0.0f);
*
* Gain for tuning the low-pass filter for the total airspeed estimate
*
* @unit percentage
* @unit
* @min 0.0
* @max 1.0
* @increment 0.01
@@ -197,12 +192,7 @@ PARAM_DEFINE_INT32(VT_TYPE, 0);
*
* If set to 1 the elevons are locked in multicopter mode
*
* @unit enum
* @value 0 Disabled
* @value 1 Enabled
* @min 0
* @max 1
* @decimal 0
* @unit boolean
* @group VTOL Attitude Control
*/
PARAM_DEFINE_INT32(VT_ELEV_MC_LOCK, 0);
@@ -212,7 +202,7 @@ PARAM_DEFINE_INT32(VT_ELEV_MC_LOCK, 0);
*
* Time in seconds used for a transition
*
* @unit seconds
* @unit s
* @min 0.00
* @max 10.00
* @increment 1
@@ -226,7 +216,7 @@ PARAM_DEFINE_FLOAT(VT_F_TRANS_DUR, 3.0f);
*
* Time in seconds used for a back transition
*
* @unit seconds
* @unit s
* @min 0.00
* @max 10.00
* @increment 1
@@ -266,12 +256,7 @@ PARAM_DEFINE_FLOAT(VT_ARSP_TRANS, 10.0f);
/**
* Enable optimal recovery strategy for pitch-weak tailsitters
*
* @unit enum
* @value 0 Disabled
* @value 1 Enabled
* @min 0
* @max 1
* @decimal 0
* @unit boolean
* @group VTOL Attitude Control
*/
PARAM_DEFINE_INT32(VT_OPT_RECOV_EN, 0);
@@ -279,12 +264,7 @@ PARAM_DEFINE_INT32(VT_OPT_RECOV_EN, 0);
/**
* Enable weather-vane mode landings for missions
*
* @unit enum
* @value 0 Disabled
* @value 1 Enabled
* @min 0
* @max 1
* @decimal 0
* @unit boolean
* @group VTOL Attitude Control
*/
PARAM_DEFINE_INT32(VT_WV_LND_EN, 0);
@@ -295,7 +275,7 @@ PARAM_DEFINE_INT32(VT_WV_LND_EN, 0);
* The desired yawrate from the controller will be scaled in order to avoid
* yaw fighting against the wind.
*
* @unit percentage
* @unit
* @min 0.0
* @max 1.0
* @increment 0.01
@@ -307,12 +287,7 @@ PARAM_DEFINE_FLOAT(VT_WV_YAWR_SCL, 0.15f);
/**
* Enable weather-vane mode for loiter
*
* @unit enum
* @value 0 Disabled
* @value 1 Enabled
* @min 0
* @max 1
* @decimal 0
* @unit boolean
* @group VTOL Attitude Control
*/
PARAM_DEFINE_INT32(VT_WV_LTR_EN, 0);
@@ -322,7 +297,7 @@ PARAM_DEFINE_INT32(VT_WV_LTR_EN, 0);
*
* Time in seconds after which transition will be cancelled. Disabled if set to 0.
*
* @unit seconds
* @unit s
* @min 0.00
* @max 30.00
* @increment 1
@@ -336,6 +311,7 @@ PARAM_DEFINE_FLOAT(VT_TRANS_TIMEOUT, 15.0f);
*
* Minimum time in seconds for front transition.
*
* @unit s
* @min 0.0
* @max 10.0
* @group VTOL Attitude Control