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
Fix coordinate frames on state message #81
Fix coordinate frames on state message #81
Changes from 11 commits
4f7259a
0f8c4be
28d95f8
c7f74aa
edfba8b
84f557a
0429f8f
2b02d51
9308466
22e903d
5903584
23e7631
53f5612
b09cff0
fcf94e3
90e19b6
409c481
e592922
55ab09d
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.
Here's a simple example, I manually pitched the vehicle's nose down. The frames shown are ENU (red: East, green: North, blue: Up).
This corresponds to a negative pitch about North (green). That's the first element of NED, and the second of END. The print outs of the line below are consistent with that:
NED: -0.505718 0.000121 0 -- END: 0.000138 -0.505718 6.8e-05
I think that what could be happening is that the controller expects the vehicle to start facing North instead of West. A nosedown pitch with the robot facing North would be negative on East, and NED would give us a negative angle on it's Y coordinate.
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.
I just verified that if the vehicle starts facing North, the NED orientation works for the controllers.
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.
Pushed in 23e7631, checking with @braanan before updating all test expectations.