diff options
author | Lorenz Meier <lorenz@px4.io> | 2015-03-03 18:33:11 +0100 |
---|---|---|
committer | Lorenz Meier <lorenz@px4.io> | 2015-03-03 18:33:11 +0100 |
commit | cf7f59e1f32977e49be9367b6441076ef77fa884 (patch) | |
tree | a3046e4f963bd458791ba3ff2aaf083a7173ef36 | |
parent | 0261f5dfbee1ee498c2b40acb6a2651664a367c1 (diff) | |
parent | dfd6be78bf4165d388bd073b28a54f6b7fb3300d (diff) | |
download | px4-firmware-cf7f59e1f32977e49be9367b6441076ef77fa884.tar.gz px4-firmware-cf7f59e1f32977e49be9367b6441076ef77fa884.tar.bz2 px4-firmware-cf7f59e1f32977e49be9367b6441076ef77fa884.zip |
Merge pull request #1874 from DonLakeFlyer/RCParams
Add RC_CHAN_CNT, RC_TH_USER for QGC
-rw-r--r-- | src/modules/sensors/sensor_params.c | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/src/modules/sensors/sensor_params.c b/src/modules/sensors/sensor_params.c index 5ec678033..272e4b14f 100644 --- a/src/modules/sensors/sensor_params.c +++ b/src/modules/sensors/sensor_params.c @@ -994,6 +994,36 @@ PARAM_DEFINE_FLOAT(BAT_C_SCALING, 0.0124); /* scaling for 3DR power brick */ /** + * RC channel count + * + * This parameter is used by Ground Station software to save the number + * of channels which were used during RC calibration. It is only meant + * for ground station use. + * + * @min 0 + * @max 18 + * @group Radio Calibration + */ + +PARAM_DEFINE_INT32(RC_CHAN_CNT, 0); + +/** + * RC mode switch threshold automaic distribution + * + * This parameter is used by Ground Station software to specify whether + * the threshold values for flight mode switches were automatically calculated. + * 0 indicates that the threshold values were set by the user. Any other value + * indicates that the threshold value where automatically set by the ground + * station software. It is only meant for ground station use. + * + * @min 0 + * @max 1 + * @group Radio Calibration + */ + +PARAM_DEFINE_INT32(RC_TH_USER, 1); + +/** * Roll control channel mapping. * * The channel index (starting from 1 for channel 1) indicates |