Skip to content
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

Septentrio v1.15 backport cleanup #23453

Closed
wants to merge 9 commits into from
Closed

Conversation

mrpollo
Copy link
Contributor

@mrpollo mrpollo commented Jul 25, 2024

The previous PR #23386 broke the release branch due to unintentional file overwrites. Hopefully, this PR captures the intention and the functionality.

We need Septentrio to verify this PR builds, flashes, and works before merging.

cc @chiara-septentrio, @flyingthingsintothings

mrpollo and others added 8 commits July 25, 2024 10:31
…o driver, with new features and fixes (#23386)"

This reverts commit 4ea8348.
…entrio module (#22904)

Having a generic interface over the GPS drivers makes dedicated
functionality for each driver harder. Move the Septentrio driver into
its own module under the `gnss` driver directory, and let it have its
own parameters for only the functionality it requires. This also helps
with adding new features because they only need to be implemented for
the driver that wants it, simplifying testing.
Internal testing revealed usability issues. Those and some other
problems are fixed.
This fixes an incorrect check of the device paths during instantiation
of the Septentrio driver that caused the driver to start and not print
an error message.
The documentation for `SEP_DUMP_COMM` was quite unclear and users had to
use the user guide to find out what exactly it did. The new
documentation tries to make the purpose clearer.
Heading wasn't working because of an incorrect check during parsing.
Heading offset was configured as radians but should be configured as
degrees on Septentrio receivers. The parameter was already in degrees
but the configuration logic was changing it into radians. Also allow the
entire allowed range of heading offset values for Septentrio receivers.
@mrpollo mrpollo requested a review from dagar July 25, 2024 17:43
@hamishwillee
Copy link
Contributor

Note, does this imply a need for docs backport @flyingthingsintothings ?

@flyingthingsintothings
Copy link
Contributor

Yes, the documentation for v1.15 would have to be updated with the same changes that were made to the main documentation.

@chiara-septentrio
Copy link

It's probably my fault, it built correctly but the difference in files might not have been updated when making the pull request and I didn't think to check more than the difference I saw on the web interface. So sorry for that.

* gnss: update supported baud rates

The Septentrio GNSS driver requires certain baud rates to test all the
supported baud rates of the receiver. Without these changes, certain
"non-standard" ones would print an error to the MAVLink console when the
driver was started through the console.

* platforms: add missing baudrate defines

---------

Co-authored-by: Thomas Frans <[email protected]>
Co-authored-by: Julian Oes <[email protected]>
@julianoes
Copy link
Contributor

I've added the commits from #23415 as well.

@github-actions github-actions bot added the stale label Sep 7, 2024
@bresch
Copy link
Member

bresch commented Sep 24, 2024

v1.15 having conflicting serial configs due to septentrio params: #23714 (comment)

@mrpollo
Copy link
Contributor Author

mrpollo commented Sep 24, 2024

Thanks for the report @bresch I will take a look

@mrpollo
Copy link
Contributor Author

mrpollo commented Oct 4, 2024

This pr was cherry-picked by @dagar no longer needed so I am closing

@mrpollo mrpollo closed this Oct 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants