mirror of
https://github.com/infiniteCable2/openpilot.git
synced 2026-08-23 01:13:44 +08:00
log encodeIdx packets in qlog (#20738)
old-commit-hash: 9813c0ddbdbd00716710a24c7edbdd509b66d9b7
This commit is contained in:
@@ -288,8 +288,9 @@ void encoder_thread(int cam_idx) {
|
||||
eidx.setSegmentNum(rotate_state.cur_seg);
|
||||
eidx.setSegmentId(out_id);
|
||||
if (lh) {
|
||||
// TODO: this should read cereal/services.h for qlog decimation
|
||||
auto bytes = msg.toBytes();
|
||||
lh_log(lh, bytes.begin(), bytes.size(), false);
|
||||
lh_log(lh, bytes.begin(), bytes.size(), true);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user