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

feat(routing-no-drivable-lanes): proposing solution for routing no_drivable_lane #3954

Conversation

ahmeddesokyebrahim
Copy link
Contributor

@ahmeddesokyebrahim ahmeddesokyebrahim commented Jun 12, 2023

Description

This PR is to provide a solution for routing no_drivable_lane .

Related links

closes #3952

Tests performed

Before PR (with NoDrivableLaneModulePlugin activated) :
https://www.youtube.com/watch?v=PJz1sg411Jk

After PR (with NoDrivableLaneModulePlugin activated) :
https://www.youtube.com/watch?v=XDnnpYz0rZY

Notes for reviewers

To properly test this PR, please activate no_drivable_lane module by activating the NoDrivableLaneModulePlugin
module in this file.

Interface changes

N.A.

Effects on system behavior

The default_planner and route_handler will take longer path than shortest path to avoid stopping at a no_drivable_lane.

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.
  • The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@ahmeddesokyebrahim ahmeddesokyebrahim self-assigned this Jun 12, 2023
@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Jun 12, 2023
@codecov
Copy link

codecov bot commented Jun 12, 2023

Codecov Report

Patch coverage: 23.80% and project coverage change: -0.95 ⚠️

Comparison is base (d905e38) 15.23% compared to head (452178d) 14.29%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #3954      +/-   ##
==========================================
- Coverage   15.23%   14.29%   -0.95%     
==========================================
  Files        1469     1575     +106     
  Lines      101781   108520    +6739     
  Branches    31396    31409      +13     
==========================================
+ Hits        15505    15509       +4     
- Misses      69414    76144    +6730     
- Partials    16862    16867       +5     
Flag Coverage Δ *Carryforward flag
differential 16.01% <23.80%> (?)
total 14.29% <ø> (-0.94%) ⬇️ Carriedforward from af4ce27

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

Impacted Files Coverage Δ
planning/route_handler/src/route_handler.cpp 24.57% <23.80%> (-0.08%) ⬇️

... and 108 files with indirect coverage changes

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Contributor

@TakaHoribe TakaHoribe left a comment

Choose a reason for hiding this comment

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

@ahmeddesokyebrahim It looks good. Please check my comments.

planning/route_handler/src/route_handler.cpp Outdated Show resolved Hide resolved
planning/route_handler/src/route_handler.cpp Outdated Show resolved Hide resolved
planning/route_handler/src/route_handler.cpp Outdated Show resolved Hide resolved
@ahmeddesokyebrahim ahmeddesokyebrahim force-pushed the autoware/universe/3952-feat-routing-no-drivable-lanes branch from 8793dd7 to d88259b Compare June 19, 2023 21:43
Copy link
Contributor

@TakaHoribe TakaHoribe left a comment

Choose a reason for hiding this comment

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

LGTM. Thank you!

@ahmeddesokyebrahim
Copy link
Contributor Author

Thanks @TakaHoribe san for your review.

Can anyone from code owners have look and give a feedback to go forward ?
@rej55 @kosuke55 @purewater0901 @zulfaqar-azmi-t4 @autowarefoundation/autoware-global-codeowners

ahmeddesokyebrahim and others added 4 commits July 6, 2023 05:46
…ivable lanes using getRouteVia method

Signed-off-by: AhmedEbrahim <ahmed.a.d.ebrahim@gmail.com>
…ents to added functions / proper naming

Signed-off-by: AhmedEbrahim <ahmed.a.d.ebrahim@gmail.com>
@ahmeddesokyebrahim ahmeddesokyebrahim force-pushed the autoware/universe/3952-feat-routing-no-drivable-lanes branch from d4efcb2 to 452178d Compare July 6, 2023 02:46
@mehmetdogru mehmetdogru merged commit b5de8a3 into autowarefoundation:main Jul 6, 2023
@ahmeddesokyebrahim ahmeddesokyebrahim deleted the autoware/universe/3952-feat-routing-no-drivable-lanes branch July 6, 2023 09:00
purewater0901 added a commit that referenced this pull request Jul 7, 2023
purewater0901 added a commit that referenced this pull request Jul 7, 2023
…or routing no_drivable_lane (#3954)""

This reverts commit 88b52d0.
purewater0901 added a commit that referenced this pull request Jul 7, 2023
…or routing no_drivable_lane (#3954)""

This reverts commit 88b52d0.
purewater0901 added a commit that referenced this pull request Jul 11, 2023
* Revert "feat(routing-no-drivable-lanes): proposing solution for routing no_drivable_lane (#3954)"

This reverts commit b5de8a3.

* Revert "Revert "feat(routing-no-drivable-lanes): proposing solution for routing no_drivable_lane (#3954)""

This reverts commit 88b52d0.

* feat(lane_change): update lane change safety check type

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

---------

Signed-off-by: yutaka <purewater0901@gmail.com>
purewater0901 added a commit that referenced this pull request Jul 11, 2023
…the safety check module (#4231)

* Revert "feat(routing-no-drivable-lanes): proposing solution for routing no_drivable_lane (#3954)"

This reverts commit b5de8a3.

* Revert "Revert "feat(routing-no-drivable-lanes): proposing solution for routing no_drivable_lane (#3954)""

This reverts commit 88b52d0.

* feat(lane_change): update lane change safety check type

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

* feat(lane_change): simplify safety check functions

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

---------

Signed-off-by: yutaka <purewater0901@gmail.com>
purewater0901 added a commit that referenced this pull request Jul 12, 2023
* Revert "feat(routing-no-drivable-lanes): proposing solution for routing no_drivable_lane (#3954)"

This reverts commit b5de8a3.

* Revert "Revert "feat(routing-no-drivable-lanes): proposing solution for routing no_drivable_lane (#3954)""

This reverts commit 88b52d0.

* feat(lane_change): update lane change safety check type

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

* feat(lane_change): simplify safety check functions

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

* fix(lane_change): fix lane chagne safety check velocity

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

* update

Signed-off-by: yutaka <purewater0901@gmail.com>

---------

Signed-off-by: yutaka <purewater0901@gmail.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)
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

Routing to avoid no_drivable_lane(s)
4 participants