diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2014-09-06 15:32:12 +0200 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2014-09-06 15:32:12 +0200 |
commit | dbe35d64ca4288de551ec11b4d5bff43650e8012 (patch) | |
tree | f55a07a9b88da556143b360b955618284a744ec9 /src | |
parent | 3684bf71d5068a03587005ba365c8705e327e936 (diff) | |
download | px4-firmware-dbe35d64ca4288de551ec11b4d5bff43650e8012.tar.gz px4-firmware-dbe35d64ca4288de551ec11b4d5bff43650e8012.tar.bz2 px4-firmware-dbe35d64ca4288de551ec11b4d5bff43650e8012.zip |
Fixed delay calculation of laser
Diffstat (limited to 'src')
-rw-r--r-- | src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp b/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp index 97abb76a9..2c50e5c75 100644 --- a/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp +++ b/src/modules/ekf_att_pos_estimator/ekf_att_pos_estimator_main.cpp @@ -1369,7 +1369,7 @@ FixedwingEstimator::task_main() if (newRangeData) { _ekf->fuseRngData = true; _ekf->useRangeFinder = true; - _ekf->RecallStates(_ekf->statesAtRngTime, (IMUmsec - 500.0f)); + _ekf->RecallStates(_ekf->statesAtRngTime, (IMUmsec - 100.0f)); _ekf->GroundEKF(); } |