mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-11-04 00:01:36 +08:00
Fixed delay calculation of laser
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user