Skip to content

Conversation

@Motsu-san
Copy link
Contributor

@Motsu-san Motsu-san commented Sep 12, 2025

Description

This PR adds a new RViz plugin tool autoware_position_error_evaluator for evaluating vehicle position errors by measuring deviations from Lanelet2 map lane boundaries and stop lines.

Key Features:

  • Interactive Line Measurement: Click-and-drag interface in RViz to measure position errors
  • Dual Measurement Types:
    • Stop Line Measurement: X-axis error (longitudinal deviation) from stop lines
    • Lane Boundary Measurement: Y-axis error (lateral deviation) from lane boundaries
  • Automatic Data Logging:
    • CSV export with measurement data (x_error, y_error, yaw_error)
    • Trajectory CSV with vehicle pose (x, y, z, yaw)
    • Automatic desktop screenshot capture after each measurement
  • Advanced Features:
    • Delete key undo functionality for removing last measurement
    • Real-time visual feedback with colored line indicators
    • Automatic file management with timestamp-based naming

Link to README

How was this PR tested?

  • Build Testing: Successfully built with colcon build --packages-select autoware_position_error_evaluator
  • Functionality Testing:
    • Interactive measurement functionality verified in RViz environment
    • CSV output generation and file management tested
    • Screenshot capture functionality validated
    • Undo feature (Delete key) tested for measurement rollback

Notes for reviewers

  • This tool is designed for offline analysis and debugging purposes
  • Requires ImageMagick (import command) for screenshot functionality
  • All output files are saved to ~/evaluate_position_error_using_line_tool/ directory
  • The tool automatically handles file naming conflicts with sequential numbering
  • Comprehensive README documentation is included with usage instructions and troubleshooting

Effects on system behavior

None. This is a standalone RViz plugin tool that:

  • Does not affect runtime vehicle behavior
  • Only subscribes to existing topics (/map/vector_map, /localization/kinematic_state)
  • Does not publish any topics or modify system state
  • Operates independently as a measurement and analysis tool
  • All functionality is user-initiated through the RViz interface

@github-actions
Copy link

github-actions bot commented Sep 12, 2025

Thank you for contributing to the Autoware project!

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

Please ensure:

@Motsu-san Motsu-san force-pushed the feat/Add_tool_for_evaluating_position_error branch 2 times, most recently from 8f80ad6 to e70a378 Compare September 12, 2025 01:01
@Motsu-san Motsu-san enabled auto-merge (squash) September 12, 2025 01:03
@Motsu-san Motsu-san disabled auto-merge September 12, 2025 01:27
@Motsu-san Motsu-san marked this pull request as draft September 12, 2025 01:28
@Motsu-san Motsu-san marked this pull request as ready for review September 12, 2025 01:35
@Motsu-san Motsu-san force-pushed the feat/Add_tool_for_evaluating_position_error branch 3 times, most recently from 21da4c8 to ca2746b Compare September 16, 2025 00:14
YamatoAndo and others added 14 commits September 16, 2025 09:27
Signed-off-by: Yamato Ando <[email protected]>
Signed-off-by: Motsu-san <[email protected]>
Signed-off-by: Motsu-san <[email protected]>
Signed-off-by: Motsu-san <[email protected]>
Signed-off-by: Motsu-san <[email protected]>
Signed-off-by: Motsu-san <[email protected]>
If conflicted, The name is added sequential number

Signed-off-by: Motsu-san <[email protected]>
Signed-off-by: Motsu-san <[email protected]>
@Motsu-san Motsu-san enabled auto-merge (squash) September 16, 2025 05:21
@Motsu-san Motsu-san force-pushed the feat/Add_tool_for_evaluating_position_error branch from 73eace4 to 4e23369 Compare September 17, 2025 02:09
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