aboutsummaryrefslogtreecommitdiff
path: root/src/modules/sensors/sensor_params.c
diff options
context:
space:
mode:
authorLorenz Meier <lorenz@px4.io>2015-01-01 18:15:28 +0100
committerLorenz Meier <lorenz@px4.io>2015-01-01 18:15:28 +0100
commita0e1255e288275ccfc50b33d4f10e539c4f6862f (patch)
tree5f1f590f6d4e95d99323a0f873874e6a93d1137a /src/modules/sensors/sensor_params.c
parenta7bc38869e2121b7f63e63e0fae4bfe4117a3315 (diff)
parentdd8dfc971cb459dbdc849a0f320431516625bfee (diff)
downloadpx4-firmware-a0e1255e288275ccfc50b33d4f10e539c4f6862f.tar.gz
px4-firmware-a0e1255e288275ccfc50b33d4f10e539c4f6862f.tar.bz2
px4-firmware-a0e1255e288275ccfc50b33d4f10e539c4f6862f.zip
Merge pull request #1543 from thomasgubler/rcparamtune
RC param tune
Diffstat (limited to 'src/modules/sensors/sensor_params.c')
-rw-r--r--src/modules/sensors/sensor_params.c35
1 files changed, 35 insertions, 0 deletions
diff --git a/src/modules/sensors/sensor_params.c b/src/modules/sensors/sensor_params.c
index 3c78b7b17..a065541b9 100644
--- a/src/modules/sensors/sensor_params.c
+++ b/src/modules/sensors/sensor_params.c
@@ -766,6 +766,41 @@ PARAM_DEFINE_INT32(RC_MAP_AUX2, 0); /**< default function: camera roll */
*/
PARAM_DEFINE_INT32(RC_MAP_AUX3, 0);
+/**
+ * Channel which changes a parameter
+ *
+ * Can be used for parameter tuning with the RC. This one is further referenced as the 1st parameter channel.
+ * Set to 0 to deactivate *
+ *
+ * @min 0
+ * @max 18
+ * @group Radio Calibration
+ */
+PARAM_DEFINE_INT32(RC_MAP_PARAM1, 0);
+
+/**
+ * Channel which changes a parameter
+ *
+ * Can be used for parameter tuning with the RC. This one is further referenced as the 2nd parameter channel.
+ * Set to 0 to deactivate *
+ *
+ * @min 0
+ * @max 18
+ * @group Radio Calibration
+ */
+PARAM_DEFINE_INT32(RC_MAP_PARAM2, 0);
+
+/**
+ * Channel which changes a parameter
+ *
+ * Can be used for parameter tuning with the RC. This one is further referenced as the 3th parameter channel.
+ * Set to 0 to deactivate *
+ *
+ * @min 0
+ * @max 18
+ * @group Radio Calibration
+ */
+PARAM_DEFINE_INT32(RC_MAP_PARAM3, 0);
/**
* Failsafe channel PWM threshold.