fix regen: specify frame timestamps for modeld (#24200)

* grab main frames when not using extra

* the actual fix
old-commit-hash: 5159878389
vw-mqb-aeb
Shane Smiskol 3 years ago committed by GitHub
parent 3789587df1
commit b19f30f229
  1. 2
      selfdrive/test/process_replay/regen.py

@ -134,6 +134,8 @@ def replay_cameras(lr, frs):
m = messaging.new_message(s) m = messaging.new_message(s)
msg = getattr(m, s) msg = getattr(m, s)
msg.frameId = rk.frame msg.frameId = rk.frame
msg.timestampSof = m.logMonoTime
msg.timestampEof = m.logMonoTime
pm.send(s, m) pm.send(s, m)
vipc_server.send(stream, img, msg.frameId, msg.timestampSof, msg.timestampEof) vipc_server.send(stream, img, msg.frameId, msg.timestampSof, msg.timestampEof)

Loading…
Cancel
Save