NvSIPL Imager/Sensor Timestamp

Please provide the following info (check/uncheck the boxes after creating this topic):
Software Version
DRIVE OS Linux 5.2.6
DRIVE OS Linux 5.2.6 and DriveWorks 4.0
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other

Target Operating System
Linux
QNX
other

Hardware Platform
NVIDIA DRIVE™ AGX Xavier DevKit (E3550)
NVIDIA DRIVE™ AGX Pegasus DevKit (E3550)
other

SDK Manager Version
1.8.0.10363
other

Host Machine Version
native Ubuntu 18.04
other

Hello,

We are looking for a way of getting the timestamp from the sensor using the SIPL Framework.

The documentation states that there’s metadata containing the timestamp:
https://docs.nvidia.com/drive/drive-os-5.2.6.0L/drive-os/DRIVE_OS_Linux_SDK_NGC_Development_Guide/baggage/structnvsipl_1_1INvSIPLClient_1_1ImageMetaData.html#a906ce3200cec23bcb4c31ae70b499a3e

This has the following structure:

typedef struct DevBlkCDIFrameTimestamp {
    /**
      * Holds a flag which indicates if the frame timestamp from the sensor is valid. */
    NvMediaBool  frameTimestampValid;
    /**
      * Holds the sensor frame timestamp value. */
    uint64_t frameTimestamp;
} DevBlkCDIFrameTimestamp;

But the frameTimestampValid is false for each frame.

Then there are other timestamps coming with the SIPL buffer, but my understanding is that those timestamps relate to the time when the image is retrieved by the VI, or the board capture subsystem. We need the time when the pixels were read at sensor level.

I want to know if:

  1. It’s possible to get a valid frameTimestamp from the structure above.
  2. There’s another way of getting the sensor timestamp.

More information: I have tested this with the IMX390 module

Hi @AlejandroSolis-RidgeRun
May I know which IMX390 module in this page you’re using?

Hi, the tests have been done with this one: IMX390EVB-MLH-SMM7

The idea is to find a solution for that problem for the IMX390 (above) and the IMX490 (IMX490EVB-MOH-SMM2)

Are you using the two camera modules from Sony on DRIVE OS 5.2.6 with default libraries? Thanks.