diff --git a/tools/sim/bridge.py b/tools/sim/bridge.py index ae6483fd285a44..70bc5f4e9e5505 100755 --- a/tools/sim/bridge.py +++ b/tools/sim/bridge.py @@ -94,7 +94,7 @@ def cam_callback(self, image): yuv_cl = cl_array.empty_like(rgb_cl) self.krnl(self.queue, (np.int32(self.Wdiv4), np.int32(self.Hdiv4)), None, rgb_cl.data, yuv_cl.data).wait() yuv = np.resize(yuv_cl.get(), np.int32(rgb.size / 2)) - eof = self.frame_id * 0.05 + eof = int(self.frame_id * 0.05 * 1e9) # TODO: remove RGB send once the last RGB vipc subscriber is removed self.vipc_server.send(VisionStreamType.VISION_STREAM_RGB_ROAD, img.tobytes(), self.frame_id, eof, eof)