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
Remove many extra conversions from Matrix3x3 to Quaternion #741
base: rolling
Are you sure you want to change the base?
Remove many extra conversions from Matrix3x3 to Quaternion #741
Changes from 7 commits
246fa84
e3ccee1
e791331
51f75b4
32660ca
46d66fc
0361624
a979245
7e0f4b3
dc2f979
0030dfb
d524ed8
8bd813a
77c8010
b399f8f
bc5db14
be1ba27
86c6181
bb368e5
a2e08e6
5d33825
edb14fe
7c93938
ca99cf9
095195c
eaa507b
6774cb6
2e13e45
9193566
66d5d81
06c5368
bdbbf81
e117aa1
f9f7cea
c0f2108
71e0b94
ee7008f
4b4e499
546dc0e
ac1b450
c0767e0
acefb5c
b24d3dc
61f8228
21883f5
47a5eda
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.
note: I changed the string values into references - this really should be a
std::string_view
- it shouldn't break any code, and ROS is c++17 now - but it's somewhat a moot point as SSO will kick in for mostchar*
conversions.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.
Note for the next reviewer, this change keeps the rotation quat as a quat and the positions as a Vec3 instead of promoting it to a tf2::Transform, saving us a slight conversion cost.
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.
Note to next reviewer: now we just called the new overloaded function.
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.
Since we're doing some heavy construction here we would wise to add some documentation for the next person who has to work on this code.