[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [gpsd-users] GPS Time Synchronization
From: |
John Klug |
Subject: |
Re: [gpsd-users] GPS Time Synchronization |
Date: |
Fri, 19 May 2017 13:30:17 +0000 |
ntpd is what we use. crony is also a possibility. The PPS and GPS information
are in separate shared memory locations, and with ntpd, these are configured as
IP addresses.
Here is our ntp.conf patch file for default ntp usage:
http://git.multitech.net/cgi-bin/cgit.cgi/meta-mlinux.git/tree/recipes-support/ntp/files/ntp.conf.patch
John Klug
Senior Software Engineer
[https://support.multitech.com/support/mts_v3/website/static/cwbootstrap/images/logo.png]<http://www.multitech.com/>
+1.763.785.5500 Direct
address@hidden
2205 Woodale Drive
Mounds View, MN 55112 USA
www.multitech.com
This message and any of its attachments are confidential, and any unauthorized
disclosure, use or dissemination (either whole or in part) is prohibited. If
you are not the intended recipient of the message please notify the sender
immediately and delete the message from your system.
________________________________
________________________________
From: gpsd-users address@hidden on behalf of Burton, John address@hidden
Sent: Thursday, May 18, 2017 6:21 PM
To: address@hidden
Subject: [gpsd-users] GPS Time Synchronization
Hi All!
I have what might or might not be an easy question.
* I have a computer running RedHat Enterprise Linux 7.3 that has GPS
reciever attached to it that also provides a PPS signal. This computer is used
as a real-time data acquisition system.
* I have configured the computer as described in
http://catb.org/gpsd/gpsd-time-service-howto.html<http://mail2.multitech.com:32224/?dmVyPTEuMDAxJiZmNGMyMWQ1OTU4MTk2ZWViNj01OTFFMkM4Ml82NTIwMF85MTlfMSYmNjE3ZWE3MjRiMWVhNjEyPTEzMzMmJnVybD1odHRwJTNBJTJGJTJGY2F0YiUyRW9yZyUyRmdwc2QlMkZncHNkLXRpbWUtc2VydmljZS1ob3d0byUyRWh0bWw=>
to operate as a network clock. This works fine.
* One of the devices I am capturing data from is an INS/GPS system that
provides a position and pointing data packet with a GPS timestamp (week since
GPS epoch + seconds into the week).
* I also have other devices that I am acquiring data for that I am
attaching a timestamp to. I am currently using the
boost::chrono::system_clock::now().
* I need to have all captured data using the same clock basis for the
timestamp.
* How do I get GPS timestamp from my system clock?
John
--
John Burton, Ph.D.
MTEQ, Inc.
10440 Furnace Rd., Suite 204 Office: 540-658-2720 x1407
Lorton, VA 22079-2630 Mobile: 757-508-6208
address@hidden<mailto:address@hidden> Fax:
540-288-2515
Please note that the contents of this email including all attachments may be
privileged or confidential in nature and are intended solely for the named
recipients. If you have received this message in error, please contact the
sender immediately and be aware that the use, copying, or dissemination of this
information is prohibited.