-
Notifications
You must be signed in to change notification settings - Fork 17.2k
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
AP_GPS: UBlox: configure and log TIM-TM2 #20335
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to optional config, and only on >1M boards? also would be good to move RXM logging to be optional
better to use inline logging method so we don't consume a log slot for a rare msg
I left this logging for 9 and a half hours. A ~0.3Hz trigger signal connected to the ExtInt pin of the GPS and the CAM feedback pin. Firstly its clear that the The final graph shows the CAM log time vs TM2 GPS time (offset to start at 0). This shows good agreement, although a linear drift. Works out to 2.533 ms per minute. |
added #define and moved to inline logging.
This adds logging of TIM TM2 message useful for precise sync of signals to GPS time, via ext int pin on GPS.
See: #15428, #10369, #7892
Tested on m8p, I have verified the logged message is the same as that reported in u-center.
I have not checked if this message is supported by all UBlox variants, or what happens if it is not supported, I presume the GPS will not respond to the request for message rate in that case. So this new message will not be added to
_unconfigured_messages
and will not cause a arming failure.