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

feat(localization): add lidar_marker_localizer #5573

Merged

Conversation

SakodaShintaro
Copy link
Contributor

@SakodaShintaro SakodaShintaro commented Nov 14, 2023

Description

Related discussion: https://github.com/orgs/autowarefoundation/discussions/4190

merge with autowarefoundation/autoware_launch#861

Tests performed

  1. Download sample dataset

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.

  1. Launch Autoware with pose_source:=ndt_lidar-marker
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
  1. play rosbag
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.

  • There are no open discussions or they are tracked via tickets.

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

Sorry, something went wrong.

Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
@github-actions github-actions bot added type:documentation Creating or refining documentation. (auto-assigned) component:localization Vehicle's position determination in its environment. (auto-assigned) component:launch Launch files, scripts and initialization tools. (auto-assigned) labels Nov 14, 2023
pre-commit-ci bot and others added 26 commits November 14, 2023 05:13
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: yamato-ando <Yamato ANDO>

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
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>
fix json
Signed-off-by: Yamato Ando <yamato.ando@tier4.jp>
@YamatoAndo YamatoAndo marked this pull request as ready for review July 30, 2024 08:56
Signed-off-by: Yamato Ando <yamato.ando@tier4.jp>
@YamatoAndo YamatoAndo added the run:deploy-docs Mark for deploy-docs action generation. (used-by-ci) label Jul 30, 2024
Copy link
Contributor

@Motsu-san Motsu-san left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your pull-request.
I used this function on some tunnels and it was worked well.
LGTMeow

@SakodaShintaro
Copy link
Contributor Author

I checked this PR by TIER IV internal Evaluator.
https://evaluation.tier4.jp/evaluation/reports/cf23ec1f-f7c8-54e8-b9a2-5b549945d7b4?project_id=prd_jt

And I noticed that there is a issue with

tier4_localization_launch: Cannot locate rosdep definition for [lidar_marker_localizer]

I will fix it.

@SakodaShintaro
Copy link
Contributor Author

Sorry, I realized that the above problem has already been resolved at edabd49

@SakodaShintaro SakodaShintaro added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Aug 5, 2024
Copy link

codecov bot commented Aug 5, 2024

Codecov Report

Attention: Patch coverage is 0% with 294 lines in your changes missing coverage. Please review.

Project coverage is 29.22%. Comparing base (44e0535) to head (0521fd7).
Report is 18 commits behind head on main.

Files Patch % Lines
...ar_marker_localizer/src/lidar_marker_localizer.cpp 0.00% 294 Missing ⚠️
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     
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 29.35% <ø> (+5.33%) ⬆️ Carriedforward from 37665bd

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

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@TaikiYamada4
Copy link
Contributor

@SakodaShintaro @YamatoAndo
I see that the localization is going well, except I can't see the topic /localization/pose_estimator/lidar_marker_localizer/lidar_marker_localizer/debug/marker_mapped on rviz. What should it be like on rviz?

ros2 topic echo works and returns something like this.

header:
    stamp:
      sec: 1723008684
      nanosec: 791924782
    frame_id: map
  ns: landmark_text
  id: 18
  type: 9
  action: 0
  pose:
    position:
      x: 16518.486750000855
      y: 97361.17539999983
      z: 28.375
    orientation:
      x: 0.5453159159375941
      y: -0.45014503421135593
      z: -0.4501450342113559
      w: 0.5453159159375941
  scale:
    x: 0.0
    y: 0.0
    z: 0.5
  color:
    r: 1.0
    g: 0.0
    b: 0.0
    a: 1.0
  lifetime:
    sec: 0
    nanosec: 0
  frame_locked: false
  points: []
  colors: []
  texture_resource: ''
  texture:
    header:
      stamp:
        sec: 0
        nanosec: 0
      frame_id: ''
    format: ''
    data: []
  uv_coordinates: []
  text: (0)
  mesh_resource: ''
  mesh_file:
    filename: ''
    data: []
  mesh_use_embedded_materials: false

@YamatoAndo
Copy link
Contributor

@TaikiYamada4
Please set "transient local"

@TaikiYamada4
Copy link
Contributor

@YamatoAndo

Thanks! I found it, so the current PR here is approvable for me 👍

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@SakodaShintaro
Copy link
Contributor Author

I was also able to confirm that it works too. This PR is ready to merge.

@cavadibrahimli1
Copy link

Screenshot from 2024-08-13 12-12-59

Problem

I 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 Used

I 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

  1. Launch Autoware with the provided commands.
  2. Open RViz and observe that the car and point clouds are not visible.
  3. Attempt to initialize with GNSS, but the issue remains unresolved.

Expected Behavior

The 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 Behavior

Neither the car nor the point clouds are visible in RViz, even after attempting GNSS initialization.

Additional Information

  • Running on UBUNTU 22.04 with ROS 2 humble
  • Attached a screenshot of the RViz display showing the current state.

@TaikiYamada4
Copy link
Contributor

TaikiYamada4 commented Aug 13, 2024

@cavadibrahimli1

The rosbag doesn't contain the /clock topic so you need the --clock 200 option to your ros2 bag play command, but did you try that?

@cavadibrahimli1
Copy link

Tests Performed

1. Start Autoware

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

2. Correct Way of Running Rosbag

ros2 bag play autoware_map/kokusouken/rosbag/ --clock 200

@TaikiYamada4

3. Play Rosbag Video

  • A video was recorded to demonstrate the correct playback of the rosbag and successful visualization of the following topics in RViz:
/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.webm

Effects on System Behavior

  • System Initialization: The system initializes correctly when launching Autoware with the specified command, loading the map, vehicle model, and sensor configurations without issues.

  • Rosbag Playback: Playing the rosbag with the --clock 200 option generally ensures synchronized data processing, accurately reflecting real-time behavior. However, there are occasional instances where the rosbag deviates from the expected path, which may require manual intervention or resetting the playback to correct the trajectory.

  • Data Visualization: The visualized topics in RViz, such as point clouds and marker positions, display as expected, confirming that the system’s localization and sensor data processing functions are operating correctly.

  • Performance Considerations: During testing, the system performed well under normal conditions. However, it was observed that the system might freeze if a swap file is not created, particularly during memory-intensive operations. Creating a swap file is recommended to prevent these freezes and ensure smooth performance.

  • Resource Usage: The system’s resource usage remains within acceptable limits under typical conditions. However, memory usage can spike during extensive data processing, emphasizing the need for adequate memory management, including the use of a swap file, to maintain system stability.

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.

YamatoAndo and others added 2 commits August 20, 2024 13:27

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@TaikiYamada4
Copy link
Contributor

@cavadibrahimli1
Is your comment an approval or something else?
It seems your video shows us the mismatch between the observed pointcloud and the pointcloud map.
Do you have any reasons why?

@TaikiYamada4
Copy link
Contributor

@cavadibrahimli1
This is a friendly reminder about my comment. What do you think about my previous comment?

@cavadibrahimli1
Copy link

@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?

@TaikiYamada4
Copy link
Contributor

TaikiYamada4 commented Aug 22, 2024

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?
In your video it looks like the NDT is not working at all, but are you sure the ndt is outputting topics?

Plus, I want to ask your stance on this PR. Is your comment meant as an approval or a request change?

@cavadibrahimli1
Copy link

@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.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@YamatoAndo YamatoAndo merged commit f656a12 into autowarefoundation:main Aug 23, 2024
29 of 31 checks passed
kyoichi-sugahara pushed a commit to kyoichi-sugahara/autoware.universe that referenced this pull request Aug 27, 2024
…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>
a-maumau pushed a commit to a-maumau/autoware.universe that referenced this pull request Sep 2, 2024
…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>
ktro2828 pushed a commit to ktro2828/autoware.universe that referenced this pull request Sep 18, 2024
…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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:launch Launch files, scripts and initialization tools. (auto-assigned) component:localization Vehicle's position determination in its environment. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) run:deploy-docs Mark for deploy-docs action generation. (used-by-ci) type:documentation Creating or refining documentation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants