Environment
・DriveOS Linux: 6.0.10.0
・DriveWorks SDK: 5.20
・Camera: Smartlead Sony IMX728 (120deg)
・NITO file: R0SIM728S3RU2120NB2
Questions about exposure start timestamp and exposure time
1. Exposure start timestamp in DriveWorks
Is there a timestamp in the DriveWorks API that corresponds to the exposure start time (shutter open time)?
By “UNIX time” here, I mean an absolute time referenced to the Epoch (UTC), or a time synchronized to PTP / GPS / PPS
If such a timestamp exists, could you please point me to the relevant field or API?
2. Exposure duration in DriveWorks
Is it possible to obtain the exposure duration (i.e., the time interval from exposure start to exposure end) using the DriveWorks API?
3. Interpretation of dwImageTimestamps
I retrieved dwImageTimestamps in DriveWorks and obtained the following values:
(unit: microseconds)
sofTimestampUs: 1773216785276383moeTimestampUs: 1773216785286662eofTimestampUs: 1773216785306942subExposureStartTimestampUs[0]: 1773216785276383subExposureStartTimestampUs[1]: 1773216785276383subExposureStartTimestampUs[2]: 1773216785276383subExposureStartTimestampUs[3]: 1773216785286383
From these values:
eofTimestampUs - sofTimestampUs ≈ 30 ms
Does this difference represent the exposure time?
If not, what does this interval actually represent?
For example:
- frame period
- sensor readout time
- ISP processing time
- pipeline latency
- or a combination of the above?
Additional note on timestamp availability
Initially, both sofTimestampUs and moeTimestampUs were always 0.
After granting permissions to /dev/nvpps0, these timestamps became valid (non-zero).
Based on this behavior, is it correct to assume that these timestamps depend on nvpps (PPS) or another time synchronization mechanism?
4. Exposure-related information in SIPL (nvsipl)
In case exposure-related information is not available in DriveWorks, I also investigated the SIPL (nvsipl) side.
Using nvsipl, I retrieved the following parameters:
DevBlkCDIExposure::exposureTimeDevBlkCDIExposure::sensorGain
The retrieved values are as follows:
exposureTime[0]: 0.0555556
exposureTime[1]: 10
exposureTime[2]: 10
sensorGain[0]: 15.8489
sensorGain[1]: 1
sensorGain[2]: 1
Based on these results, I have the following questions:
- Is it expected behavior that
exposureTime[1]andexposureTime[2](as well assensorGain[1]andsensorGain[2]) have same values?
Do these indices correspond to different exposure slots, such as those used for multi-exposure or HDR capture? - I understand that
exposureTimerepresents the exposure duration, but:
- Under what conditions is each index ([0], [1], [2]) actually used?
- Are there scenarios where multiple indices are used simultaneously (for example, in HDR or multi-exposure modes)?