sim: fix gps message (#25521)

fix gps timestamp field renamed

bug introduced in https://github.com/commaai/cereal/pull/341
pull/25526/head
Cameron Clough 3 years ago committed by GitHub
parent 71e76c3d0f
commit f65547fbe2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      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,

Loading…
Cancel
Save