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 autoware_localization_evaluation_scripts #215

Conversation

SakodaShintaro
Copy link
Contributor

@SakodaShintaro SakodaShintaro commented Feb 26, 2025

Description

This pull request adds a new package autoware_localization_evaluation_scripts.

The package contains some scripts for evaluating the localization of Autoware.

For now there is only one script plot_diagnostics.py, but I will add more scripts in the near future.

How was this PR tested?

Setup DLRv2 : https://tier4.github.io/driving_log_replayer_v2/quick_start/setup/

ros2 launch driving_log_replayer_v2 driving_log_replayer_v2.launch.py \
    scenario_path:=$HOME/driving_log_replayer_v2/localization.yaml

ros2 run autoware_localization_evaluation_scripts plot_diagnostics.py \
    $HOME/driving_log_replayer_v2/out/latest/result_bag

Notes for reviewers

None.

Effects on system behavior

None.

Copy link

github-actions bot commented Feb 26, 2025

Thank you for contributing to the Autoware project!

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

Please ensure:

@SakodaShintaro SakodaShintaro marked this pull request as ready for review February 26, 2025 09:30
Copy link

@hayato-m126 hayato-m126 left a comment

Choose a reason for hiding this comment

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

This tool works fine with sqlite3 bag

2025-02-27_10-40

If mcap is supported, it would be perfect.

Signed-off-by: Shintaro Sakoda <[email protected]>
Copy link

@hayato-m126 hayato-m126 left a comment

Choose a reason for hiding this comment

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

LGTM

I have confirmed that the analysis can be done even with mcap bag

@SakodaShintaro SakodaShintaro merged commit 52e1711 into autowarefoundation:main Feb 27, 2025
17 checks passed
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.

2 participants