-
Notifications
You must be signed in to change notification settings - Fork 0
System Clock Synchronization
Nick Charron edited this page Jul 19, 2019
·
5 revisions
The following process should be used to synchronize the system clock.
- Ensure that the following are installed:
- gpsd
- gpsd-clients
- chrony
- Ensure that the following pins for PC Side RS232 (Male) are wired as such:
- Pin 5 (Ground pin) gets ground
- Pin 2 (RX pin) gets TX signal
- Pin 1 (DCD pin) gets PPS signal
- In the chrony.conf file from the wave lab, change the reference clock lines to match their github instructions. Additionally:
- copy chrony.conf into /etc/chrony/chrony.conf.
- ttySX should be changed to be the correct port.
- refclock SHM 0 refid GPS poll 3 filter 100 offset 0.088 noselect
- refclock SOCK /var/run/chrony.ttySX.sock refid PPS poll 3 trust
- Terminal commands for syncing (run all as sudo, change ttySX to correct port)
killall -9 chronyd gpsd ldattach
chronyd -f /etc/chrony/chrony.conf
sleep 2
gpsd -n /dev/ttySX
sleep 2
ldattach 18 /dev/ttySX
- For debugging, you can run sudo gpsmon in terminal to check that GPRMC NMEA string & PPS are both being registered
Author: Nick Charron
Last Edited: 18 Feb 2019
- Home
- Onboarding
- Installation Guide
- Libbeam
- Mapping
- Calibration
- Hardware Instructions
- Deep Learning
- Formatting
- PoTree Maps
- Supported Hardware
- Additional Resources