-
Notifications
You must be signed in to change notification settings - Fork 58
TIme Synchronization
This section aims to ensure the time synchronization of the NUC (on-board computer) and the laptop (ground station) with a time server. This synchronization may not be necessary since all programs are run on the NUC, but it is needed in cases of sending time-stamped commands or using motion capture information which is time-stamped on the ground station.
Please run the commands below on both the on-board computer and the ground station to synchronize with a time server names your.ntp.server.name
.
$sudo apt-get install ntp ntpdate $sudo vim /etc/ntp.conf
Comment out lines 19-22 and add a line server your.ntp.server.name
(without quotations). your.ntp.server.name
refers to the time server you want to synchronize with.
$sudo service ntp stop $sudo ntpdate -s your.ntp.server.name $sudo service ntp start $ntpdate -q your.ntp.server.name
You can also use your preferred time-synchronization tool, such as chrony or ptp.