Skip to content

Commit

Permalink
ekf rng kin: reduce minimum rng variance
Browse files Browse the repository at this point in the history
  • Loading branch information
bresch committed Apr 7, 2022
1 parent 892a23a commit c4fb542
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/ekf2/EKF/ekf_helper.cpp
Expand Up @@ -1365,7 +1365,7 @@ float Ekf::getRngHeightVariance() const
{
const float dist_dependant_var = sq(_params.range_noise_scaler * _range_sensor.getDistBottom());
const float var = sq(_params.range_noise) + dist_dependant_var;
const float var_sat = fmaxf(var, 0.01f);
const float var_sat = fmaxf(var, 0.001f);
return var_sat;
}

Expand Down

0 comments on commit c4fb542

Please sign in to comment.