Skip to content

1) Developers

7
  • 1) Welcome to Olive Robotics
  • 2) Quick Start
  • 3) FAQ​
  • 4) Linux
  • 5) Windows
  • 6) MacOS
  • 7) Supported Hardware

2) Hardware

6
  • 1) olixSense™ IMU
  • 2) olixVision™ Camera
  • 3) olixMotion™ Servo​
  • 4) olixCore™ EdgeIO
  • 5) olixGNX™ GNSS/INS
  • 6) olixEcho™ Sonar​

3) Software

12
  • 01) Patch Update​
  • 02) Firmware Releases​
  • 03) Web-based GUI​
  • 04) Examples / Apps
  • 05) SSH​
  • 06) Environment Variables​
  • 07) Network Configuration​
  • 09) Time Synchronization​
  • 10) Internet Sharing​
  • 11) Reset Factory​
  • 12) olixOS
  • 13) Configs

4) olixKits

2
  • 1) OWL Educational Kit​
  • 2) ANT Educational Kit​

5) ROS and Interoperability

9
  • 1) ROS 1
  • 2) ROS 2
  • 3) RQT
  • 4) RIG Reconfigure​
  • 5) Plot Juggler​
  • 6) RViz 2​
  • 7) Recording and playing​
  • 8) ROS 2 Bridge​
  • 9) Data Distribution Service (DDS) ​

6) Knowledge Base

6
  • 1) Accelerometers
  • 2) Gyroscopes
  • 3) Magnetometers
  • 4) Attitude & Heading Reference System (AHRS)
  • 5) Inertial Navigation System (INS)
  • 6) Sensor Fusion
  • Docs2
  • 3) Software
  • 09) Time Synchronization​
View Categories

09) Time Synchronization​

1 min read

Precision Time Protocol (PTP)​ #

Due to limitations in the USB protocol, achieving PTP synchronization is not feasible with our current USB version of the products. PTP is supported in our Ethernet-based components with the code name ‘E’.

Please install linuxptp (> version 3.1.1) or any other ptp software that is standard and you are using in your robotic system or IT infrastrucutre.

Then run a service to expose the PTP master in your host computer. You can find the example systemd service to run in your host linux:

sudo apt install linuxptp
[Unit]
Description=Olive Robotics PTP Master Example
After=network.target

[Service]
Type=simple
User=root
ExecStart=ptp4l -i eno1 -m -S

[Install]
WantedBy=multi-user.target

Example Command:

ptp4l -i eno1 -m -S

In Ethernet version of Olive Components the Time source option will be available in GUI which you can change NTP to PTP.

Network Time Protocol (NTP) #

​The Network Time Protocol (NTP) is a widely used protocol designed to synchronize the clocks of computers and devices over a network to a precise time reference. It ensures that all systems within a distributed infrastructure maintain accurate and consistent timekeeping, which is essential for time-sensitive operations, logging, event coordination, and security protocols. NTP typically operates in a client-server model, where clients adjust their clocks based on timestamps received from one or more servers. These servers can, in turn, synchronize with even more accurate sources, such as GPS or atomic clocks. NTP can compensate for variable network delays and is capable of maintaining time accuracy within milliseconds over the internet, and even better performance on local area networks.

Setting Up NTP Synchronization on Olive Components #

Adding NTP Server IP:

  1. Access the GUI: Log into your Olive component’s GUI.
  2. Configure NTP Settings: Find the network or time settings and enter the IP of your NTP server.
  3. Save and Reboot: Apply changes and reboot the component.
  4. Verify Time: Open the Olive GUI and check the time status
  5. Deep Verify (ssh in to Olive): 
olive@robotics:~$ ntpq -p
     remote           refid      st t when poll reach   delay   offset  jitter
==============================================================================
*192.168.7.200   79.133.44.139    2 u   28  128  377    0.234   -1.082   0.266

Installing an NTP Server on Your Host Computer​ #

For Linux:

  1. Install NTP: Run sudo apt-get update && sudo apt-get install ntp.
  2. Edit Config: Modify /etc/ntp.conf to add public NTP server entries.
  3. Restart NTP: Execute sudo systemctl restart ntp.

For Windows:

  1. Enable NTP Server: Go to Internet Time settings in the Control Panel, set up synchronization with a server from pool.ntp.org, and click Update now.

Note: Ensure UDP port 123 is open in your firewall for NTP traffic.

That’s it! Your Olive system should now be synchronizing its time with the predefined NTP server.

Was this information useful?
Still not working! How can we help?

How can we help?

Updated on May 6, 2025
07) Network Configuration​
Table of Contents
  • Precision Time Protocol (PTP)​
  • Network Time Protocol (NTP)
  • Setting Up NTP Synchronization on Olive Components
  • Installing an NTP Server on Your Host Computer​
Olive Robotics

Interoperable Embedded Robotics

All rights reserved