ATT_VIBE_THRESH param: move the definition of this param to sensors

since it's only used in sensors module (otherwise it could get pruned)
This commit is contained in:
Beat Küng 2017-02-25 07:07:14 +01:00 committed by Lorenz Meier
parent 3cc1c9d0a9
commit f43f3baa02
2 changed files with 10 additions and 10 deletions

View File

@ -134,13 +134,3 @@ PARAM_DEFINE_INT32(ATT_ACC_COMP, 1);
* @decimal 3 * @decimal 3
*/ */
PARAM_DEFINE_FLOAT(ATT_BIAS_MAX, 0.05f); PARAM_DEFINE_FLOAT(ATT_BIAS_MAX, 0.05f);
/**
* Threshold (of RMS) to warn about high vibration levels
*
* @group Attitude Q estimator
* @min 0.01
* @max 10
* @decimal 2
*/
PARAM_DEFINE_FLOAT(ATT_VIBE_THRESH, 0.2f);

View File

@ -884,6 +884,16 @@ PARAM_DEFINE_INT32(SENS_EXT_MAG_ROT, 0);
*/ */
PARAM_DEFINE_INT32(SENS_EXT_MAG, 0); PARAM_DEFINE_INT32(SENS_EXT_MAG, 0);
/**
* Threshold (of RMS) to warn about high vibration levels
*
* @group Sensor Calibration
* @min 0.01
* @max 10
* @decimal 2
*/
PARAM_DEFINE_FLOAT(ATT_VIBE_THRESH, 0.2f);
/** /**
* RC Channel 1 Minimum * RC Channel 1 Minimum