MC gyro cutoffs - Reduce IMU_GYRO_CUTOFF to 30Hz and disable MC_DTERM_CUTOFF.

A low gyro cutoff is needed for most medium/large size drones as the structural natural and blade-pass frequencies are low.
A higher value is still desirable for small platforms surch as racers
or well isolated autopilots and should be tuned by the user.
Specific values for config files are untouched.
The cutoff filter for the D term is disabled here as the required
cutoff frequency for the default D term of the rate controller is higher
than the gyro cutoff. In that case, enabling the D term cutoff would
just add some undesired phase lag to the derivative.
This commit is contained in:
bresch
2019-05-03 09:43:46 +02:00
committed by Mathieu Bresciani
parent 72b898fbf6
commit 6d8d8e3c88
2 changed files with 2 additions and 2 deletions
@@ -547,7 +547,7 @@ PARAM_DEFINE_FLOAT(MC_TPA_RATE_D, 0.0f);
* @increment 10
* @group Multicopter Attitude Control
*/
PARAM_DEFINE_FLOAT(MC_DTERM_CUTOFF, 30.f);
PARAM_DEFINE_FLOAT(MC_DTERM_CUTOFF, 0.f);
/**
* Multicopter air-mode
+1 -1
View File
@@ -220,7 +220,7 @@ PARAM_DEFINE_INT32(SENS_EN_THERMAL, -1);
* @reboot_required true
* @group Sensors
*/
PARAM_DEFINE_FLOAT(IMU_GYRO_CUTOFF, 80.0f);
PARAM_DEFINE_FLOAT(IMU_GYRO_CUTOFF, 30.0f);
/**
* Driver level cutoff frequency for accel