      print("procs started")
  
      cal = [msg for msg in lr if msg.which() == "liveCalibration"]
      for msg in cal[:5]:
        pm.send(msg.which(), replace_calib(msg, calib))
  
      log_msgs = []
 
</s> remove       pm.send(msg.which(), msg.as_builder())
 </s> add       pm.send(msg.which(), replace_calib(msg, calib)) </s> remove       if msg.which() == "liveCalibrationd":
        pm.send(msg.which(), msg.as_builder())
 </s> add       if msg.which() == "liveCalibration":
        pm.send(msg.which(), replace_calib(msg, calib)) </s> remove         img = fr.get(frame_idx, pix_fmt="rgb24")[0][:, ::, -1]
 </s> add         img = fr.get(frame_idx, pix_fmt="rgb24")[0][:,:,::-1]
    desires_by_index = {v:k for k,v in log.PathPlan.Desire.schema.enumerants.items()}

      print("procs started")
  
    desires_by_index = {v:k for k,v in log.PathPlan.Desire.schema.enumerants.items()}

      cal = [msg for msg in lr if msg.which() == "liveCalibration"]
      for msg in cal[:5]:
        pm.send(msg.which(), replace_calib(msg, calib))
  
      log_msgs = []
keep add keep keep keep keep keep
 Added model_replay and fixed some bugs in camera_replay (#2679)

* Added model_replay and fixed some bugs in camera_replay

* Unpack capnp logs on device

* add sync to device

* GPU now also works on PC

* update model ref

* update refs

* dont change this one

* Use pipeline calib instead of rlog calib

* remove that

* update refs

Co-authored-by: Willem Melching <willem.melching@gmail.com>
Co-authored-by: Adeeb Shihadeh <adeebshihadeh@gmail.com> 
selfdrive/test/process_replay/camera_replay.py