mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
att pos estimator: Use float constant where it should be float.
This commit is contained in:
parent
cfc6c234b8
commit
aca9b138b7
@ -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…
x
Reference in New Issue
Block a user