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

fix(freespace_planner): fix is near target check #9327

Conversation

mkquda
Copy link
Contributor

@mkquda mkquda commented Nov 15, 2024

Description

is_near_target function only considers longitudinal deviation which can cause wrong behavior in some cases like below.

Screenshot from 2024-11-15 09-23-31

Instead it should consider the entire pose deviation including lateral and orientation as well to give the correct behavior as shown below.

Screenshot from 2024-11-15 09-18-52

Related links

None.

How was this PR tested?

  • PSIM

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>
@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Nov 15, 2024
Copy link

github-actions bot commented Nov 15, 2024

Thank you for contributing to the Autoware project!

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

Please ensure:

@mkquda mkquda added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Nov 15, 2024
@mkquda mkquda enabled auto-merge (squash) November 15, 2024 01:02
@mkquda mkquda disabled auto-merge November 15, 2024 02:02
Signed-off-by: mohammad alqudah <alqudah.mohammad@tier4.jp>
@mkquda mkquda enabled auto-merge (squash) November 15, 2024 02:19
@mkquda mkquda merged commit 778fb45 into autowarefoundation:main Nov 15, 2024
26 checks passed
@mkquda mkquda deleted the RT1-8471-freespace-planner-fix-near-target-check branch November 15, 2024 02:31
Copy link

codecov bot commented Nov 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 29.65%. Comparing base (cdb6e88) to head (87a6680).
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9327      +/-   ##
==========================================
- Coverage   29.65%   29.65%   -0.01%     
==========================================
  Files        1338     1339       +1     
  Lines      103204   103226      +22     
  Branches    40216    40218       +2     
==========================================
+ Hits        30609    30610       +1     
- Misses      69639    69660      +21     
  Partials     2956     2956              
Flag Coverage Δ *Carryforward flag
differential 6.68% <100.00%> (?)
total 29.65% <ø> (-0.01%) ⬇️ Carriedforward from cdb6e88

*This pull request uses carry forward flags. Click here to find out more.

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:planning Route planning, decision-making, and navigation. (auto-assigned) tag: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.

2 participants