Skip to content

Commit

Permalink
RVC3 FW: fix device timestamp drift,
Browse files Browse the repository at this point in the history
cam_test: print frame latency with `-show`
  • Loading branch information
alex-luxonis committed Jul 8, 2024
1 parent 0333e6c commit ab7daa2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion depthai-core
2 changes: 1 addition & 1 deletion utilities/cam_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ def get(self):
frame = cv2.normalize(frame, frame, alpha=255, beta=0, norm_type=cv2.NORM_MINMAX, dtype=cv2.CV_8U)
frame = cv2.applyColorMap(frame, jet_custom)
if show:
txt = f"[{c:5}, {pkt.getSequenceNum():4}, {pkt.getTimestamp().total_seconds():.6f}] "
txt = f"[{c:5}, {pkt.getSequenceNum():4}, {pkt.getTimestamp().total_seconds():.6f}, lat:{(dai.Clock.now()-pkt.getTimestamp()).total_seconds():.6f}] "
txt += f"Exp: {pkt.getExposureTime().total_seconds()*1000:6.3f} ms, "
txt += f"ISO: {pkt.getSensitivity():4}, "
txt += f"Lens pos: {pkt.getLensPosition():3}, "
Expand Down

0 comments on commit ab7daa2

Please sign in to comment.