sensors: rc added low pass filter parameters

This commit is contained in:
Matthias Grob
2017-02-02 21:24:05 +01:00
committed by Lorenz Meier
parent c2be4b2b29
commit 81dcba3a2a
4 changed files with 42 additions and 0 deletions
+20
View File
@@ -3343,3 +3343,23 @@ PARAM_DEFINE_FLOAT(THR_MDL_FAC, 0.0f);
* @group PWM Outputs
*/
PARAM_DEFINE_FLOAT(MOT_SLEW_MAX, 0.0f);
/**
* Sample rate of the remote control values for the low pass filter on roll,pitch, yaw and throttle
*
* Has an influence on the cutoff frequency precision.
*
* @min 1.0
* @unit Hz
* @group Radio Calibration
*/
PARAM_DEFINE_FLOAT(RC_FLT_SMP_RATE, 50.0f);
/**
* Cutoff frequency for the low pass filter on roll,pitch, yaw and throttle
*
* @min 1.0
* @unit Hz
* @group Radio Calibration
*/
PARAM_DEFINE_FLOAT(RC_FLT_CUTOFF, 5.0f);