mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-22 10:23:34 +08:00
EKF: Code format fix - replace 1E-x with 1e-x
This commit is contained in:
committed by
Paul Riseborough
parent
e82d0af6d2
commit
f666ebb995
+1
-1
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user