|
|
@ -919,7 +919,7 @@ void process_road_camera(MultiCameraState *s, CameraState *c, int cnt) { |
|
|
|
MessageBuilder msg; |
|
|
|
MessageBuilder msg; |
|
|
|
auto framed = c == &s->road_cam ? msg.initEvent().initRoadCameraState() : msg.initEvent().initWideRoadCameraState(); |
|
|
|
auto framed = c == &s->road_cam ? msg.initEvent().initRoadCameraState() : msg.initEvent().initWideRoadCameraState(); |
|
|
|
fill_frame_data(framed, b->cur_frame_data, c); |
|
|
|
fill_frame_data(framed, b->cur_frame_data, c); |
|
|
|
if (env_log_raw_frames) { // no overlap with qlog decimation
|
|
|
|
if (env_log_raw_frames && c == &s->road_cam && cnt % 100 == 5) { // no overlap with qlog decimation
|
|
|
|
framed.setImage(get_raw_frame_image(b)); |
|
|
|
framed.setImage(get_raw_frame_image(b)); |
|
|
|
} |
|
|
|
} |
|
|
|
LOGT(c->buf.cur_frame_data.frame_id, "%s: Image set", c == &s->road_cam ? "RoadCamera" : "WideRoadCamera"); |
|
|
|
LOGT(c->buf.cur_frame_data.frame_id, "%s: Image set", c == &s->road_cam ? "RoadCamera" : "WideRoadCamera"); |
|
|
|