DriveWorks SDK Reference
3.5.78 Release
For Test and Development only

Recording Synchronization Tool

This tool synchronizes sensors recordings captured on different Xaviers based on the timestamps from a CAN recording.

The tool performs matching of these recordings, calculates timestamp offsets and creates an output rig file containing calculated offsets.

In order to work properly the tool requires one rig file for each Xavier to be placed alongside in input directory. It uses them to determine on what Xavier a particular sensor has been recorded.

If any input rig file is missing, the output rig file will not be created.

Usage

./sync
    --input-dir=directory/containing/recordings &&
    --input-file-prefix=CAN_recording_pattern &&
    --channel=reference_channel (default is ta1)] ||
    --input-files=comma_separated_list_of_CAN_recordings
    [--out-file=path_to_output_rig_file (default is ./output-rig.json)]
    [--log-file=path_to_log_containing_detailed_report]
Note
–input-file-prefix requires the CAN recording file to start with a prefix, like can_ .