-
Notifications
You must be signed in to change notification settings - Fork 673
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: add gnss/imu localizer #3063
feat: add gnss/imu localizer #3063
Conversation
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #3063 +/- ##
==========================================
- Coverage 14.61% 12.48% -2.14%
==========================================
Files 1294 1351 +57
Lines 92007 92662 +655
Branches 29071 26027 -3044
==========================================
- Hits 13451 11571 -1880
- Misses 64111 68878 +4767
+ Partials 14445 12213 -2232
*This pull request uses carry forward flags. Click here to find out more.
... and 449 files with indirect coverage changes 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 in Codecov by Sentry. |
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
Mention the previous reviewer who is not in the "Reviewers". |
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
@KYabuuchi |
Thank you for reflecting my review! 👍 |
I have already reflected it in autoware_launch. Please wait a little for the modification in autoware-documentation. |
documentation was also updated |
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 there is no major problem.
The following two comments will be the last review from me.
...p4_localization_launch/eagleye_pose_twist_localization_launch/localization_launch.drawio.svg
Outdated
Show resolved
Hide resolved
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.
Mostly LGTM, but left some minor comments. Thank you for all of your work on our review 🙏
Also, please make sure that you've got an agreement from architects about this specific directory structure, as IMHO this is the most challenging (and also the most interesting) part where we have to design carefully so that the contributers can easily add their implementation.
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
localization/pose_initializer/launch/pose_initializer.launch.xml
Outdated
Show resolved
Hide resolved
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
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, but we should also have approval from Localization engineers before merging.
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: Ryohei Sasaki <ryohei.sasaki@map4.jp>
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 tested all localizers(NDT, NDT+eagleye, eagleye) again, and they worked well.
Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp>
* Add gnss_imu_localizar Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Fix twist switching bug Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Fix spell and reformat Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Parameterize directories with related launches Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Fix mis-spell Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Correction of characters not registered in the dictionary Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Make ealeye_twist false Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Delete unnecessary parts Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Rename localization switching parameters Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Rename twist_estimator_mode parameter pattern Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Simplify conditional branching Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Support for changes in pose_initializer Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Fix problem of double eagleye activation Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Fix unnecessary changes Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Remove conditional branching by pose_estimatar_mode in system_error_monitor Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Change launch directory structure Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Remove unnecessary parameters and files Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Fix indentations Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Coding modifications based on conventions Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Change the structure diagram in the package Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Integrate map4_localization_component1,2 Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Add drawio.svg Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Delete duplicate files Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Change auther and add maintainer Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Delete unnecessary modules in drawio Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Fixing confusing sentences Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Fine-tuning of drawio Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Fix authomaintainerr Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Rename ndt to ndt_scan_matcher Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * follow the naming convention Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Add newlines to the end of files to fix end-of-file-fixer hook errors Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * List the packages that depend on map4_localization_launch correctly Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> * Ran precommit locally Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> --------- Signed-off-by: Ryohei Sasaki <ryohei.sasaki@map4.jp> Signed-off-by: Mingyu Li <mingyu.li@tier4.jp>
Description
The following PR for autoware.universe changes for eagleye (GNSS/IMU) had a problem with the commit log, so I created another PR.
#2848
This is the PR for integrating GNSS/IMU localizar discussed in the discussion below.
https://github.com/orgs/autowarefoundation/discussions/3257
Added gnss imu localizar related launch,paramAddedpose_estimator_mode
(lidar, gnss),twist_estimator_mode
(gyro_odom_fusion, gyro_odom_gnss_fusion) parameter inlocalization.launch.xml
to switch between pose,twistIn gyro_odom_gnss_fusion mode, twist is corrected by gnss.You can adjust the eagleye pose output inlaunch/tier4_localization_launch/launch/eagleye/fix2pose.xml
.The above conditional branching for each pose_estimator and twist_estimator within the
tier4_localization_launch
package is complex and has been changed.Instead, we have introduced the
map4_localization_launch
packages.A discussion on this is provided below.
(This is a private social networking site for the TIEV IV group.)
https://map4-inc.slack.com/archives/CEL0DR2S2/p1680144103464929?thread_ts=1680143206.632879&cid=CEL0DR2S2
Switch localization launch for each structure in
map4_localization_component.launch.xml
.Related links
autowarefoundation/autoware#3261
autowarefoundation/autoware_launch#200
autowarefoundation/autoware-documentation#334
Tests performed
Localizaiton methods are expected to work as normal, even if they change.
Sample rosbag is available for simple operation tests.
Also, if you have a rosbag of a system with the same configuration of sensors, you can check the operation to some extent.
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 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.