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: add tools to collect and check average TPs of PCD maps #213

Open
wants to merge 24 commits into
base: main
Choose a base branch
from

Conversation

anhnv3991
Copy link
Contributor

@anhnv3991 anhnv3991 commented Feb 24, 2025

Description

  • Add a tool to collect average TPs of PCD map segments
  • Add a tool to visualize the average TPs of PCD map segments to rviz2
  • Add a tool to compare a rosbag TPs with a map's TPs and display the map areas where there are significant TP difference between the rosbag's TPs and the map's TPs

How was this PR tested?

  • Please see README.
  • Create TP file (.csv) with the old rosbag and pcd map by TP_collector
  • Evaluate the new rosbag that has same route to old one and some changes of shape characteristic by TP_checker.
  • Check the result that shows the segment where the shape characteristic changes.

Notes for reviewers

None.

Effects on system behavior

None.

Copy link

github-actions bot commented Feb 24, 2025

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

pre-commit-ci bot and others added 22 commits February 24, 2025 08:57
Signed-off-by: Anh Nguyen <[email protected]>
Signed-off-by: Anh Nguyen <[email protected]>
Signed-off-by: Anh Nguyen <[email protected]>
@Motsu-san
Copy link
Contributor

@anhnv3991 Thank you for your pull-request!
I updated the test procedure of the description. If there is something wrong, please modify it.

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.

@anhnv3991 The change regarding pointcloud_divider is only to follow the latest in the README and the launch file, so there is no need to change the way we use the tool before and after the change, right?


<buildtool_depend>ament_cmake_auto</buildtool_depend>
<buildtool_depend>autoware_cmake</buildtool_depend>
<buildtool_depend>tier4_debug_msgs</buildtool_depend>
Copy link
Contributor

@Motsu-san Motsu-san Mar 12, 2025

Choose a reason for hiding this comment

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

I would like to have it made with autoware_internal_debug_msgs instead of tier4_debug_msgs as much as possible, are there any restrictions?


- TP collector: collect the average TPs per segment of a PCD map
- TP checker: compare a rosbag's TPs with a map's TPs and highlight the map areas where the rosbag's TPs differ significantly from the map's TPs.

Copy link
Contributor

Choose a reason for hiding this comment

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

Could you add the python requirements?

@anhnv3991
Copy link
Contributor Author

@Motsu-san

@anhnv3991 The change regarding pointcloud_divider is only to follow the latest in the README and the launch file, so there is no need to change the way we use the tool before and after the change, right?

Yes, we can still use pointcloud_divider like before. I just move parameters to the launch file to give us more flexibility to interract with this pointcloud_divider from the other programs.

Copy link
Contributor

@TaikiYamada4 TaikiYamada4 left a comment

Choose a reason for hiding this comment

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

@anhnv3991
The LICENSE file says BSD 3-Clause but the python scripts say Apache-2.0. Is that OK?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants