mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-29 16:43:33 +08:00
Mocap timestamp cleanup (#5021)
This commit is contained in:
@@ -47,7 +47,7 @@ int BlockLocalPositionEstimator::mocapMeasure(Vector<float, n_y_mocap> &y)
|
||||
y(Y_mocap_y) = _sub_mocap.get().y;
|
||||
y(Y_mocap_z) = _sub_mocap.get().z;
|
||||
_mocapStats.update(y);
|
||||
_time_last_mocap = _sub_mocap.get().timestamp_boot;
|
||||
_time_last_mocap = _sub_mocap.get().timestamp;
|
||||
return OK;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user