DRIVE OS Version: Provide DRIVE OS version. Example: 7.0.3
Issue Description:
I am using Drive AGX Thor (DriveOS 7.0.3) with an IMX728 camera and acquiring camera frames through the DriveWorks API.
What I would like to achieve is to control the camera shutter timing (exposure start timing) so that exposure starts at a specific time.
For example, I would like the camera exposure to start at hh:mm:ss.000 (system time) and then continue at 30 FPS.
I have the following questions:
1.
Is my understanding correct that this type of exposure start timing control cannot be achieved directly through the DriveWorks API, and that it should instead be implemented using FSYNC?
2.
If the answer to Question 1 is yes, can the following approach be used to achieve the desired behavior?
- Obtain the current TSC value using NvpGetTimeMark().
- Establish the relationship between the current system time and the TSC value.
- Calculate the TSC corresponding to the desired exposure start time.
- Execute the following command:
fsync_debug startgroup 0 <calculated_TSC>
Will this allow the IMX728 exposure to start at the specified time by starting FSYNC at the calculated TSC value?
If this approach is incorrect, could you please advise the recommended method for synchronizing the exposure start timing to a specific timestamp in a Drive AGX Thor + IMX728 + DriveWorks environment?
Thank you for your support.