mirror of
https://github.com/okalachev/flix.git
synced 2026-06-28 05:56:44 +00:00
Reduce angle drift by adding level correction to the estimator
Leverage a priori knowledge that the drone's average attitude is level. Explanation: https://t.me/opensourcequadcopter/158.
This commit is contained in:
@@ -73,6 +73,7 @@ Parameter parameters[] = {
|
||||
{"IMU_GYRO_BIAS_A", &gyroBiasFilter.alpha},
|
||||
// estimate
|
||||
{"EST_ACC_WEIGHT", &accWeight},
|
||||
{"EST_LVL_WEIGHT", &levelWeight},
|
||||
{"EST_RATES_LPF_A", &ratesFilter.alpha},
|
||||
// motors
|
||||
{"MOT_PIN_FL", &motorPins[MOTOR_FRONT_LEFT], setupMotors},
|
||||
|
||||
Reference in New Issue
Block a user