TIMESTAMP_CLOCK Class Reference

Lists available clock sources for SDK timestamps. More...

Detailed Description

Lists available clock sources for SDK timestamps.

Selects the clock used internally by the SDK to timestamp images and sensor data. Both image and IMU timestamps always use the same selected clock, ensuring coherent results.

Note
This is a process-wide setting. Use set_timestamp_clock() before opening any camera.
Enumerator
SYSTEM_CLOCK Timestamps use system (wall-clock) time. Affected by NTP/PTP adjustments.
MONOTONIC_CLOCK Timestamps use monotonic clock (CLOCK_MONOTONIC). Immune to system clock step adjustments.
Note
On ZED X cameras, full end-to-end immunity also requires ZED X driver version 1.4.2 or later. With older drivers the IMU itself can pause briefly when the system time is set backward; the SDK emits a warning at camera open and resumes IMU delivery automatically. Other cameras are unaffected.