AP_DDS: GeoPose Publisher#23540
Merged
peterbarker merged 1 commit intoArduPilot:masterfrom May 5, 2023
Merged
Conversation
Ryanf55
requested changes
Apr 20, 2023
494bb80 to
4cba27e
Compare
4cba27e to
b68fa5c
Compare
Contributor
Author
|
Updated the orientation to follow what was agreed on #23480. Code comments were updated accordingly. |
761734a to
c9949c8
Compare
* Add GeoPoint.idl * Add GeoPose.idl * Add GeoPoseStamped.idl * Update geopose topic name to follow ArduPilot#23603 * Add GeoPose topic support Co-authored-by: Pedro Fuoco <pedrofuoco6@gmail.com> Signed-off-by: Ryan Friedman <ryanfriedman5410+github@gmail.com>
c9949c8 to
fd1e9c0
Compare
Ryanf55
approved these changes
May 4, 2023
Contributor
There was a problem hiding this comment.
LGTM, I rebased and updated the code style and tested it on UDP.
./Tools/CodeStyle/ardupilot-astyle.sh --options=Tools/CodeStyle/astylerc libraries/AP_DDS/*.cpp libraries/AP_DDS/*.hMake sure your commits have a blank line between the first line and any further details.
AP_DDS: Add geographic_msgs
* Add GeoPoint.idl
* Add GeoPose.idl
* Add GeoPoseStamped.idl
I also added some spaces after operators to comply with the style guide. This is something that astyle doesn't do for you automatically.
Quaternion aux(orientation[0], orientation[2], orientation[1], -orientation[3]); //NED to ENU transformation
Quaternion transformation(sqrt(2) / 2, 0, 0, sqrt(2) / 2); // Z axis 90 degree rotationI squashed all the commits with the formatting. Approved
Contributor
Author
|
@Ryanf55 Thanks a lot for the insights, I will surely keep it all in mind for my future contributions! |
Contributor
|
Lovely work. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Resolves #23534, here is the PR working on SITL:

Uses the same orientation logic as #23480 since both follow ENU