mirror of
https://github.com/firestar5683/StarPilot.git
synced 2026-06-30 19:12:07 +08:00
fix isp processing_time unit (#33964)
should be in seconds Co-authored-by: Comma Device <device@comma.ai>
This commit is contained in:
@@ -114,7 +114,7 @@ bool CameraBuf::acquire(int expo_time) {
|
||||
cur_frame_data.processing_time = (millis_since_boot() - start_time) / 1000.0;
|
||||
} else {
|
||||
cur_yuv_buf = vipc_server->get_buffer(stream_type, cur_buf_idx);
|
||||
cur_frame_data.processing_time = (double)(cur_frame_data.timestamp_end_of_isp - cur_frame_data.timestamp_eof)*1e-6;
|
||||
cur_frame_data.processing_time = (double)(cur_frame_data.timestamp_end_of_isp - cur_frame_data.timestamp_eof)*1e-9;
|
||||
}
|
||||
|
||||
VisionIpcBufExtra extra = {
|
||||
|
||||
Reference in New Issue
Block a user