-
Notifications
You must be signed in to change notification settings - Fork 701
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 lidar_marker_localizer
#5573
feat(localization): add lidar_marker_localizer
#5573
Conversation
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: yamato-ando <Yamato ANDO>
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: yamato-ando <Yamato ANDO>
Signed-off-by: yamato-ando <Yamato ANDO>
Signed-off-by: yamato-ando <Yamato ANDO>
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: Yamato Ando <yamato.ando@tier4.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 checked this PR by TIER IV internal Evaluator. And I noticed that there is a issue with
I will fix it. |
Sorry, I realized that the above problem has already been resolved at edabd49 |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #5573 +/- ##
==========================================
+ Coverage 24.02% 29.22% +5.20%
==========================================
Files 1384 1602 +218
Lines 102177 116425 +14248
Branches 38956 49966 +11010
==========================================
+ Hits 24544 34022 +9478
+ Misses 75138 73256 -1882
- Partials 2495 9147 +6652
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
@SakodaShintaro @YamatoAndo
|
@TaikiYamada4 |
Thanks! I found it, so the current PR here is approvable for me 👍 |
I was also able to confirm that it works too. This PR is ready to merge. |
ProblemI am encountering an issue where, despite successfully launching Autoware and loading the map, I am unable to see the car or point clouds in the RViz display. Additionally, this problem persists even after I attempt to initialize with GNSS. Commands UsedI used the following commands to launch the simulation and play the rosbag: ros2 launch autoware_launch logging_simulator.launch.xml map_path:=$HOME/autoware_map/kokusouken vehicle_model:=sample_vehicle sensor_model:=sample_sensor_kit pose_source:=ndt_lidar-marker ros2 bag play autoware_map/kokusouken/rosbag/ Steps to Reproduce
Expected BehaviorThe car and point clouds should be visible in the RViz display, and GNSS initialization should allow proper visualization of the vehicle's position and sensor data. Actual BehaviorNeither the car nor the point clouds are visible in RViz, even after attempting GNSS initialization. Additional Information
|
The rosbag doesn't contain the |
Tests Performed1. Start Autowareros2 launch autoware_launch logging_simulator.launch.xml \
map_path:=$HOME/autoware_map/kokusouken \
vehicle_model:=sample_vehicle \
sensor_model:=sample_sensor_kit \
pose_source:=ndt_lidar-marker 2. Correct Way of Running Rosbagros2 bag play autoware_map/kokusouken/rosbag/ --clock 200 3. Play Rosbag Video
/localization/pose_estimator/lidar_marker_localizer/pointcloud_preprocessor/ring_filter/pointcloud
/localization/pose_estimator/lidar_marker_localizer/lidar_marker_localizer/debug/marker_mapped
/localization/pose_estimator/lidar_marker_localizer/lidar_marker_localizer/debug/marker_detected
/localization/pose_estimator/lidar_marker_localizer/lidar_marker_localizer/debug/marker_pointcloud
/localization/pose_estimator/lidar_marker_localizer/lidar_marker_localizer/debug/pose_with_covariance Screencast.from.08-13-2024.01.26.21.PM.webmEffects on System Behavior
Pre-review Checklist for the PR Author[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines. In-review Checklist for the PR Reviewers[ ] The PR follows the pull request guidelines. Post-review Checklist for the PR Author[ ] There are no open discussions, or they are tracked via tickets. |
@cavadibrahimli1 |
@cavadibrahimli1 |
@TaikiYamada4 Thank you for your follow-up. I apologize for not responding sooner—I got caught up with some other urgent tasks and unintentionally missed your earlier comment. I think the problem is with my computer. Because when I did the same test with my other computer, it worked without any problems. But in this test, there is a slight drift. What do you think? |
It depends on what kind of drift is happening. Are you talking about the vehicle doesn't match expecially in the Z coordinates? Plus, I want to ask your stance on this PR. Is your comment meant as an approval or a request change? |
@TaikiYamada4 Thank you for pointing that out. After investigating, I realized the issue was due to a problem with my PC’s Autoware setup, which caused the slight drift in the test. The NDT was indeed functioning correctly, and there are no issues with the code itself. I’m approving this PR as the problem was on my end, not with the submission. Thank you for your patience and thorough review. |
…5573) * Added lidar_marker_localizer Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * style(pre-commit): autofix * fix launch file Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * Removed subscriber_member_function.cpp Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Renamed the package and the node Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * style(pre-commit): autofix * Removed pose_array_interpolator Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed unused files Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed include dir Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * style(pre-commit): autofix * Renamed wrong names Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * fix magic number Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * fix bug Signed-off-by: yamato-ando <Yamato ANDO> * parameterized Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * add base_covariance Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * Removed std::cerr Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed unused code Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed unnecessary publishers Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Changed to use alias Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed result_base_link_on_map Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Changed to use "using std::placeholders" Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Refactored points_callback Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed as pointed out by linter Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Refactored lidar_marker_localizer Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed const reference Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Refactor point variables Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Added detect_landmarks Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * rework filering params Signed-off-by: yamato-ando <Yamato ANDO> * fix marker position Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * fix build error Signed-off-by: yamato-ando <Yamato ANDO> * fix marker position Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * update readme Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * Added calculate_diff_pose Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed to pass linter Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * update package.xml Signed-off-by: yamato-ando <Yamato ANDO> * Fixed to use SmartPoseBuffer Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed function calculate_diff_pose to calculate_new_self_pose Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Compatible with the latest landmark_manager Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed pub_marker Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed launch Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed unused arg Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed limit_distance_from_self_pose_to_marker_from_lanelet2 Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed parse_landmarks Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed parameter type Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed typo Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * rework diagnostics Signed-off-by: yamato-ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * rotate covariance Signed-off-by: yamato-ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * add json schema Signed-off-by: yamato-ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * parameterize marker name Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * python to xml Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * update launch files Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * add debug/pose_with_covariance Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * update readme Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * update readme Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add depend Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add sample dataset Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add param marker_height_from_ground Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * fix typo Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add includes Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add name to TODO comment Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * rename lidar-marker Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * modify sample dataset url Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add flowchat to readme Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix callbackgroup Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add TODO comment Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix throttle timer Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * delete unused valriable Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * delete unused line Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * fix the duplicated code Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * avoid division by zero Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix TODO comment Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix uncrustify failed Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * Update localization/landmark_based_localizer/lidar_marker_localizer/src/lidar_marker_localizer.cpp Co-authored-by: SakodaShintaro <rgbygscrsedppbwg@gmail.com> * change lint_common Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * update CMakeLists Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * save intensity func Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * style(pre-commit): autofix * fix build error Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * apply PointXYZIRC Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add autoware prefix Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * componentize Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * move directory Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * use localization_util's diagnostics lib Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * applay linter Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * to pass spell-check Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * remove _ex Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * refactor Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * remove unused depend Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * update readme Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix typo Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix json Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix autoware prefix Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix --------- Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> Signed-off-by: yamato-ando <Yamato ANDO> Signed-off-by: yamato-ando <yamato.ando@tier4.jp> Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: yamato-ando <Yamato ANDO> Co-authored-by: Yamato Ando <yamato.ando@gmail.com> Co-authored-by: yamato-ando <yamato.ando@tier4.jp>
…5573) * Added lidar_marker_localizer Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * style(pre-commit): autofix * fix launch file Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * Removed subscriber_member_function.cpp Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Renamed the package and the node Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * style(pre-commit): autofix * Removed pose_array_interpolator Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed unused files Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed include dir Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * style(pre-commit): autofix * Renamed wrong names Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * fix magic number Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * fix bug Signed-off-by: yamato-ando <Yamato ANDO> * parameterized Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * add base_covariance Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * Removed std::cerr Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed unused code Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed unnecessary publishers Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Changed to use alias Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed result_base_link_on_map Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Changed to use "using std::placeholders" Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Refactored points_callback Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed as pointed out by linter Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Refactored lidar_marker_localizer Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed const reference Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Refactor point variables Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Added detect_landmarks Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * rework filering params Signed-off-by: yamato-ando <Yamato ANDO> * fix marker position Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * fix build error Signed-off-by: yamato-ando <Yamato ANDO> * fix marker position Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * update readme Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * Added calculate_diff_pose Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed to pass linter Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * update package.xml Signed-off-by: yamato-ando <Yamato ANDO> * Fixed to use SmartPoseBuffer Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed function calculate_diff_pose to calculate_new_self_pose Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Compatible with the latest landmark_manager Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed pub_marker Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed launch Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed unused arg Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed limit_distance_from_self_pose_to_marker_from_lanelet2 Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed parse_landmarks Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed parameter type Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed typo Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * rework diagnostics Signed-off-by: yamato-ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * rotate covariance Signed-off-by: yamato-ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * add json schema Signed-off-by: yamato-ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * parameterize marker name Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * python to xml Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * update launch files Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * add debug/pose_with_covariance Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * update readme Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * update readme Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add depend Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add sample dataset Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add param marker_height_from_ground Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * fix typo Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add includes Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add name to TODO comment Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * rename lidar-marker Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * modify sample dataset url Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add flowchat to readme Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix callbackgroup Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add TODO comment Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix throttle timer Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * delete unused valriable Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * delete unused line Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * fix the duplicated code Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * avoid division by zero Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix TODO comment Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix uncrustify failed Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * Update localization/landmark_based_localizer/lidar_marker_localizer/src/lidar_marker_localizer.cpp Co-authored-by: SakodaShintaro <rgbygscrsedppbwg@gmail.com> * change lint_common Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * update CMakeLists Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * save intensity func Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * style(pre-commit): autofix * fix build error Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * apply PointXYZIRC Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add autoware prefix Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * componentize Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * move directory Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * use localization_util's diagnostics lib Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * applay linter Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * to pass spell-check Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * remove _ex Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * refactor Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * remove unused depend Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * update readme Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix typo Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix json Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix autoware prefix Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix --------- Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> Signed-off-by: yamato-ando <Yamato ANDO> Signed-off-by: yamato-ando <yamato.ando@tier4.jp> Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: yamato-ando <Yamato ANDO> Co-authored-by: Yamato Ando <yamato.ando@gmail.com> Co-authored-by: yamato-ando <yamato.ando@tier4.jp>
…5573) * Added lidar_marker_localizer Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * style(pre-commit): autofix * fix launch file Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * Removed subscriber_member_function.cpp Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Renamed the package and the node Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * style(pre-commit): autofix * Removed pose_array_interpolator Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed unused files Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed include dir Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * style(pre-commit): autofix * Renamed wrong names Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * fix magic number Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * fix bug Signed-off-by: yamato-ando <Yamato ANDO> * parameterized Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * add base_covariance Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * Removed std::cerr Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed unused code Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed unnecessary publishers Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Changed to use alias Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed result_base_link_on_map Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Changed to use "using std::placeholders" Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Refactored points_callback Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed as pointed out by linter Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Refactored lidar_marker_localizer Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed const reference Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Refactor point variables Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Added detect_landmarks Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * rework filering params Signed-off-by: yamato-ando <Yamato ANDO> * fix marker position Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * fix build error Signed-off-by: yamato-ando <Yamato ANDO> * fix marker position Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * update readme Signed-off-by: yamato-ando <Yamato ANDO> * style(pre-commit): autofix * Added calculate_diff_pose Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed to pass linter Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * update package.xml Signed-off-by: yamato-ando <Yamato ANDO> * Fixed to use SmartPoseBuffer Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed function calculate_diff_pose to calculate_new_self_pose Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Compatible with the latest landmark_manager Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed pub_marker Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed launch Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed unused arg Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed limit_distance_from_self_pose_to_marker_from_lanelet2 Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed parse_landmarks Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed parameter type Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Fixed typo Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * rework diagnostics Signed-off-by: yamato-ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * rotate covariance Signed-off-by: yamato-ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * add json schema Signed-off-by: yamato-ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * parameterize marker name Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * python to xml Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * update launch files Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * add debug/pose_with_covariance Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * update readme Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * update readme Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add depend Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add sample dataset Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add param marker_height_from_ground Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * fix typo Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add includes Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add name to TODO comment Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * rename lidar-marker Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * modify sample dataset url Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add flowchat to readme Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix callbackgroup Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add TODO comment Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix throttle timer Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * delete unused valriable Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * delete unused line Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * fix the duplicated code Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * avoid division by zero Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix TODO comment Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix uncrustify failed Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * Update localization/landmark_based_localizer/lidar_marker_localizer/src/lidar_marker_localizer.cpp Co-authored-by: SakodaShintaro <rgbygscrsedppbwg@gmail.com> * change lint_common Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * update CMakeLists Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * save intensity func Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * style(pre-commit): autofix * fix build error Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * apply PointXYZIRC Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * add autoware prefix Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * componentize Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * move directory Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * use localization_util's diagnostics lib Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * applay linter Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * to pass spell-check Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * remove _ex Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * refactor Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix * remove unused depend Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * update readme Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix typo Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix json Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * fix autoware prefix Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> * style(pre-commit): autofix --------- Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> Signed-off-by: yamato-ando <Yamato ANDO> Signed-off-by: yamato-ando <yamato.ando@tier4.jp> Signed-off-by: Yamato Ando <yamato.ando@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: yamato-ando <Yamato ANDO> Co-authored-by: Yamato Ando <yamato.ando@gmail.com> Co-authored-by: yamato-ando <yamato.ando@tier4.jp>
Description
Related discussion: https://github.com/orgs/autowarefoundation/discussions/4190
merge with autowarefoundation/autoware_launch#861
Tests performed
The sample dataset was acquired in National Institute for Land and Infrastructure Management, Full-scale tunnel experiment facility. The reflectors were installed by Taisei Corporation.
pose_source:=ndt_lidar-marker
sample_data_for_lidar_marker_localization2.mp4
Please visualize the following topic in RViz.
/localization/pose_estimator/lidar_marker_localizer/pointcloud_preprocessor/ring_filter/pointcloud
input lidar pointcloud
/localization/pose_estimator/lidar_marker_localizer/lidar_marker_localizer/debug/marker_mapped
marker information listed in the vector map
/localization/pose_estimator/lidar_marker_localizer/lidar_marker_localizer/debug/marker_detected
detected marker positions
/localization/pose_estimator/lidar_marker_localizer/lidar_marker_localizer/debug/marker_pointcloud
detected marker pointcloud
/localization/pose_estimator/lidar_marker_localizer/lidar_marker_localizer/debug/pose_with_covariance
estimated position by lidar_marker_localizer
Effects on system behavior
Not applicable.
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.