aboutsummaryrefslogtreecommitdiff
path: root/src/modules/sensors
diff options
context:
space:
mode:
authorDon Gagne <don@thegagnes.com>2015-04-15 11:29:37 -0700
committerDon Gagne <don@thegagnes.com>2015-04-15 11:29:37 -0700
commit05c351183f0425f1c4feba60bf68b28d73eee51f (patch)
treecedf4dde1f5b5a41fd26e7c060a4ce7d74cb8cd1 /src/modules/sensors
parentd84ac41cd355f6c907e0a6e71a1ee12536bfb95e (diff)
downloadpx4-firmware-05c351183f0425f1c4feba60bf68b28d73eee51f.tar.gz
px4-firmware-05c351183f0425f1c4feba60bf68b28d73eee51f.tar.bz2
px4-firmware-05c351183f0425f1c4feba60bf68b28d73eee51f.zip
Parameter meta data fixes
Diffstat (limited to 'src/modules/sensors')
-rw-r--r--src/modules/sensors/sensor_params.c69
1 files changed, 41 insertions, 28 deletions
diff --git a/src/modules/sensors/sensor_params.c b/src/modules/sensors/sensor_params.c
index 1acc14fc6..18e47865b 100644
--- a/src/modules/sensors/sensor_params.c
+++ b/src/modules/sensors/sensor_params.c
@@ -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);