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 analyze_rosbags_parallel.py #217

Conversation

SakodaShintaro
Copy link
Contributor

@SakodaShintaro SakodaShintaro commented Feb 27, 2025

Description

This pull request adds a new script analyze_rosbags_parallel.py and refactors code for usability.

How was this PR tested?

(1) Perform DLRv2 many times.

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

Results

$ tree $HOME/driving_log_replayer_v2/out/ -L 1
$HOME/driving_log_replayer_v2/out/
├── 2025-0226-180433
├── 2025-0226-180523
├── 2025-0226-181213
├── 2025-0227-090137
├── 2025-0227-103404
└── latest -> /home/shintarosakoda/driving_log_replayer_v2/out/2025-0227-103404

6 directories, 0 files

(2) Perform analyze_rosbags_parallel.py

ros2 run autoware_localization_evaluation_scripts analyze_rosbags_parallel.py \
    $HOME/driving_log_replayer_v2/out \
    --parallel_num=4

Notes for reviewers

None.

Effects on system behavior

None.

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

github-actions bot commented Feb 27, 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 changed the title feat: add analyze_rosbags_parallel.sh feat: add analyze_rosbags_parallel.py Feb 27, 2025
@SakodaShintaro SakodaShintaro marked this pull request as ready for review February 28, 2025 00:35
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

@SakodaShintaro SakodaShintaro merged commit aa398b1 into autowarefoundation:main Feb 28, 2025
19 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