Browse Source

Fixed delay calculation of laser

sbg
Lorenz Meier 11 years ago
parent
commit
dbe35d64ca
  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

@ -1369,7 +1369,7 @@ FixedwingEstimator::task_main()
if (newRangeData) { if (newRangeData) {
_ekf->fuseRngData = true; _ekf->fuseRngData = true;
_ekf->useRangeFinder = true; _ekf->useRangeFinder = true;
_ekf->RecallStates(_ekf->statesAtRngTime, (IMUmsec - 500.0f)); _ekf->RecallStates(_ekf->statesAtRngTime, (IMUmsec - 100.0f));
_ekf->GroundEKF(); _ekf->GroundEKF();
} }

Loading…
Cancel
Save