mirror of
https://github.com/okalachev/flix.git
synced 2026-01-11 05:26:53 +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);
|
static Delay landedDelay(2);
|
||||||
if (!landedDelay.update(landed)) return; // calibrate only if definitely stationary
|
if (!landedDelay.update(landed)) return; // calibrate only if definitely stationary
|
||||||
|
|
||||||
static LowPassFilter<Vector> gyroCalibrationFilter(0.001);
|
static LowPassFilter<Vector> gyroBiasFilter(0.001);
|
||||||
gyroBias = gyroCalibrationFilter.update(gyro);
|
gyroBias = gyroBiasFilter.update(gyro);
|
||||||
}
|
}
|
||||||
|
|
||||||
void calibrateAccel() {
|
void calibrateAccel() {
|
||||||
|
|||||||
Reference in New Issue
Block a user