No version for distro humble showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.2.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_tools.git
VCS Type git
VCS Version main
Last Updated 2025-07-31
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A package for evaluation localization

Additional Links

No additional links.

Maintainers

  • Yamato Ando
  • Taiki Yamada
  • Shintaro Sakoda
  • Anh Nguyen
  • Masahiro Sakamoto
  • Temkei Kem

Authors

  • Shintaro Sakoda

autoware_localization_evaluation_scripts

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

Ths scripts are used for the result rosbags of localization, particularly the result_bag from driving_log_replayer_v2.

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

As a test, execute driving_log_replayer_v2 with the following command:

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

Then, use the scripts for processing the result_bag:

$HOME/driving_log_replayer_v2/out/latest/result_bag

plot_diagnostics.py

ros2 run autoware_localization_evaluation_scripts plot_diagnostics.py \
   <rosbag_path> \
   --save_dir=/your/path (default:rosbag_path/../)

[Example]

$ ros2 run autoware_localization_evaluation_scripts plot_diagnostics.py \
    $HOME/driving_log_replayer_v2/out/latest/result_bag
[INFO] [1740561002.740748735] [rosbag2_storage]: Opened database '$HOME/driving_log_replayer_v2/out/latest/result_bag/result_bag_0.db3' for READ_ONLY.
save_dir=PosixPath('$HOME/driving_log_replayer_v2/out/latest/diagnostics_result')

This command outputs each diagnostic (tsv) and plot result (png).

$ tree $HOME/driving_log_replayer_v2/out/latest/diagnostics_result
$HOME/driving_log_replayer_v2/out/latest/diagnostics_result
├── gyro_bias_validator__gyro_bias_validator.png
├── gyro_bias_validator__gyro_bias_validator.tsv
├── localization__ekf_localizer.png
├── localization__ekf_localizer.tsv
├── localization__pose_instability_detector.png
├── localization__pose_instability_detector.tsv
├── localization_error_monitor__ellipse_error_status.png
├── localization_error_monitor__ellipse_error_status.tsv
├── ndt_scan_matcher__scan_matching_status.png
└── ndt_scan_matcher__scan_matching_status.tsv

0 directories, 10 files

[Example : ndt_scan_matcher__scan_matching_status.png]

ndt_scan_matcher__scan_matching_status.png

extract_pose_from_rosbag.py

ros2 run autoware_localization_evaluation_scripts extract_pose_from_rosbag.py \
   <rosbag_path> \
   --save_dir=/your/path (default:rosbag_path/../)

[Example]

$ ros2 run autoware_localization_evaluation_scripts extract_pose_from_rosbag.py \
    $HOME/driving_log_replayer_v2/out/latest/result_bag \
    --target_topics "/localization/kinematic_state" \
                    "/localization/pose_estimator/pose_with_covariance"

This command outputs tsv files for each pose.

The file names are the topic names with “/” replaced with “__”.

$ tree $HOME/driving_log_replayer_v2/out/latest/pose_tsv
$HOME/driving_log_replayer_v2/out/latest/pose_tsv
├── localization__kinematic_state.tsv
└── localization__pose_estimator__pose_with_covariance.tsv

0 directories, 2 files

compare_trajectories.py

ros2 run autoware_localization_evaluation_scripts compare_trajectories.py \
   <tsv_file_subject> <tsv_file_reference>

[Example]

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_localization_evaluation_scripts

0.2.0 (2025-03-24)

  • Added plt.close() (#221)

  • fix: set save dir (#220)

    • fix: set save dir

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • fix(autoware_localization_evaluation_scripts): change target directories (#219)

    • Removed a japanese comment

    * Fixed target directories ---------

  • feat: add [analyze_rosbags_parallel.py]{.title-ref} (#217)

    • Fixed storage_id
    • Added analyze_rosbags_parallel.sh
    • style(pre-commit): autofix
    • Rewrote in python
    • style(pre-commit): autofix
    • Fixed README.md
    • Create a main function of plot_diagnostics.py
    • style(pre-commit): autofix
    • Created a main function of extract_pose_from_rosbag.py
    • Created a main function of compare_trajectories.py
    • Removed unused variables
    • Fixed topic_reference
    • Updated README.md
    • style(pre-commit): autofix
    • Updated README.md
    • Added "and not d.is_symlink()"
    • style(pre-commit): autofix

    * Removed a storage option ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • feat: add [compare_trajectories.py]{.title-ref} and [extract_pose_from_rosbag.py]{.title-ref} (#216)

    • Added compare_trajectories.py and extract_pose_from_rosbag.py
    • style(pre-commit): autofix
    • Rewrite as a literal

    * Added "cspell: ignore rotvec" ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • feat: add [autoware_localization_evaluation_scripts]{.title-ref} (#215)

    • Added autoware_localization_evaluation_scripts
    • Added a linebreak
    • style(pre-commit): autofix
    • Added a storage option
    • Added options in README.md

    * Added ylabel("gyro_bias [rad/s]") ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • Contributors: Hayato Mizushima, SakodaShintaro

  • Added plt.close() (#221)

  • fix: set save dir (#220)

    • fix: set save dir

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • fix(autoware_localization_evaluation_scripts): change target directories (#219)

    • Removed a japanese comment

    * Fixed target directories ---------

  • feat: add [analyze_rosbags_parallel.py]{.title-ref} (#217)

    • Fixed storage_id

File truncated at 100 lines see the full file

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_localization_evaluation_scripts at Robotics Stack Exchange

No version for distro jazzy showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.2.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_tools.git
VCS Type git
VCS Version main
Last Updated 2025-07-31
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A package for evaluation localization

Additional Links

No additional links.

Maintainers

  • Yamato Ando
  • Taiki Yamada
  • Shintaro Sakoda
  • Anh Nguyen
  • Masahiro Sakamoto
  • Temkei Kem

Authors

  • Shintaro Sakoda

autoware_localization_evaluation_scripts

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

Ths scripts are used for the result rosbags of localization, particularly the result_bag from driving_log_replayer_v2.

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

As a test, execute driving_log_replayer_v2 with the following command:

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

Then, use the scripts for processing the result_bag:

$HOME/driving_log_replayer_v2/out/latest/result_bag

plot_diagnostics.py

ros2 run autoware_localization_evaluation_scripts plot_diagnostics.py \
   <rosbag_path> \
   --save_dir=/your/path (default:rosbag_path/../)

[Example]

$ ros2 run autoware_localization_evaluation_scripts plot_diagnostics.py \
    $HOME/driving_log_replayer_v2/out/latest/result_bag
[INFO] [1740561002.740748735] [rosbag2_storage]: Opened database '$HOME/driving_log_replayer_v2/out/latest/result_bag/result_bag_0.db3' for READ_ONLY.
save_dir=PosixPath('$HOME/driving_log_replayer_v2/out/latest/diagnostics_result')

This command outputs each diagnostic (tsv) and plot result (png).

$ tree $HOME/driving_log_replayer_v2/out/latest/diagnostics_result
$HOME/driving_log_replayer_v2/out/latest/diagnostics_result
├── gyro_bias_validator__gyro_bias_validator.png
├── gyro_bias_validator__gyro_bias_validator.tsv
├── localization__ekf_localizer.png
├── localization__ekf_localizer.tsv
├── localization__pose_instability_detector.png
├── localization__pose_instability_detector.tsv
├── localization_error_monitor__ellipse_error_status.png
├── localization_error_monitor__ellipse_error_status.tsv
├── ndt_scan_matcher__scan_matching_status.png
└── ndt_scan_matcher__scan_matching_status.tsv

0 directories, 10 files

[Example : ndt_scan_matcher__scan_matching_status.png]

ndt_scan_matcher__scan_matching_status.png

extract_pose_from_rosbag.py

ros2 run autoware_localization_evaluation_scripts extract_pose_from_rosbag.py \
   <rosbag_path> \
   --save_dir=/your/path (default:rosbag_path/../)

[Example]

$ ros2 run autoware_localization_evaluation_scripts extract_pose_from_rosbag.py \
    $HOME/driving_log_replayer_v2/out/latest/result_bag \
    --target_topics "/localization/kinematic_state" \
                    "/localization/pose_estimator/pose_with_covariance"

This command outputs tsv files for each pose.

The file names are the topic names with “/” replaced with “__”.

$ tree $HOME/driving_log_replayer_v2/out/latest/pose_tsv
$HOME/driving_log_replayer_v2/out/latest/pose_tsv
├── localization__kinematic_state.tsv
└── localization__pose_estimator__pose_with_covariance.tsv

0 directories, 2 files

compare_trajectories.py

ros2 run autoware_localization_evaluation_scripts compare_trajectories.py \
   <tsv_file_subject> <tsv_file_reference>

[Example]

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_localization_evaluation_scripts

0.2.0 (2025-03-24)

  • Added plt.close() (#221)

  • fix: set save dir (#220)

    • fix: set save dir

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • fix(autoware_localization_evaluation_scripts): change target directories (#219)

    • Removed a japanese comment

    * Fixed target directories ---------

  • feat: add [analyze_rosbags_parallel.py]{.title-ref} (#217)

    • Fixed storage_id
    • Added analyze_rosbags_parallel.sh
    • style(pre-commit): autofix
    • Rewrote in python
    • style(pre-commit): autofix
    • Fixed README.md
    • Create a main function of plot_diagnostics.py
    • style(pre-commit): autofix
    • Created a main function of extract_pose_from_rosbag.py
    • Created a main function of compare_trajectories.py
    • Removed unused variables
    • Fixed topic_reference
    • Updated README.md
    • style(pre-commit): autofix
    • Updated README.md
    • Added "and not d.is_symlink()"
    • style(pre-commit): autofix

    * Removed a storage option ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • feat: add [compare_trajectories.py]{.title-ref} and [extract_pose_from_rosbag.py]{.title-ref} (#216)

    • Added compare_trajectories.py and extract_pose_from_rosbag.py
    • style(pre-commit): autofix
    • Rewrite as a literal

    * Added "cspell: ignore rotvec" ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • feat: add [autoware_localization_evaluation_scripts]{.title-ref} (#215)

    • Added autoware_localization_evaluation_scripts
    • Added a linebreak
    • style(pre-commit): autofix
    • Added a storage option
    • Added options in README.md

    * Added ylabel("gyro_bias [rad/s]") ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • Contributors: Hayato Mizushima, SakodaShintaro

  • Added plt.close() (#221)

  • fix: set save dir (#220)

    • fix: set save dir

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • fix(autoware_localization_evaluation_scripts): change target directories (#219)

    • Removed a japanese comment

    * Fixed target directories ---------

  • feat: add [analyze_rosbags_parallel.py]{.title-ref} (#217)

    • Fixed storage_id

File truncated at 100 lines see the full file

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_localization_evaluation_scripts at Robotics Stack Exchange

No version for distro kilted showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.2.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_tools.git
VCS Type git
VCS Version main
Last Updated 2025-07-31
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A package for evaluation localization

Additional Links

No additional links.

Maintainers

  • Yamato Ando
  • Taiki Yamada
  • Shintaro Sakoda
  • Anh Nguyen
  • Masahiro Sakamoto
  • Temkei Kem

Authors

  • Shintaro Sakoda

autoware_localization_evaluation_scripts

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

Ths scripts are used for the result rosbags of localization, particularly the result_bag from driving_log_replayer_v2.

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

As a test, execute driving_log_replayer_v2 with the following command:

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

Then, use the scripts for processing the result_bag:

$HOME/driving_log_replayer_v2/out/latest/result_bag

plot_diagnostics.py

ros2 run autoware_localization_evaluation_scripts plot_diagnostics.py \
   <rosbag_path> \
   --save_dir=/your/path (default:rosbag_path/../)

[Example]

$ ros2 run autoware_localization_evaluation_scripts plot_diagnostics.py \
    $HOME/driving_log_replayer_v2/out/latest/result_bag
[INFO] [1740561002.740748735] [rosbag2_storage]: Opened database '$HOME/driving_log_replayer_v2/out/latest/result_bag/result_bag_0.db3' for READ_ONLY.
save_dir=PosixPath('$HOME/driving_log_replayer_v2/out/latest/diagnostics_result')

This command outputs each diagnostic (tsv) and plot result (png).

$ tree $HOME/driving_log_replayer_v2/out/latest/diagnostics_result
$HOME/driving_log_replayer_v2/out/latest/diagnostics_result
├── gyro_bias_validator__gyro_bias_validator.png
├── gyro_bias_validator__gyro_bias_validator.tsv
├── localization__ekf_localizer.png
├── localization__ekf_localizer.tsv
├── localization__pose_instability_detector.png
├── localization__pose_instability_detector.tsv
├── localization_error_monitor__ellipse_error_status.png
├── localization_error_monitor__ellipse_error_status.tsv
├── ndt_scan_matcher__scan_matching_status.png
└── ndt_scan_matcher__scan_matching_status.tsv

0 directories, 10 files

[Example : ndt_scan_matcher__scan_matching_status.png]

ndt_scan_matcher__scan_matching_status.png

extract_pose_from_rosbag.py

ros2 run autoware_localization_evaluation_scripts extract_pose_from_rosbag.py \
   <rosbag_path> \
   --save_dir=/your/path (default:rosbag_path/../)

[Example]

$ ros2 run autoware_localization_evaluation_scripts extract_pose_from_rosbag.py \
    $HOME/driving_log_replayer_v2/out/latest/result_bag \
    --target_topics "/localization/kinematic_state" \
                    "/localization/pose_estimator/pose_with_covariance"

This command outputs tsv files for each pose.

The file names are the topic names with “/” replaced with “__”.

$ tree $HOME/driving_log_replayer_v2/out/latest/pose_tsv
$HOME/driving_log_replayer_v2/out/latest/pose_tsv
├── localization__kinematic_state.tsv
└── localization__pose_estimator__pose_with_covariance.tsv

0 directories, 2 files

compare_trajectories.py

ros2 run autoware_localization_evaluation_scripts compare_trajectories.py \
   <tsv_file_subject> <tsv_file_reference>

[Example]

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_localization_evaluation_scripts

0.2.0 (2025-03-24)

  • Added plt.close() (#221)

  • fix: set save dir (#220)

    • fix: set save dir

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • fix(autoware_localization_evaluation_scripts): change target directories (#219)

    • Removed a japanese comment

    * Fixed target directories ---------

  • feat: add [analyze_rosbags_parallel.py]{.title-ref} (#217)

    • Fixed storage_id
    • Added analyze_rosbags_parallel.sh
    • style(pre-commit): autofix
    • Rewrote in python
    • style(pre-commit): autofix
    • Fixed README.md
    • Create a main function of plot_diagnostics.py
    • style(pre-commit): autofix
    • Created a main function of extract_pose_from_rosbag.py
    • Created a main function of compare_trajectories.py
    • Removed unused variables
    • Fixed topic_reference
    • Updated README.md
    • style(pre-commit): autofix
    • Updated README.md
    • Added "and not d.is_symlink()"
    • style(pre-commit): autofix

    * Removed a storage option ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • feat: add [compare_trajectories.py]{.title-ref} and [extract_pose_from_rosbag.py]{.title-ref} (#216)

    • Added compare_trajectories.py and extract_pose_from_rosbag.py
    • style(pre-commit): autofix
    • Rewrite as a literal

    * Added "cspell: ignore rotvec" ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • feat: add [autoware_localization_evaluation_scripts]{.title-ref} (#215)

    • Added autoware_localization_evaluation_scripts
    • Added a linebreak
    • style(pre-commit): autofix
    • Added a storage option
    • Added options in README.md

    * Added ylabel("gyro_bias [rad/s]") ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • Contributors: Hayato Mizushima, SakodaShintaro

  • Added plt.close() (#221)

  • fix: set save dir (#220)

    • fix: set save dir

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • fix(autoware_localization_evaluation_scripts): change target directories (#219)

    • Removed a japanese comment

    * Fixed target directories ---------

  • feat: add [analyze_rosbags_parallel.py]{.title-ref} (#217)

    • Fixed storage_id

File truncated at 100 lines see the full file

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_localization_evaluation_scripts at Robotics Stack Exchange

No version for distro rolling showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.2.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_tools.git
VCS Type git
VCS Version main
Last Updated 2025-07-31
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A package for evaluation localization

Additional Links

No additional links.

Maintainers

  • Yamato Ando
  • Taiki Yamada
  • Shintaro Sakoda
  • Anh Nguyen
  • Masahiro Sakamoto
  • Temkei Kem

Authors

  • Shintaro Sakoda

autoware_localization_evaluation_scripts

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

Ths scripts are used for the result rosbags of localization, particularly the result_bag from driving_log_replayer_v2.

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

As a test, execute driving_log_replayer_v2 with the following command:

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

Then, use the scripts for processing the result_bag:

$HOME/driving_log_replayer_v2/out/latest/result_bag

plot_diagnostics.py

ros2 run autoware_localization_evaluation_scripts plot_diagnostics.py \
   <rosbag_path> \
   --save_dir=/your/path (default:rosbag_path/../)

[Example]

$ ros2 run autoware_localization_evaluation_scripts plot_diagnostics.py \
    $HOME/driving_log_replayer_v2/out/latest/result_bag
[INFO] [1740561002.740748735] [rosbag2_storage]: Opened database '$HOME/driving_log_replayer_v2/out/latest/result_bag/result_bag_0.db3' for READ_ONLY.
save_dir=PosixPath('$HOME/driving_log_replayer_v2/out/latest/diagnostics_result')

This command outputs each diagnostic (tsv) and plot result (png).

$ tree $HOME/driving_log_replayer_v2/out/latest/diagnostics_result
$HOME/driving_log_replayer_v2/out/latest/diagnostics_result
├── gyro_bias_validator__gyro_bias_validator.png
├── gyro_bias_validator__gyro_bias_validator.tsv
├── localization__ekf_localizer.png
├── localization__ekf_localizer.tsv
├── localization__pose_instability_detector.png
├── localization__pose_instability_detector.tsv
├── localization_error_monitor__ellipse_error_status.png
├── localization_error_monitor__ellipse_error_status.tsv
├── ndt_scan_matcher__scan_matching_status.png
└── ndt_scan_matcher__scan_matching_status.tsv

0 directories, 10 files

[Example : ndt_scan_matcher__scan_matching_status.png]

ndt_scan_matcher__scan_matching_status.png

extract_pose_from_rosbag.py

ros2 run autoware_localization_evaluation_scripts extract_pose_from_rosbag.py \
   <rosbag_path> \
   --save_dir=/your/path (default:rosbag_path/../)

[Example]

$ ros2 run autoware_localization_evaluation_scripts extract_pose_from_rosbag.py \
    $HOME/driving_log_replayer_v2/out/latest/result_bag \
    --target_topics "/localization/kinematic_state" \
                    "/localization/pose_estimator/pose_with_covariance"

This command outputs tsv files for each pose.

The file names are the topic names with “/” replaced with “__”.

$ tree $HOME/driving_log_replayer_v2/out/latest/pose_tsv
$HOME/driving_log_replayer_v2/out/latest/pose_tsv
├── localization__kinematic_state.tsv
└── localization__pose_estimator__pose_with_covariance.tsv

0 directories, 2 files

compare_trajectories.py

ros2 run autoware_localization_evaluation_scripts compare_trajectories.py \
   <tsv_file_subject> <tsv_file_reference>

[Example]

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_localization_evaluation_scripts

0.2.0 (2025-03-24)

  • Added plt.close() (#221)

  • fix: set save dir (#220)

    • fix: set save dir

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • fix(autoware_localization_evaluation_scripts): change target directories (#219)

    • Removed a japanese comment

    * Fixed target directories ---------

  • feat: add [analyze_rosbags_parallel.py]{.title-ref} (#217)

    • Fixed storage_id
    • Added analyze_rosbags_parallel.sh
    • style(pre-commit): autofix
    • Rewrote in python
    • style(pre-commit): autofix
    • Fixed README.md
    • Create a main function of plot_diagnostics.py
    • style(pre-commit): autofix
    • Created a main function of extract_pose_from_rosbag.py
    • Created a main function of compare_trajectories.py
    • Removed unused variables
    • Fixed topic_reference
    • Updated README.md
    • style(pre-commit): autofix
    • Updated README.md
    • Added "and not d.is_symlink()"
    • style(pre-commit): autofix

    * Removed a storage option ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • feat: add [compare_trajectories.py]{.title-ref} and [extract_pose_from_rosbag.py]{.title-ref} (#216)

    • Added compare_trajectories.py and extract_pose_from_rosbag.py
    • style(pre-commit): autofix
    • Rewrite as a literal

    * Added "cspell: ignore rotvec" ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • feat: add [autoware_localization_evaluation_scripts]{.title-ref} (#215)

    • Added autoware_localization_evaluation_scripts
    • Added a linebreak
    • style(pre-commit): autofix
    • Added a storage option
    • Added options in README.md

    * Added ylabel("gyro_bias [rad/s]") ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • Contributors: Hayato Mizushima, SakodaShintaro

  • Added plt.close() (#221)

  • fix: set save dir (#220)

    • fix: set save dir

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • fix(autoware_localization_evaluation_scripts): change target directories (#219)

    • Removed a japanese comment

    * Fixed target directories ---------

  • feat: add [analyze_rosbags_parallel.py]{.title-ref} (#217)

    • Fixed storage_id

File truncated at 100 lines see the full file

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_localization_evaluation_scripts at Robotics Stack Exchange

Package Summary

Tags No category tags.
Version 0.2.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_tools.git
VCS Type git
VCS Version main
Last Updated 2025-07-31
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A package for evaluation localization

Additional Links

No additional links.

Maintainers

  • Yamato Ando
  • Taiki Yamada
  • Shintaro Sakoda
  • Anh Nguyen
  • Masahiro Sakamoto
  • Temkei Kem

Authors

  • Shintaro Sakoda

autoware_localization_evaluation_scripts

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

Ths scripts are used for the result rosbags of localization, particularly the result_bag from driving_log_replayer_v2.

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

As a test, execute driving_log_replayer_v2 with the following command:

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

Then, use the scripts for processing the result_bag:

$HOME/driving_log_replayer_v2/out/latest/result_bag

plot_diagnostics.py

ros2 run autoware_localization_evaluation_scripts plot_diagnostics.py \
   <rosbag_path> \
   --save_dir=/your/path (default:rosbag_path/../)

[Example]

$ ros2 run autoware_localization_evaluation_scripts plot_diagnostics.py \
    $HOME/driving_log_replayer_v2/out/latest/result_bag
[INFO] [1740561002.740748735] [rosbag2_storage]: Opened database '$HOME/driving_log_replayer_v2/out/latest/result_bag/result_bag_0.db3' for READ_ONLY.
save_dir=PosixPath('$HOME/driving_log_replayer_v2/out/latest/diagnostics_result')

This command outputs each diagnostic (tsv) and plot result (png).

$ tree $HOME/driving_log_replayer_v2/out/latest/diagnostics_result
$HOME/driving_log_replayer_v2/out/latest/diagnostics_result
├── gyro_bias_validator__gyro_bias_validator.png
├── gyro_bias_validator__gyro_bias_validator.tsv
├── localization__ekf_localizer.png
├── localization__ekf_localizer.tsv
├── localization__pose_instability_detector.png
├── localization__pose_instability_detector.tsv
├── localization_error_monitor__ellipse_error_status.png
├── localization_error_monitor__ellipse_error_status.tsv
├── ndt_scan_matcher__scan_matching_status.png
└── ndt_scan_matcher__scan_matching_status.tsv

0 directories, 10 files

[Example : ndt_scan_matcher__scan_matching_status.png]

ndt_scan_matcher__scan_matching_status.png

extract_pose_from_rosbag.py

ros2 run autoware_localization_evaluation_scripts extract_pose_from_rosbag.py \
   <rosbag_path> \
   --save_dir=/your/path (default:rosbag_path/../)

[Example]

$ ros2 run autoware_localization_evaluation_scripts extract_pose_from_rosbag.py \
    $HOME/driving_log_replayer_v2/out/latest/result_bag \
    --target_topics "/localization/kinematic_state" \
                    "/localization/pose_estimator/pose_with_covariance"

This command outputs tsv files for each pose.

The file names are the topic names with “/” replaced with “__”.

$ tree $HOME/driving_log_replayer_v2/out/latest/pose_tsv
$HOME/driving_log_replayer_v2/out/latest/pose_tsv
├── localization__kinematic_state.tsv
└── localization__pose_estimator__pose_with_covariance.tsv

0 directories, 2 files

compare_trajectories.py

ros2 run autoware_localization_evaluation_scripts compare_trajectories.py \
   <tsv_file_subject> <tsv_file_reference>

[Example]

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_localization_evaluation_scripts

0.2.0 (2025-03-24)

  • Added plt.close() (#221)

  • fix: set save dir (#220)

    • fix: set save dir

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • fix(autoware_localization_evaluation_scripts): change target directories (#219)

    • Removed a japanese comment

    * Fixed target directories ---------

  • feat: add [analyze_rosbags_parallel.py]{.title-ref} (#217)

    • Fixed storage_id
    • Added analyze_rosbags_parallel.sh
    • style(pre-commit): autofix
    • Rewrote in python
    • style(pre-commit): autofix
    • Fixed README.md
    • Create a main function of plot_diagnostics.py
    • style(pre-commit): autofix
    • Created a main function of extract_pose_from_rosbag.py
    • Created a main function of compare_trajectories.py
    • Removed unused variables
    • Fixed topic_reference
    • Updated README.md
    • style(pre-commit): autofix
    • Updated README.md
    • Added "and not d.is_symlink()"
    • style(pre-commit): autofix

    * Removed a storage option ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • feat: add [compare_trajectories.py]{.title-ref} and [extract_pose_from_rosbag.py]{.title-ref} (#216)

    • Added compare_trajectories.py and extract_pose_from_rosbag.py
    • style(pre-commit): autofix
    • Rewrite as a literal

    * Added "cspell: ignore rotvec" ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • feat: add [autoware_localization_evaluation_scripts]{.title-ref} (#215)

    • Added autoware_localization_evaluation_scripts
    • Added a linebreak
    • style(pre-commit): autofix
    • Added a storage option
    • Added options in README.md

    * Added ylabel("gyro_bias [rad/s]") ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • Contributors: Hayato Mizushima, SakodaShintaro

  • Added plt.close() (#221)

  • fix: set save dir (#220)

    • fix: set save dir

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • fix(autoware_localization_evaluation_scripts): change target directories (#219)

    • Removed a japanese comment

    * Fixed target directories ---------

  • feat: add [analyze_rosbags_parallel.py]{.title-ref} (#217)

    • Fixed storage_id

File truncated at 100 lines see the full file

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_localization_evaluation_scripts at Robotics Stack Exchange

No version for distro galactic showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.2.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_tools.git
VCS Type git
VCS Version main
Last Updated 2025-07-31
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A package for evaluation localization

Additional Links

No additional links.

Maintainers

  • Yamato Ando
  • Taiki Yamada
  • Shintaro Sakoda
  • Anh Nguyen
  • Masahiro Sakamoto
  • Temkei Kem

Authors

  • Shintaro Sakoda

autoware_localization_evaluation_scripts

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

Ths scripts are used for the result rosbags of localization, particularly the result_bag from driving_log_replayer_v2.

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

As a test, execute driving_log_replayer_v2 with the following command:

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

Then, use the scripts for processing the result_bag:

$HOME/driving_log_replayer_v2/out/latest/result_bag

plot_diagnostics.py

ros2 run autoware_localization_evaluation_scripts plot_diagnostics.py \
   <rosbag_path> \
   --save_dir=/your/path (default:rosbag_path/../)

[Example]

$ ros2 run autoware_localization_evaluation_scripts plot_diagnostics.py \
    $HOME/driving_log_replayer_v2/out/latest/result_bag
[INFO] [1740561002.740748735] [rosbag2_storage]: Opened database '$HOME/driving_log_replayer_v2/out/latest/result_bag/result_bag_0.db3' for READ_ONLY.
save_dir=PosixPath('$HOME/driving_log_replayer_v2/out/latest/diagnostics_result')

This command outputs each diagnostic (tsv) and plot result (png).

$ tree $HOME/driving_log_replayer_v2/out/latest/diagnostics_result
$HOME/driving_log_replayer_v2/out/latest/diagnostics_result
├── gyro_bias_validator__gyro_bias_validator.png
├── gyro_bias_validator__gyro_bias_validator.tsv
├── localization__ekf_localizer.png
├── localization__ekf_localizer.tsv
├── localization__pose_instability_detector.png
├── localization__pose_instability_detector.tsv
├── localization_error_monitor__ellipse_error_status.png
├── localization_error_monitor__ellipse_error_status.tsv
├── ndt_scan_matcher__scan_matching_status.png
└── ndt_scan_matcher__scan_matching_status.tsv

0 directories, 10 files

[Example : ndt_scan_matcher__scan_matching_status.png]

ndt_scan_matcher__scan_matching_status.png

extract_pose_from_rosbag.py

ros2 run autoware_localization_evaluation_scripts extract_pose_from_rosbag.py \
   <rosbag_path> \
   --save_dir=/your/path (default:rosbag_path/../)

[Example]

$ ros2 run autoware_localization_evaluation_scripts extract_pose_from_rosbag.py \
    $HOME/driving_log_replayer_v2/out/latest/result_bag \
    --target_topics "/localization/kinematic_state" \
                    "/localization/pose_estimator/pose_with_covariance"

This command outputs tsv files for each pose.

The file names are the topic names with “/” replaced with “__”.

$ tree $HOME/driving_log_replayer_v2/out/latest/pose_tsv
$HOME/driving_log_replayer_v2/out/latest/pose_tsv
├── localization__kinematic_state.tsv
└── localization__pose_estimator__pose_with_covariance.tsv

0 directories, 2 files

compare_trajectories.py

ros2 run autoware_localization_evaluation_scripts compare_trajectories.py \
   <tsv_file_subject> <tsv_file_reference>

[Example]

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_localization_evaluation_scripts

0.2.0 (2025-03-24)

  • Added plt.close() (#221)

  • fix: set save dir (#220)

    • fix: set save dir

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • fix(autoware_localization_evaluation_scripts): change target directories (#219)

    • Removed a japanese comment

    * Fixed target directories ---------

  • feat: add [analyze_rosbags_parallel.py]{.title-ref} (#217)

    • Fixed storage_id
    • Added analyze_rosbags_parallel.sh
    • style(pre-commit): autofix
    • Rewrote in python
    • style(pre-commit): autofix
    • Fixed README.md
    • Create a main function of plot_diagnostics.py
    • style(pre-commit): autofix
    • Created a main function of extract_pose_from_rosbag.py
    • Created a main function of compare_trajectories.py
    • Removed unused variables
    • Fixed topic_reference
    • Updated README.md
    • style(pre-commit): autofix
    • Updated README.md
    • Added "and not d.is_symlink()"
    • style(pre-commit): autofix

    * Removed a storage option ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • feat: add [compare_trajectories.py]{.title-ref} and [extract_pose_from_rosbag.py]{.title-ref} (#216)

    • Added compare_trajectories.py and extract_pose_from_rosbag.py
    • style(pre-commit): autofix
    • Rewrite as a literal

    * Added "cspell: ignore rotvec" ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • feat: add [autoware_localization_evaluation_scripts]{.title-ref} (#215)

    • Added autoware_localization_evaluation_scripts
    • Added a linebreak
    • style(pre-commit): autofix
    • Added a storage option
    • Added options in README.md

    * Added ylabel("gyro_bias [rad/s]") ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • Contributors: Hayato Mizushima, SakodaShintaro

  • Added plt.close() (#221)

  • fix: set save dir (#220)

    • fix: set save dir

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • fix(autoware_localization_evaluation_scripts): change target directories (#219)

    • Removed a japanese comment

    * Fixed target directories ---------

  • feat: add [analyze_rosbags_parallel.py]{.title-ref} (#217)

    • Fixed storage_id

File truncated at 100 lines see the full file

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_localization_evaluation_scripts at Robotics Stack Exchange

No version for distro iron showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.2.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_tools.git
VCS Type git
VCS Version main
Last Updated 2025-07-31
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A package for evaluation localization

Additional Links

No additional links.

Maintainers

  • Yamato Ando
  • Taiki Yamada
  • Shintaro Sakoda
  • Anh Nguyen
  • Masahiro Sakamoto
  • Temkei Kem

Authors

  • Shintaro Sakoda

autoware_localization_evaluation_scripts

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

Ths scripts are used for the result rosbags of localization, particularly the result_bag from driving_log_replayer_v2.

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

As a test, execute driving_log_replayer_v2 with the following command:

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

Then, use the scripts for processing the result_bag:

$HOME/driving_log_replayer_v2/out/latest/result_bag

plot_diagnostics.py

ros2 run autoware_localization_evaluation_scripts plot_diagnostics.py \
   <rosbag_path> \
   --save_dir=/your/path (default:rosbag_path/../)

[Example]

$ ros2 run autoware_localization_evaluation_scripts plot_diagnostics.py \
    $HOME/driving_log_replayer_v2/out/latest/result_bag
[INFO] [1740561002.740748735] [rosbag2_storage]: Opened database '$HOME/driving_log_replayer_v2/out/latest/result_bag/result_bag_0.db3' for READ_ONLY.
save_dir=PosixPath('$HOME/driving_log_replayer_v2/out/latest/diagnostics_result')

This command outputs each diagnostic (tsv) and plot result (png).

$ tree $HOME/driving_log_replayer_v2/out/latest/diagnostics_result
$HOME/driving_log_replayer_v2/out/latest/diagnostics_result
├── gyro_bias_validator__gyro_bias_validator.png
├── gyro_bias_validator__gyro_bias_validator.tsv
├── localization__ekf_localizer.png
├── localization__ekf_localizer.tsv
├── localization__pose_instability_detector.png
├── localization__pose_instability_detector.tsv
├── localization_error_monitor__ellipse_error_status.png
├── localization_error_monitor__ellipse_error_status.tsv
├── ndt_scan_matcher__scan_matching_status.png
└── ndt_scan_matcher__scan_matching_status.tsv

0 directories, 10 files

[Example : ndt_scan_matcher__scan_matching_status.png]

ndt_scan_matcher__scan_matching_status.png

extract_pose_from_rosbag.py

ros2 run autoware_localization_evaluation_scripts extract_pose_from_rosbag.py \
   <rosbag_path> \
   --save_dir=/your/path (default:rosbag_path/../)

[Example]

$ ros2 run autoware_localization_evaluation_scripts extract_pose_from_rosbag.py \
    $HOME/driving_log_replayer_v2/out/latest/result_bag \
    --target_topics "/localization/kinematic_state" \
                    "/localization/pose_estimator/pose_with_covariance"

This command outputs tsv files for each pose.

The file names are the topic names with “/” replaced with “__”.

$ tree $HOME/driving_log_replayer_v2/out/latest/pose_tsv
$HOME/driving_log_replayer_v2/out/latest/pose_tsv
├── localization__kinematic_state.tsv
└── localization__pose_estimator__pose_with_covariance.tsv

0 directories, 2 files

compare_trajectories.py

ros2 run autoware_localization_evaluation_scripts compare_trajectories.py \
   <tsv_file_subject> <tsv_file_reference>

[Example]

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_localization_evaluation_scripts

0.2.0 (2025-03-24)

  • Added plt.close() (#221)

  • fix: set save dir (#220)

    • fix: set save dir

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • fix(autoware_localization_evaluation_scripts): change target directories (#219)

    • Removed a japanese comment

    * Fixed target directories ---------

  • feat: add [analyze_rosbags_parallel.py]{.title-ref} (#217)

    • Fixed storage_id
    • Added analyze_rosbags_parallel.sh
    • style(pre-commit): autofix
    • Rewrote in python
    • style(pre-commit): autofix
    • Fixed README.md
    • Create a main function of plot_diagnostics.py
    • style(pre-commit): autofix
    • Created a main function of extract_pose_from_rosbag.py
    • Created a main function of compare_trajectories.py
    • Removed unused variables
    • Fixed topic_reference
    • Updated README.md
    • style(pre-commit): autofix
    • Updated README.md
    • Added "and not d.is_symlink()"
    • style(pre-commit): autofix

    * Removed a storage option ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • feat: add [compare_trajectories.py]{.title-ref} and [extract_pose_from_rosbag.py]{.title-ref} (#216)

    • Added compare_trajectories.py and extract_pose_from_rosbag.py
    • style(pre-commit): autofix
    • Rewrite as a literal

    * Added "cspell: ignore rotvec" ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • feat: add [autoware_localization_evaluation_scripts]{.title-ref} (#215)

    • Added autoware_localization_evaluation_scripts
    • Added a linebreak
    • style(pre-commit): autofix
    • Added a storage option
    • Added options in README.md

    * Added ylabel("gyro_bias [rad/s]") ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • Contributors: Hayato Mizushima, SakodaShintaro

  • Added plt.close() (#221)

  • fix: set save dir (#220)

    • fix: set save dir

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • fix(autoware_localization_evaluation_scripts): change target directories (#219)

    • Removed a japanese comment

    * Fixed target directories ---------

  • feat: add [analyze_rosbags_parallel.py]{.title-ref} (#217)

    • Fixed storage_id

File truncated at 100 lines see the full file

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_localization_evaluation_scripts at Robotics Stack Exchange

No version for distro melodic showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.2.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_tools.git
VCS Type git
VCS Version main
Last Updated 2025-07-31
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A package for evaluation localization

Additional Links

No additional links.

Maintainers

  • Yamato Ando
  • Taiki Yamada
  • Shintaro Sakoda
  • Anh Nguyen
  • Masahiro Sakamoto
  • Temkei Kem

Authors

  • Shintaro Sakoda

autoware_localization_evaluation_scripts

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

Ths scripts are used for the result rosbags of localization, particularly the result_bag from driving_log_replayer_v2.

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

As a test, execute driving_log_replayer_v2 with the following command:

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

Then, use the scripts for processing the result_bag:

$HOME/driving_log_replayer_v2/out/latest/result_bag

plot_diagnostics.py

ros2 run autoware_localization_evaluation_scripts plot_diagnostics.py \
   <rosbag_path> \
   --save_dir=/your/path (default:rosbag_path/../)

[Example]

$ ros2 run autoware_localization_evaluation_scripts plot_diagnostics.py \
    $HOME/driving_log_replayer_v2/out/latest/result_bag
[INFO] [1740561002.740748735] [rosbag2_storage]: Opened database '$HOME/driving_log_replayer_v2/out/latest/result_bag/result_bag_0.db3' for READ_ONLY.
save_dir=PosixPath('$HOME/driving_log_replayer_v2/out/latest/diagnostics_result')

This command outputs each diagnostic (tsv) and plot result (png).

$ tree $HOME/driving_log_replayer_v2/out/latest/diagnostics_result
$HOME/driving_log_replayer_v2/out/latest/diagnostics_result
├── gyro_bias_validator__gyro_bias_validator.png
├── gyro_bias_validator__gyro_bias_validator.tsv
├── localization__ekf_localizer.png
├── localization__ekf_localizer.tsv
├── localization__pose_instability_detector.png
├── localization__pose_instability_detector.tsv
├── localization_error_monitor__ellipse_error_status.png
├── localization_error_monitor__ellipse_error_status.tsv
├── ndt_scan_matcher__scan_matching_status.png
└── ndt_scan_matcher__scan_matching_status.tsv

0 directories, 10 files

[Example : ndt_scan_matcher__scan_matching_status.png]

ndt_scan_matcher__scan_matching_status.png

extract_pose_from_rosbag.py

ros2 run autoware_localization_evaluation_scripts extract_pose_from_rosbag.py \
   <rosbag_path> \
   --save_dir=/your/path (default:rosbag_path/../)

[Example]

$ ros2 run autoware_localization_evaluation_scripts extract_pose_from_rosbag.py \
    $HOME/driving_log_replayer_v2/out/latest/result_bag \
    --target_topics "/localization/kinematic_state" \
                    "/localization/pose_estimator/pose_with_covariance"

This command outputs tsv files for each pose.

The file names are the topic names with “/” replaced with “__”.

$ tree $HOME/driving_log_replayer_v2/out/latest/pose_tsv
$HOME/driving_log_replayer_v2/out/latest/pose_tsv
├── localization__kinematic_state.tsv
└── localization__pose_estimator__pose_with_covariance.tsv

0 directories, 2 files

compare_trajectories.py

ros2 run autoware_localization_evaluation_scripts compare_trajectories.py \
   <tsv_file_subject> <tsv_file_reference>

[Example]

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_localization_evaluation_scripts

0.2.0 (2025-03-24)

  • Added plt.close() (#221)

  • fix: set save dir (#220)

    • fix: set save dir

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • fix(autoware_localization_evaluation_scripts): change target directories (#219)

    • Removed a japanese comment

    * Fixed target directories ---------

  • feat: add [analyze_rosbags_parallel.py]{.title-ref} (#217)

    • Fixed storage_id
    • Added analyze_rosbags_parallel.sh
    • style(pre-commit): autofix
    • Rewrote in python
    • style(pre-commit): autofix
    • Fixed README.md
    • Create a main function of plot_diagnostics.py
    • style(pre-commit): autofix
    • Created a main function of extract_pose_from_rosbag.py
    • Created a main function of compare_trajectories.py
    • Removed unused variables
    • Fixed topic_reference
    • Updated README.md
    • style(pre-commit): autofix
    • Updated README.md
    • Added "and not d.is_symlink()"
    • style(pre-commit): autofix

    * Removed a storage option ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • feat: add [compare_trajectories.py]{.title-ref} and [extract_pose_from_rosbag.py]{.title-ref} (#216)

    • Added compare_trajectories.py and extract_pose_from_rosbag.py
    • style(pre-commit): autofix
    • Rewrite as a literal

    * Added "cspell: ignore rotvec" ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • feat: add [autoware_localization_evaluation_scripts]{.title-ref} (#215)

    • Added autoware_localization_evaluation_scripts
    • Added a linebreak
    • style(pre-commit): autofix
    • Added a storage option
    • Added options in README.md

    * Added ylabel("gyro_bias [rad/s]") ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • Contributors: Hayato Mizushima, SakodaShintaro

  • Added plt.close() (#221)

  • fix: set save dir (#220)

    • fix: set save dir

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • fix(autoware_localization_evaluation_scripts): change target directories (#219)

    • Removed a japanese comment

    * Fixed target directories ---------

  • feat: add [analyze_rosbags_parallel.py]{.title-ref} (#217)

    • Fixed storage_id

File truncated at 100 lines see the full file

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_localization_evaluation_scripts at Robotics Stack Exchange

No version for distro noetic showing github. Known supported distros are highlighted in the buttons above.

Package Summary

Tags No category tags.
Version 0.2.0
License Apache License 2.0
Build type AMENT_CMAKE
Use RECOMMENDED

Repository Summary

Description
Checkout URI https://github.com/autowarefoundation/autoware_tools.git
VCS Type git
VCS Version main
Last Updated 2025-07-31
Dev Status UNKNOWN
Released UNRELEASED
Tags No category tags.
Contributing Help Wanted (-)
Good First Issues (-)
Pull Requests to Review (-)

Package Description

A package for evaluation localization

Additional Links

No additional links.

Maintainers

  • Yamato Ando
  • Taiki Yamada
  • Shintaro Sakoda
  • Anh Nguyen
  • Masahiro Sakamoto
  • Temkei Kem

Authors

  • Shintaro Sakoda

autoware_localization_evaluation_scripts

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

Ths scripts are used for the result rosbags of localization, particularly the result_bag from driving_log_replayer_v2.

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

As a test, execute driving_log_replayer_v2 with the following command:

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

Then, use the scripts for processing the result_bag:

$HOME/driving_log_replayer_v2/out/latest/result_bag

plot_diagnostics.py

ros2 run autoware_localization_evaluation_scripts plot_diagnostics.py \
   <rosbag_path> \
   --save_dir=/your/path (default:rosbag_path/../)

[Example]

$ ros2 run autoware_localization_evaluation_scripts plot_diagnostics.py \
    $HOME/driving_log_replayer_v2/out/latest/result_bag
[INFO] [1740561002.740748735] [rosbag2_storage]: Opened database '$HOME/driving_log_replayer_v2/out/latest/result_bag/result_bag_0.db3' for READ_ONLY.
save_dir=PosixPath('$HOME/driving_log_replayer_v2/out/latest/diagnostics_result')

This command outputs each diagnostic (tsv) and plot result (png).

$ tree $HOME/driving_log_replayer_v2/out/latest/diagnostics_result
$HOME/driving_log_replayer_v2/out/latest/diagnostics_result
├── gyro_bias_validator__gyro_bias_validator.png
├── gyro_bias_validator__gyro_bias_validator.tsv
├── localization__ekf_localizer.png
├── localization__ekf_localizer.tsv
├── localization__pose_instability_detector.png
├── localization__pose_instability_detector.tsv
├── localization_error_monitor__ellipse_error_status.png
├── localization_error_monitor__ellipse_error_status.tsv
├── ndt_scan_matcher__scan_matching_status.png
└── ndt_scan_matcher__scan_matching_status.tsv

0 directories, 10 files

[Example : ndt_scan_matcher__scan_matching_status.png]

ndt_scan_matcher__scan_matching_status.png

extract_pose_from_rosbag.py

ros2 run autoware_localization_evaluation_scripts extract_pose_from_rosbag.py \
   <rosbag_path> \
   --save_dir=/your/path (default:rosbag_path/../)

[Example]

$ ros2 run autoware_localization_evaluation_scripts extract_pose_from_rosbag.py \
    $HOME/driving_log_replayer_v2/out/latest/result_bag \
    --target_topics "/localization/kinematic_state" \
                    "/localization/pose_estimator/pose_with_covariance"

This command outputs tsv files for each pose.

The file names are the topic names with “/” replaced with “__”.

$ tree $HOME/driving_log_replayer_v2/out/latest/pose_tsv
$HOME/driving_log_replayer_v2/out/latest/pose_tsv
├── localization__kinematic_state.tsv
└── localization__pose_estimator__pose_with_covariance.tsv

0 directories, 2 files

compare_trajectories.py

ros2 run autoware_localization_evaluation_scripts compare_trajectories.py \
   <tsv_file_subject> <tsv_file_reference>

[Example]

File truncated at 100 lines see the full file

CHANGELOG

Changelog for package autoware_localization_evaluation_scripts

0.2.0 (2025-03-24)

  • Added plt.close() (#221)

  • fix: set save dir (#220)

    • fix: set save dir

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • fix(autoware_localization_evaluation_scripts): change target directories (#219)

    • Removed a japanese comment

    * Fixed target directories ---------

  • feat: add [analyze_rosbags_parallel.py]{.title-ref} (#217)

    • Fixed storage_id
    • Added analyze_rosbags_parallel.sh
    • style(pre-commit): autofix
    • Rewrote in python
    • style(pre-commit): autofix
    • Fixed README.md
    • Create a main function of plot_diagnostics.py
    • style(pre-commit): autofix
    • Created a main function of extract_pose_from_rosbag.py
    • Created a main function of compare_trajectories.py
    • Removed unused variables
    • Fixed topic_reference
    • Updated README.md
    • style(pre-commit): autofix
    • Updated README.md
    • Added "and not d.is_symlink()"
    • style(pre-commit): autofix

    * Removed a storage option ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • feat: add [compare_trajectories.py]{.title-ref} and [extract_pose_from_rosbag.py]{.title-ref} (#216)

    • Added compare_trajectories.py and extract_pose_from_rosbag.py
    • style(pre-commit): autofix
    • Rewrite as a literal

    * Added "cspell: ignore rotvec" ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • feat: add [autoware_localization_evaluation_scripts]{.title-ref} (#215)

    • Added autoware_localization_evaluation_scripts
    • Added a linebreak
    • style(pre-commit): autofix
    • Added a storage option
    • Added options in README.md

    * Added ylabel("gyro_bias [rad/s]") ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • Contributors: Hayato Mizushima, SakodaShintaro

  • Added plt.close() (#221)

  • fix: set save dir (#220)

    • fix: set save dir

    * style(pre-commit): autofix ---------Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

  • fix(autoware_localization_evaluation_scripts): change target directories (#219)

    • Removed a japanese comment

    * Fixed target directories ---------

  • feat: add [analyze_rosbags_parallel.py]{.title-ref} (#217)

    • Fixed storage_id

File truncated at 100 lines see the full file

Package Dependencies

System Dependencies

No direct system dependencies.

Dependant Packages

No known dependants.

Launch files

No launch files found

Messages

No message files found.

Services

No service files found

Plugins

No plugins found.

Recent questions tagged autoware_localization_evaluation_scripts at Robotics Stack Exchange