mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-11-25 08:40:30 +08:00
geo: remove dependency on drv_hrt time driver
This commit is contained in:
1 parent
f971c0e617
commit
fd04ece6d4
9 files changed
+13
-34
No files matched your search
@@ -580,7 +580,7 @@ void SimulatorMavlink::handle_message_hil_state_quaternion(const mavlink_message
|
||||
double lon = hil_state.lon * 1e-7;
|
||||
|
||||
if (!_global_local_proj_ref.isInitialized()) {
|
||||
_global_local_proj_ref.initReference(lat, lon);
|
||||
_global_local_proj_ref.initReference(lat, lon, timestamp);
|
||||
_global_local_alt0 = hil_state.alt / 1000.f;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user