DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

sensors/time/docs/mainsection.md
Go to the documentation of this file.
1 # Copyright (c) 2019-2020 NVIDIA CORPORATION. All rights reserved.
2 
3 @page time_mainsection Time
4 @note SW Release Applicability: This module is available in both **NVIDIA DriveWorks** and **NVIDIA DRIVE Software** releases.
5 
6 ## About This Module
7 The Time module provides the ability to start a Time sensor which will enable time synchronization for supported sensors.
8 
9 ## Supported Time Sensors
10 Currently Time sensor is supported through Garmin 18X and Novatel GPS sensors.
11 
12 Sensors available for time synchronization include:
13 - Velodyne lidar
14 - XSENS IMU/GPS
15 - Novatel IMU/GPS
16 - GMSL cameras
17 
18 ## Start Time Sensor
19 To create a Time sensor, the DW module expects the following inputs:
20 - nvpps device
21 - reference type
22 - reference type specific start parameters
23 
24 ### Supported Reference Types
25 
26 |Reference Type |Required Parameters |Example |
27 |-------------------|---------------------------|---------------------------------------------------------------------------------------|
28 |`NOVATEL_ETHERNET` |`ip`, `port` |`nvpps-device=/dev/nvpps0,reference-type=NOVATEL_ETHERNET,ip=192.168.0.210,port=2000` |
29 |`NOVATEL_CAN` |`can-device` |`nvpps-device=/dev/nvpps0,reference-type=NOVATEL_CAN,can-device=can0` |
30 |`NMEA` |`gps-serial-device`, `baud`|`nvpps-device=/dev/nvpps0,reference-type=NMEA,baud=9600,gps-serial-device=/dev/ttyUSB0`|
31 
32 ## Starting Time Synchronization
33 To enable time synchronization for supported sensors, simply create and start the time sensor. The HAL will take care of synchronization. There are no further steps to access synchronized timestamps, which will automatically overwrite the original sensor frame/packet timestamps.
34 
35 ## Playback from Recordings
36 The time module also supports time synchronization during playback using recorded time sensor data.
37 
38 ## Relevant Tutorials
39 
40 - @ref time_usecase1