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(avoidance): don't insert stop line if the ego can't avoid or return #9089

Merged
merged 3 commits into from
Oct 17, 2024

Conversation

satoshi-ota
Copy link
Contributor

@satoshi-ota satoshi-ota commented Oct 16, 2024

Description

Sometimes, the avoidance module inserted stop point even when the ego overran the dead line to avoid/return manuever.
In this PR, I fixed logic not to insert stop point if the ego exceeds stop line in order to prevent stuck.

Additionally, I fixed not to insert stop point on dead line for return maneuver if it's in following condition:

  • there is no new shift line.
  • return shift line is NOT feasible.

Screenshot from 2024-10-16 09-35-57

Related links

Parent Issue:

How was this PR tested?

movie-2024-10-16_09.23.32.mp4

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Oct 16, 2024
Copy link

github-actions bot commented Oct 16, 2024

Thank you for contributing to the Autoware project!

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

Please ensure:

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
…bstacle_avoidance_module/include/autoware/behavior_path_static_obstacle_avoidance_module/helper.hpp

Co-authored-by: Go Sakayori <go-sakayori@users.noreply.github.com>
@satoshi-ota satoshi-ota added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Oct 17, 2024
@satoshi-ota satoshi-ota enabled auto-merge (squash) October 17, 2024 23:20
@satoshi-ota satoshi-ota merged commit 92868c0 into autowarefoundation:main Oct 17, 2024
35 of 36 checks passed
@satoshi-ota satoshi-ota deleted the fix/rt0-33610 branch October 17, 2024 23:26
Copy link

codecov bot commented Oct 17, 2024

Codecov Report

Attention: Patch coverage is 0% with 22 lines in your changes missing coverage. Please review.

Project coverage is 27.39%. Comparing base (a3c7ede) to head (e678ffe).
Report is 6 commits behind head on main.

Files with missing lines Patch % Lines
...ath_static_obstacle_avoidance_module/src/scene.cpp 0.00% 12 Missing ⚠️
...r_path_static_obstacle_avoidance_module/helper.hpp 0.00% 10 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9089      +/-   ##
==========================================
+ Coverage   27.37%   27.39%   +0.01%     
==========================================
  Files        1302     1303       +1     
  Lines       95845    96043     +198     
  Branches    39146    39158      +12     
==========================================
+ Hits        26238    26308      +70     
- Misses      66925    67054     +129     
+ Partials     2682     2681       -1     
Flag Coverage Δ *Carryforward flag
differential 20.07% <0.00%> (?)
total 27.37% <ø> (ø) Carriedforward from a3c7ede

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

satoshi-ota added a commit to tier4/autoware.universe that referenced this pull request Oct 18, 2024
…rn (autowarefoundation#9089)

* fix(avoidance): don't insert stop line if the ego can't avoid or return

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix: build error

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* Update planning/behavior_path_planner/autoware_behavior_path_static_obstacle_avoidance_module/include/autoware/behavior_path_static_obstacle_avoidance_module/helper.hpp

Co-authored-by: Go Sakayori <go-sakayori@users.noreply.github.com>

---------

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Co-authored-by: Go Sakayori <go-sakayori@users.noreply.github.com>
takayuki5168 pushed a commit to tier4/autoware.universe that referenced this pull request Oct 21, 2024
…rn (autowarefoundation#9089) (#1592)

* fix(avoidance): don't insert stop line if the ego can't avoid or return (autowarefoundation#9089)

* fix(avoidance): don't insert stop line if the ego can't avoid or return

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix: build error

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* Update planning/behavior_path_planner/autoware_behavior_path_static_obstacle_avoidance_module/include/autoware/behavior_path_static_obstacle_avoidance_module/helper.hpp

Co-authored-by: Go Sakayori <go-sakayori@users.noreply.github.com>

---------

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Co-authored-by: Go Sakayori <go-sakayori@users.noreply.github.com>

* fix: build error

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

---------

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Co-authored-by: Go Sakayori <go-sakayori@users.noreply.github.com>
saka1-s pushed a commit to saka1-s/autoware.universe that referenced this pull request Nov 9, 2024
…rn (autowarefoundation#9089) (autowarefoundation#1592)

* fix(avoidance): don't insert stop line if the ego can't avoid or return (autowarefoundation#9089)

* fix(avoidance): don't insert stop line if the ego can't avoid or return

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* fix: build error

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

* Update planning/behavior_path_planner/autoware_behavior_path_static_obstacle_avoidance_module/include/autoware/behavior_path_static_obstacle_avoidance_module/helper.hpp

Co-authored-by: Go Sakayori <go-sakayori@users.noreply.github.com>

---------

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Co-authored-by: Go Sakayori <go-sakayori@users.noreply.github.com>

* fix: build error

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>

---------

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Co-authored-by: Go Sakayori <go-sakayori@users.noreply.github.com>
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) 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