Parameter meta data fixes

This commit is contained in:
Don Gagne
2015-04-15 11:29:37 -07:00
parent d84ac41cd3
commit 05c351183f
10 changed files with 116 additions and 68 deletions
+41 -28
View File
@@ -1099,7 +1099,7 @@ PARAM_DEFINE_INT32(RC_MAP_YAW, 4);
*
* @min 0
* @max 18
* @group Radio Calibration
* @group Radio Switches
*/
PARAM_DEFINE_INT32(RC_MAP_MODE_SW, 0);
@@ -1108,7 +1108,7 @@ PARAM_DEFINE_INT32(RC_MAP_MODE_SW, 0);
*
* @min 0
* @max 18
* @group Radio Calibration
* @group Radio Switches
*/
PARAM_DEFINE_INT32(RC_MAP_RETURN_SW, 0);
@@ -1117,7 +1117,7 @@ PARAM_DEFINE_INT32(RC_MAP_RETURN_SW, 0);
*
* @min 0
* @max 18
* @group Radio Calibration
* @group Radio Switches
*/
PARAM_DEFINE_INT32(RC_MAP_POSCTL_SW, 0);
@@ -1126,7 +1126,7 @@ PARAM_DEFINE_INT32(RC_MAP_POSCTL_SW, 0);
*
* @min 0
* @max 18
* @group Radio Calibration
* @group Radio Switches
*/
PARAM_DEFINE_INT32(RC_MAP_LOITER_SW, 0);
@@ -1135,7 +1135,7 @@ PARAM_DEFINE_INT32(RC_MAP_LOITER_SW, 0);
*
* @min 0
* @max 18
* @group Radio Calibration
* @group Radio Switches
*/
PARAM_DEFINE_INT32(RC_MAP_ACRO_SW, 0);
@@ -1144,7 +1144,7 @@ PARAM_DEFINE_INT32(RC_MAP_ACRO_SW, 0);
*
* @min 0
* @max 18
* @group Radio Calibration
* @group Radio Switches
*/
PARAM_DEFINE_INT32(RC_MAP_OFFB_SW, 0);
@@ -1153,7 +1153,7 @@ PARAM_DEFINE_INT32(RC_MAP_OFFB_SW, 0);
*
* @min 0
* @max 18
* @group Radio Calibration
* @group Radio Switches
*/
PARAM_DEFINE_INT32(RC_MAP_FLAPS, 0);
@@ -1238,9 +1238,6 @@ PARAM_DEFINE_INT32(RC_FAILS_THR, 0);
/**
* Threshold for selecting assist mode
*
* min:-1
* max:+1
*
* 0-1 indicate where in the full channel range the threshold sits
* 0 : min
* 1 : max
@@ -1248,15 +1245,17 @@ PARAM_DEFINE_INT32(RC_FAILS_THR, 0);
* positive : true when channel>th
* negative : true when channel<th
*
* @min -1
* @max 1
* @group Radio Switches
*
*
*/
PARAM_DEFINE_FLOAT(RC_ASSIST_TH, 0.25f);
/**
* Threshold for selecting auto mode
*
* min:-1
* max:+1
*
* 0-1 indicate where in the full channel range the threshold sits
* 0 : min
* 1 : max
@@ -1264,15 +1263,17 @@ PARAM_DEFINE_FLOAT(RC_ASSIST_TH, 0.25f);
* positive : true when channel>th
* negative : true when channel<th
*
* @min -1
* @max 1
* @group Radio Switches
*
*
*/
PARAM_DEFINE_FLOAT(RC_AUTO_TH, 0.75f);
/**
* Threshold for selecting posctl mode
*
* min:-1
* max:+1
*
* 0-1 indicate where in the full channel range the threshold sits
* 0 : min
* 1 : max
@@ -1280,15 +1281,16 @@ PARAM_DEFINE_FLOAT(RC_AUTO_TH, 0.75f);
* positive : true when channel>th
* negative : true when channel<th
*
* @min -1
* @max 1
*
*
*/
PARAM_DEFINE_FLOAT(RC_POSCTL_TH, 0.5f);
/**
* Threshold for selecting return to launch mode
*
* min:-1
* max:+1
*
* 0-1 indicate where in the full channel range the threshold sits
* 0 : min
* 1 : max
@@ -1296,15 +1298,17 @@ PARAM_DEFINE_FLOAT(RC_POSCTL_TH, 0.5f);
* positive : true when channel>th
* negative : true when channel<th
*
* @min -1
* @max 1
* @group Radio Switches
*
*
*/
PARAM_DEFINE_FLOAT(RC_RETURN_TH, 0.5f);
/**
* Threshold for selecting loiter mode
*
* min:-1
* max:+1
*
* 0-1 indicate where in the full channel range the threshold sits
* 0 : min
* 1 : max
@@ -1312,15 +1316,17 @@ PARAM_DEFINE_FLOAT(RC_RETURN_TH, 0.5f);
* positive : true when channel>th
* negative : true when channel<th
*
* @min -1
* @max 1
* @group Radio Switches
*
*
*/
PARAM_DEFINE_FLOAT(RC_LOITER_TH, 0.5f);
/**
* Threshold for selecting acro mode
*
* min:-1
* max:+1
*
* 0-1 indicate where in the full channel range the threshold sits
* 0 : min
* 1 : max
@@ -1328,6 +1334,11 @@ PARAM_DEFINE_FLOAT(RC_LOITER_TH, 0.5f);
* positive : true when channel>th
* negative : true when channel<th
*
* @min -1
* @max 1
* @group Radio Switches
*
*
*/
PARAM_DEFINE_FLOAT(RC_ACRO_TH, 0.5f);
@@ -1335,9 +1346,6 @@ PARAM_DEFINE_FLOAT(RC_ACRO_TH, 0.5f);
/**
* Threshold for selecting offboard mode
*
* min:-1
* max:+1
*
* 0-1 indicate where in the full channel range the threshold sits
* 0 : min
* 1 : max
@@ -1345,5 +1353,10 @@ PARAM_DEFINE_FLOAT(RC_ACRO_TH, 0.5f);
* positive : true when channel>th
* negative : true when channel<th
*
* @min -1
* @max 1
* @group Radio Switches
*
*
*/
PARAM_DEFINE_FLOAT(RC_OFFB_TH, 0.5f);