Skip to content
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

Conversation

kminoda
Copy link
Contributor

@kminoda kminoda commented Sep 17, 2022

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.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.
  • The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

kminoda and others added 3 commits September 17, 2022 10:35
Signed-off-by: kminoda <koji.m.minoda@gmail.com>
Signed-off-by: kminoda <koji.m.minoda@gmail.com>
@codecov
Copy link

codecov bot commented Sep 17, 2022

Codecov Report

Base: 10.05% // Head: 10.02% // Decreases project coverage by -0.03% ⚠️

Coverage data is based on head (6bf5170) compared to base (8cbaba9).
Patch coverage: 0.00% of modified lines in pull request are covered.

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     
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 10.03% <0.00%> (-0.01%) ⬇️ Carriedforward from db369be

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
...can_matcher/include/ndt_scan_matcher/util_func.hpp 0.00% <ø> (ø)
...ion/ndt_scan_matcher/src/ndt_scan_matcher_core.cpp 0.00% <0.00%> (ø)
localization/ndt_scan_matcher/src/util_func.cpp 0.00% <0.00%> (ø)
...vehicle_model/sim_model_ideal_steer_acc_geared.cpp 73.58% <0.00%> (-9.44%) ⬇️
...planning_evaluator/src/planning_evaluator_node.cpp 37.11% <0.00%> (-1.04%) ⬇️

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.
📢 Do you have feedback about the report comment? Let us know in this issue.

@kminoda kminoda added the component:localization Vehicle's position determination in its environment. (auto-assigned) label Sep 20, 2022
@kminoda kminoda self-assigned this Sep 20, 2022
@kminoda kminoda marked this pull request as ready for review September 20, 2022 00:59
@kminoda kminoda requested a review from YamatoAndo as a code owner September 20, 2022 00:59
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)
Copy link
Contributor

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

Copy link
Contributor

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

@IshitaTakeshi IshitaTakeshi self-requested a review September 21, 2022 06:13
@kminoda kminoda marked this pull request as draft September 28, 2022 05:08
@kminoda kminoda closed this Oct 5, 2022
@kminoda kminoda deleted the refactor/ndt_scan_matcher/remove_affine_type branch August 10, 2023 08:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:localization Vehicle's position determination in its environment. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants