-
Notifications
You must be signed in to change notification settings - Fork 13.6k
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
GPS driver rewrite #195
GPS driver rewrite #195
Conversation
* | ||
****************************************************************************/ | ||
|
||
/* @file U-Blox protocol definitions */ |
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.
lies!
Yes I've corrected a lot of stuff in my cleanup which I have no tested yet. But as Lorenz took my old state and started messing around with it, a lot of wrong stuff is back here. There is really no point in checking it in detail yet. I need to merge first and then you review would be helpful. |
No let me correct, thanks for the comments. Most of it is not yet corrected and I can check and correct it. |
Ok, I did the merge, the reason the parser would mess up the checksum was that I removed the returns in the parser and the rx_count got messed up (see 039d394#L3R750). CPU usage is now at 3% and the gps status info works:
I'll try to go through px4dev's comments now. |
Thanks Julian, the last two commits really (again) improved things. Lets keep this moving. I've commented the few locations that may need a second pass. |
…crificied 20 bytes for better status / user debuggability
…sition updated, working but might be solved more elegant
…ters and added specifig timestamps
…y instead of buffering
…n of MTK is very slow and needs improvement
…d: timeouts/usleeps
- libcanard in PX4/Firmware (10dd69e): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (9c29877): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (a4df1d3): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (d11b94a): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (a4cb1f9): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (f6ccf7e): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (fa2cbcf): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (872ef01): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (b8706fc): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (c595c72): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (504755f): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (e827051): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (ff9d8e1): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (f4b5589): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (fda5de6): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (1f64d0b): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (723396b): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (d5ac15e): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (45b6959): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (ddf5d80): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (4fe4e23): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
- libcanard in PX4/Firmware (7aa8296): OpenCyphal/libcanard@2d44945 - libcanard current upstream: OpenCyphal/libcanard@db87ea3 - Changes: OpenCyphal/libcanard@2d44945...db87ea3 db87ea3 2022-04-12 Kalyan Sriram - readme: update v3.0 release notes (#195) 75bb34c 2022-04-12 Pavel Kirienko - branding: UAVCAN -> OpenCyphal (#194) d128f4e 2022-03-28 Kalyan Sriram - MISRA/AUTOSAR: remove flexible array (#192) 224adff 2021-12-04 Kalyan Sriram - readme: update canardFilter example typo cf0a8bc 2021-12-04 Pavel Kirienko - Libcanard v2.0 (#182)
This is based on Julian's work, with some additional minor cleanup. Does not reflect the most recent state on Julians branch as not stable.
Before merging this needs more cleanup and work, but its a good time to start the review and actively test it.