Compute the timestamp of average sample correctly

This commit is contained in:
kamilritz
2020-01-21 10:09:48 +03:00
committed by Roman Bapst
parent 29c5954690
commit 4be9ae8029
3 changed files with 11 additions and 8 deletions
+5 -5
View File
@@ -343,11 +343,11 @@ struct parameters {
int32_t valid_timeout_max{5000000}; ///< amount of time spent inertial dead reckoning before the estimator reports the state estimates as invalid (uSec)
// static barometer pressure position error coefficient along body axes
float static_pressure_coef_xp {0.0f};
float static_pressure_coef_xn {0.0f};
float static_pressure_coef_yp {0.0f};
float static_pressure_coef_yn {0.0f};
float static_pressure_coef_z {0.0f};
float static_pressure_coef_xp {0.0f}; // (-)
float static_pressure_coef_xn {0.0f}; // (-)
float static_pressure_coef_yp {0.0f}; // (-)
float static_pressure_coef_yn {0.0f}; // (-)
float static_pressure_coef_z {0.0f}; // (-)
// upper limit on airspeed used for correction (m/s**2)
float max_correction_airspeed {20.0f};