-
Notifications
You must be signed in to change notification settings - Fork 650
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
feat(localization): add a new localization package ar_tag_based_localizer
#4347
feat(localization): add a new localization package ar_tag_based_localizer
#4347
Conversation
Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp>
FYI. I added |
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
The spell-check-differential is still failing, but it is not related to the package added in this PR. |
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.
Thank you for the PR!
Before running it on my local PC, let me give some comments 🙏
localization/ar_tag_based_localizer/src/ar_tag_based_localizer_core.cpp
Outdated
Show resolved
Hide resolved
localization/ar_tag_based_localizer/src/ar_tag_based_localizer_core.cpp
Outdated
Show resolved
Hide resolved
localization/ar_tag_based_localizer/src/ar_tag_based_localizer_core.cpp
Outdated
Show resolved
Hide resolved
launch/tier4_localization_launch/launch/pose_twist_estimator/pose_twist_estimator.launch.xml
Outdated
Show resolved
Hide resolved
...zation/ar_tag_based_localizer/include/ar_tag_based_localizer/ar_tag_based_localizer_core.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
localization/ar_tag_based_localizer/launch/ar_tag_based_localizer.launch.xml
Outdated
Show resolved
Hide resolved
….yaml Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #4347 +/- ##
==========================================
+ Coverage 14.84% 14.87% +0.02%
==========================================
Files 1521 1520 -1
Lines 105265 104831 -434
Branches 32043 31792 -251
==========================================
- Hits 15629 15592 -37
+ Misses 72566 72197 -369
+ Partials 17070 17042 -28
*This pull request uses carry forward flags. Click here to find out more.
☔ View full report in Codecov by Sentry. |
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.
LGTM 👍
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.
LGTM!
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
2f44d6d
into
autowarefoundation:main
…lizer` (autowarefoundation#4347) * Added ar_tag_based_localizer Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp> * style(pre-commit): autofix * Added include Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed typo Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * style(pre-commit): autofix * Added comment Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Updated license statements Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Updated default topic names Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Replaced "_2_" to "_to_" Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed tf_listener_ shared_ptr to unique_ptr Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed unused get_transform Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed alt text Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed topic name Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp> * Fixed default topic name of tag_tf_caster Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp> * Fixed AR Tag Based Localizer to work independently Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp> * Added principle Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed how to launch Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Added link to sample data Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Added sample_result.png Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Update localization/ar_tag_based_localizer/README.md Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com> * Update localization/ar_tag_based_localizer/README.md Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com> * Fixed LaneLet2 to Lanelet2 Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * style(pre-commit): autofix * Update localization/ar_tag_based_localizer/src/ar_tag_based_localizer_core.cpp Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com> * style(pre-commit): autofix * Update localization/ar_tag_based_localizer/config/tag_tf_caster.param.yaml Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com> * Added unit to range parameter Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed std::pow Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed marker_size_ != -1 Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed maintainer Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Added ar_tag_based_localizer to tier4_localization_launch/package.xml Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * style(pre-commit): autofix * Fixed legend of node_diagram Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * style(pre-commit): autofix * Renamed range to distance_threshold Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed topic names in README.md Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed parameter input Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed right_to_left_ Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Added namespace ar_tag_based_localizer Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Updated inputs/outputs Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed covariance Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * style(pre-commit): autofix * Added principle of tag_tf_caster Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed ament_lint_auto Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed launch name Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> --------- Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp> Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: kminoda <44218668+kminoda@users.noreply.github.com>
Description
This pull request adds an AR-Tag based self-localization package.
Related links
Tests performed
This new package was evaluated using a specific set of rosbag, pcd_map, and lanelet2_map.
test data
For the protection of personal information, the image data in the sample data is blurred except for AR-Tags.
In summary, to compare with NDT,
The table shows that using the AR-Tag Based Localizer enables more accurate self-position estimation than using only twist in
ekf_localizer
.The results with the AR-Tag Based Localizer also have a large discrepancy compared to the NDT, but this is thought to be due to the lack of IMU data in the rosbag data.
Notes for reviewers
Please refer to the README.md for more details about
ar_tag_based_localizer
package.Interface changes
There are no interface changes other than the added packages.
Effects on system behavior
The AR-Tag Based Localizer node will not start unless the arguments are changed. In other words, it does not affect the default Autoware behavior.
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.