This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How GPS time is synced up with realtime clock time?
How GPS time is synced up with realtime clock time?

Raspberry PI doesn't have realtime clock. It relies on time service daemons.
It case if network NTP time is unavailable will my computer with openplotter pick up time from GPS?

Which process is responsible for that and where is the code that does it?

See Signal K Web Admin  plugin config  Set System Time
You can set up NTP to use both NTP servers and GPS, I have a small NTP server installed at home.
See :

Nice to have a NTP server on board, can help keeping time on all devices on board.

Thanks Ole! Instead of hours of researching and testing, I used your instructions on setting up an NTP server using gpsd, and it worked first time.
I was going to say the same. the clock on the gps is very precise. It uses that clock to compute the total trip time for the gps signal. In which has the time the signal left the satellite along with its position. So it can calculate the distance or radius from the satellite when you have 4 or more satellites you can calculate your 3D position. Since the signal travels close to the speed of sound you need a very accurate clock. That is my very condensed version of how GPS works.

Forum Jump:

Users browsing this thread: 1 Guest(s)