Browse Source

Model specific param meta data

sbg
sander 9 years ago committed by Lorenz Meier
parent
commit
f6cb253d41
  1. 3
      src/modules/vtol_att_control/standard_params.c
  2. 5
      src/modules/vtol_att_control/tailsitter_params.c
  3. 29
      src/modules/vtol_att_control/tiltrotor_params.c

3
src/modules/vtol_att_control/standard_params.c

@ -42,8 +42,11 @@ @@ -42,8 +42,11 @@
/**
* Target throttle value for pusher/puller motor during the transition to fw mode
*
* @unit percentage
* @min 0.0
* @max 1.0
* @increment 0.01
* @decimal 3
* @group VTOL Attitude Control
*/
PARAM_DEFINE_FLOAT(VT_TRANS_THR, 0.6f);

5
src/modules/vtol_att_control/tailsitter_params.c

@ -47,8 +47,11 @@ @@ -47,8 +47,11 @@
* 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
* @min 0.1
* @max 2
* @max 5.0
* @increment 0.01
* @decimal 3
* @group VTOL Attitude Control
PARAM_DEFINE_FLOAT(VT_TRANS_P2_DUR, 0.5f);*/

29
src/modules/vtol_att_control/tiltrotor_params.c

@ -43,10 +43,11 @@ @@ -43,10 +43,11 @@
/**
* Position of tilt servo in mc mode
*
* Position of tilt servo in mc mode
*
* @unit percentage
* @min 0.0
* @max 1
* @max 1.0
* @increment 0.01
* @decimal 3
* @group VTOL Attitude Control
*/
PARAM_DEFINE_FLOAT(VT_TILT_MC, 0.0f);
@ -54,10 +55,11 @@ 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
*
* @unit percentage
* @min 0.0
* @max 1
* @max 1.0
* @increment 0.01
* @decimal 3
* @group VTOL Attitude Control
*/
PARAM_DEFINE_FLOAT(VT_TILT_TRANS, 0.3f);
@ -65,10 +67,11 @@ 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
*
* @unit percentage
* @min 0.0
* @max 1
* @max 1.0
* @increment 0.01
* @decimal 3
* @group VTOL Attitude Control
*/
PARAM_DEFINE_FLOAT(VT_TILT_FW, 1.0f);
@ -79,8 +82,11 @@ 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
* when the plane has picked up enough airspeed and is ready to go into fixed wind mode.
*
* @unit seconds
* @min 0.1
* @max 2
* @max 5.0
* @increment 0.01
* @decimal 3
* @group VTOL Attitude Control
*/
PARAM_DEFINE_FLOAT(VT_TRANS_P2_DUR, 0.5f);
@ -89,8 +95,11 @@ 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.
*
*
* @unit
* @min 0
* @max 12345678
* @increment 1
* @decimal 0
* @group VTOL Attitude Control
*/
PARAM_DEFINE_INT32(VT_FW_MOT_OFFID, 0);

Loading…
Cancel
Save