Browse Source

att pos estimator: Use float constant where it should be float.

sbg
Lorenz Meier 11 years ago
parent
commit
aca9b138b7
  1. 2
      src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp

2
src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp

@ -1085,7 +1085,7 @@ FixedwingEstimator::task_main() @@ -1085,7 +1085,7 @@ FixedwingEstimator::task_main()
float baro_elapsed = (_baro.timestamp - baro_last) / 1e6f;
_ekf->updateDtHgtFilt(math::constrain(baro_elapsed, 0.001f, 0.1));
_ekf->updateDtHgtFilt(math::constrain(baro_elapsed, 0.001f, 0.1f));
_ekf->baroHgt = _baro.altitude;

Loading…
Cancel
Save