Skip to content

Conversation

@SakodaShintaro
Copy link

@SakodaShintaro SakodaShintaro commented Oct 31, 2025

Description

This PR fixes the calc_path_line_list function to properly calculate yaw angles from path orientations instead of relying solely on line direction calculations.

How was this PR tested?

Run the planning simulation and set some vehicles.

Before After
Screenshot from 2025-10-31 17-28-57 Screenshot from 2025-10-31 17-25-34

The problem mainly occurs in the prediction by the Diffusion Planner. If the position of the PredictedObject fluctuates slightly, it will point in various directions, resulting in a circular shape in the Before image. This has been corrected in the After image.

The moving car appears natural in both images.

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

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

github-actions bot commented Oct 31, 2025

Thank you for contributing to the Autoware project!

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

Please ensure:

This comment was marked as resolved.

@codecov
Copy link

codecov bot commented Oct 31, 2025

Codecov Report

❌ Patch coverage is 0% with 5 lines in your changes missing coverage. Please review.
⚠️ Please upload report for BASE (main@5f02b1b). Learn more about missing BASE report.

Files with missing lines Patch % Lines
...gin/src/object_detection/object_polygon_detail.cpp 0.00% 5 Missing ⚠️
Additional details and impacted files
@@          Coverage Diff           @@
##             main     #25   +/-   ##
======================================
  Coverage        ?   0.00%           
======================================
  Files           ?      11           
  Lines           ?    1271           
  Branches        ?     150           
======================================
  Hits            ?       0           
  Misses          ?    1271           
  Partials        ?       0           
Flag Coverage Δ
differential 0.00% <0.00%> (?)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: Shintaro Sakoda <[email protected]>
Signed-off-by: Shintaro Sakoda <[email protected]>
@SakodaShintaro SakodaShintaro marked this pull request as ready for review October 31, 2025 08:46
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