-
Notifications
You must be signed in to change notification settings - Fork 13.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WIP]: GPS clock set time updates #18261
base: main
Are you sure you want to change the base?
Conversation
758cde7
to
0283e90
Compare
0283e90
to
d6667e7
Compare
maybe we can support gps 1pps signal to Correct time?This allows for more accurate timing |
That's also coming, although it's handled much lower level. |
I have the hardware to support 1pps and can do 1pps development, but I'm not quite sure how to combine it with timesync at the moment. |
d6667e7
to
1be688e
Compare
1be688e
to
27a556b
Compare
27a556b
to
14db943
Compare
e7091cd
to
cda5068
Compare
- remove drivers/gps set clock callback - drivers/gps try to set sensor_gps timestamp_sample as closely as possible - move mavlink timesync to new lib/timesync library - sensors/vehicle_gps_position consume all sensor_gps sources and determine time GPS utc time offset using lib/timesync - once time offset is stable update system clock if sufficiently different
cda5068
to
3df000f
Compare
Hi! I am interested in your hardware solution to handle the 1PPS signal from the GNSS receiver. We currently solved that at a payload level. By allowing the payload to read out the PPS signal from GPS and GPS time data. We are using that to connect, the measurements done by payloads to precise absolute time. An improvement could be done, in the case of uLog file has precise GNSS time data also. |
WORK IN PROGRESS - opening early for discussion and testing
Requires PX4/PX4-GPSDrivers#90
TODO