EKF: Code format fix - replace 1E-x with 1e-x

This commit is contained in:
Paul Riseborough
2020-10-06 20:50:52 +11:00
committed by Paul Riseborough
parent e82d0af6d2
commit f666ebb995
11 changed files with 37 additions and 37 deletions
+1 -1
View File
@@ -79,7 +79,7 @@ void EKFGSF_yaw::update(const imuSample& imu_sample,
if (!bad_update) {
float total_weight = 0.0f;
// calculate weighting for each model assuming a normal distribution
const float min_weight = 1E-5f;
const float min_weight = 1e-5f;
uint8_t n_weight_clips = 0;
for (uint8_t model_index = 0; model_index < N_MODELS_EKFGSF; model_index ++) {
_model_weights(model_index) = gaussianDensity(model_index) * _model_weights(model_index);