Skip to content

feat(autoware_path_generator): use autoware_trajectory for cropping bounds #349

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

Conversation

yhisaki
Copy link
Contributor

@yhisaki yhisaki commented Mar 31, 2025

Description

Use autoware_trajectory for cropping bounds in crop_line_string. These changes simplify the function without changing the behavior.

Related links

How was this PR tested?

psim

path_generator.webm

https://evaluation.tier4.jp/evaluation/reports/fe0540ad-4308-55e0-a13d-48919cee6add?project_id=prd_jt

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

Copy link

github-actions bot commented Mar 31, 2025

Thank you for contributing to the Autoware project!

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

Please ensure:

@yhisaki yhisaki force-pushed the use-autoware_trajectory-for-cropping-bounds branch from 4c57449 to a94c8e5 Compare March 31, 2025 11:42
@kosuke55
Copy link
Contributor

kosuke55 commented Apr 1, 2025

LGTM
https://evaluation.tier4.jp/evaluation/reports/fe0540ad-4308-55e0-a13d-48919cee6add?project_id=prd_jt 96/96
I will approve after removing unnecessary file

@yhisaki yhisaki force-pushed the use-autoware_trajectory-for-cropping-bounds branch from eec6a9b to 724ea2e Compare April 1, 2025 07:50
@yhisaki yhisaki added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Apr 1, 2025
Copy link

codecov bot commented Apr 1, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 19.57%. Comparing base (4cb18f5) to head (72bbccf).
Report is 144 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main     #349       +/-   ##
===========================================
- Coverage   78.75%   19.57%   -59.19%     
===========================================
  Files          11       96       +85     
  Lines         193     4430     +4237     
  Branches       73      879      +806     
===========================================
+ Hits          152      867      +715     
- Misses         11     3461     +3450     
- Partials       30      102       +72     
Flag Coverage Δ
differential 19.57% <100.00%> (?)
total ?

☔ 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.

Copy link
Contributor

@kosuke55 kosuke55 left a comment

Choose a reason for hiding this comment

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

LGTM

  • Spline interpolation of autoware_trajectory is buggy, so it is neccesary to fix in aother PR
  • Linear interpolation is appropriate for path bound, since we want to maintain the lane boundaries. Linear interpolation is not buggy and can be replaced (this PR)

…ounds

Signed-off-by: Y.Hisaki <yhisaki31@gmail.com>
@kosuke55 kosuke55 force-pushed the use-autoware_trajectory-for-cropping-bounds branch from 724ea2e to 72bbccf Compare April 1, 2025 08:48
Copy link
Member

@youtalk youtalk left a comment

Choose a reason for hiding this comment

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

It'll be easier to understand itself. LGTM

@youtalk youtalk merged commit 21a408c into autowarefoundation:main Apr 1, 2025
25 of 26 checks passed
@youtalk youtalk deleted the use-autoware_trajectory-for-cropping-bounds branch April 1, 2025 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants