-
Notifications
You must be signed in to change notification settings - Fork 682
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
refactor(ndt_scan_matcher): remove Eigen::Affine3d #1903
refactor(ndt_scan_matcher): remove Eigen::Affine3d #1903
Conversation
Signed-off-by: kminoda <koji.m.minoda@gmail.com>
Codecov ReportBase: 10.05% // Head: 10.02% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #1903 +/- ##
==========================================
- Coverage 10.05% 10.02% -0.04%
==========================================
Files 1256 1256
Lines 90472 90687 +215
Branches 20335 20335
==========================================
- Hits 9095 9089 -6
- Misses 72020 72239 +219
- Partials 9357 9359 +2
*This pull request uses carry forward flags. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Signed-off-by: kminoda <koji.minoda@tier4.jp>
Signed-off-by: kminoda <koji.minoda@tier4.jp>
@@ -254,3 +247,28 @@ std::vector<geometry_msgs::msg::Pose> createRandomPoseArray( | |||
|
|||
return poses; | |||
} | |||
|
|||
Eigen::Matrix4f fromRosPoseToEigenMatrix4f(const geometry_msgs::msg::Pose & ros_pose) |
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 think rosPoseToEigenMatrix4f
can make sense
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.
Or just poseToMatrix4f
is also sufficient because we can infer from argument/return types
Signed-off-by: kminoda koji.m.minoda@gmail.com
Description
Removed Eigen::Affine3d from ndt_scan_matcher_core.cpp by creating a new util function in util_func.cpp.
Related links
A smaller version of #1757
Tests performed
Notes for reviewers
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.