mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-08-21 00:03:45 +08:00
sim: fix gps message (#25521)
fix gps timestamp field renamed bug introduced in https://github.com/commaai/cereal/pull/341 old-commit-hash: f65547fbe25501c1f6a1f7d0397a266dffa0e0ff
This commit is contained in:
+1
-1
@@ -179,7 +179,7 @@ def gps_callback(gps, vehicle_state):
|
||||
]
|
||||
|
||||
dat.gpsLocationExternal = {
|
||||
"timestamp": int(time.time() * 1000),
|
||||
"unixTimestampMillis": int(time.time() * 1000),
|
||||
"flags": 1, # valid fix
|
||||
"accuracy": 1.0,
|
||||
"verticalAccuracy": 1.0,
|
||||
|
||||
Reference in New Issue
Block a user