Browse Source

IMU_GYRO_CUTOFF, IMU_ACCEL_CUTOFF: reduce minimum to 0, allowing to disable filtering

sbg
Beat Küng 7 years ago committed by Lorenz Meier
parent
commit
54d1395206
  1. 12
      src/modules/sensors/sensor_params.c

12
src/modules/sensors/sensor_params.c

@ -227,13 +227,13 @@ PARAM_DEFINE_FLOAT(SENS_BOARD_Z_OFF, 0.0f);
PARAM_DEFINE_INT32(SENS_EN_THERMAL, -1); PARAM_DEFINE_INT32(SENS_EN_THERMAL, -1);
/** /**
* Driver level cut frequency for gyro * Driver level cutoff frequency for gyro
* *
* The cut frequency for the 2nd order butterworth filter on the gyro driver. This features * The cutoff frequency for the 2nd order butterworth filter on the gyro driver. This features
* is currently supported by the mpu6000 and mpu9250. This only affects the signal sent to the * is currently supported by the mpu6000 and mpu9250. This only affects the signal sent to the
* controllers, not the estimators. 0 disables the filter. * controllers, not the estimators. 0 disables the filter.
* *
* @min 5 * @min 0
* @max 1000 * @max 1000
* @unit Hz * @unit Hz
* @reboot_required true * @reboot_required true
@ -242,13 +242,13 @@ PARAM_DEFINE_INT32(SENS_EN_THERMAL, -1);
PARAM_DEFINE_FLOAT(IMU_GYRO_CUTOFF, 30.0f); PARAM_DEFINE_FLOAT(IMU_GYRO_CUTOFF, 30.0f);
/** /**
* Driver level cut frequency for accel * Driver level cutoff frequency for accel
* *
* The cut frequency for the 2nd order butterworth filter on the accel driver. This features * The cutoff frequency for the 2nd order butterworth filter on the accel driver. This features
* is currently supported by the mpu6000 and mpu9250. This only affects the signal sent to the * is currently supported by the mpu6000 and mpu9250. This only affects the signal sent to the
* controllers, not the estimators. 0 disables the filter. * controllers, not the estimators. 0 disables the filter.
* *
* @min 5 * @min 0
* @max 1000 * @max 1000
* @unit Hz * @unit Hz
* @reboot_required true * @reboot_required true

Loading…
Cancel
Save