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.
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
Add GeoPoseStamped interface for REP-147 to help clarify geographic orientation #407
base: master
Are you sure you want to change the base?
Add GeoPoseStamped interface for REP-147 to help clarify geographic orientation #407
Changes from 1 commit
02bfa52
5f600aa
File filter
Filter by extension
Conversations
Jump to
There are no files selected for viewing
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.
If there is a more standard way to document the value for the quaternion (perhaps yaml), please supply a reference to the syntax I should use. Or, if we can find an authoritative reference on this definition of
unit identity quaternion
, that would be great. The Wikipedia does not directly mention it.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.
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.
Thoughts on this for addressing accuracy?
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.
For reference, I would also add the following quaternion transformations, which can be used to convert between Ardupilot's and REP-103 reference frames.
q = [w, x, y, z]
;ned
is North, East, Down, standard inertial Ardupilot's frame;fru
is Forward, Right, Up, standard Ardupilot's body frame;enu
is East, North, Up, REP-103 inertial frame;flu
is Forward, Left, Up, REP-103 body frame;Assuming that we start from vehicle's quaternion
q_frd_2_enu
from Ardupilot's telemetry, and we want to obtain its correspondent in REP-103q_flu_2_enu
, then the following transformation is to be applied (where*
is the quaternion product):Of course the inverse can be applied: if an orientation is known in RED-103
q_flu_2_enu
, that can be transformed into Ardupilot's frameq_frd_2_ned
with: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.
This looks good, although I wonder if the maintainers want the REP to be language agnostic. If they prefer code language agnostic, I can write it up in Latex or something.