mirror of
https://github.com/okalachev/flix.git
synced 2026-01-08 20:16:49 +00:00
Rename gyroCalibrationFilter to gyroBiasFilter
Which seems a better name
This commit is contained in:
@@ -53,8 +53,8 @@ void calibrateGyroOnce() {
|
||||
static Delay landedDelay(2);
|
||||
if (!landedDelay.update(landed)) return; // calibrate only if definitely stationary
|
||||
|
||||
static LowPassFilter<Vector> gyroCalibrationFilter(0.001);
|
||||
gyroBias = gyroCalibrationFilter.update(gyro);
|
||||
static LowPassFilter<Vector> gyroBiasFilter(0.001);
|
||||
gyroBias = gyroBiasFilter.update(gyro);
|
||||
}
|
||||
|
||||
void calibrateAccel() {
|
||||
|
||||
Reference in New Issue
Block a user