From 25236f1f79ea784127c5427b4b213c35475d4baf Mon Sep 17 00:00:00 2001 From: Cameron Clough Date: Mon, 22 Aug 2022 16:23:36 -0700 Subject: [PATCH] sim: fix gps message (#25521) fix gps timestamp field renamed bug introduced in https://github.com/commaai/cereal/pull/341 old-commit-hash: f65547fbe25501c1f6a1f7d0397a266dffa0e0ff --- tools/sim/bridge.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/sim/bridge.py b/tools/sim/bridge.py index fa4ce2b41d..f008b9e716 100755 --- a/tools/sim/bridge.py +++ b/tools/sim/bridge.py @@ -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,