Autoware Time Synchronization#

Function Description#

Using the system time synchronization feature on MIIVII APEX AD10 6.0 device with miivii-autoware-base:v1.0.0 docker image.

Device Connection#

The device is connected as follows:

Operation Steps#

Setting the Time Synchronization Mode#

In the synchronization settings of MIIVII SETTINGS, select GPS as the time synchronization mode, save and wait for the setting to succeed

Start Docker#

xhost +
sudo docker run --privileged -it --rm --net=host --runtime nvidia -v /mnt:/mnt -v /opt/miivii/:/opt/miivii -v /dev:/dev -e DISPLAY=$DISPLAY -v /tmp/:/tmp/ harbor.internal.miivii.com/ros2/autoware/miivii-autoware-base:v1.0.0 bash

#Check if the container time and system time are consistent
date

Expected Result#

#Change system time in AD10
sudo date -s "2024-01-01"

#Wait for a while, then check if both the container time and system time have changed to the current time
date