-
Notifications
You must be signed in to change notification settings - Fork 682
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(behavior_path_planner): expand the drivable area based on the vehicle footprint #2609
feat(behavior_path_planner): expand the drivable area based on the vehicle footprint #2609
Conversation
Codecov ReportBase: 11.62% // Head: 11.53% // Decreases project coverage by
Additional details and impacted files@@ Coverage Diff @@
## main #2609 +/- ##
==========================================
- Coverage 11.62% 11.53% -0.10%
==========================================
Files 1321 1331 +10
Lines 92140 95182 +3042
Branches 24443 26382 +1939
==========================================
+ Hits 10714 10979 +265
- Misses 70244 72635 +2391
- Partials 11182 11568 +386
*This pull request uses carry forward flags. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
@mehmetdogru Thank you for the feedback. I understand the problem and I believe your idea is good. I think I can simplify the current implementation to integrate your idea as follows:
In summary, I would simplify the current implementation to only use the ego path footprint to check if we need to extend the drivable area or not. Then I would use a simpler way to extend the drivable area (buffer distance on the left/right bounds). |
@mehmetdogru |
Thank you very much for the implementation. I test it out. There are couple of things I would like share (I can share more details if necessary):
I believe what we should have at the end of the day is that enough drivable area when we are turning, and no expansion when we drive straight (no path footprint out). Roughly something like the one I shared before: I created a scenario for this turn as a reference if you would like to test this PR as well. If you are gonna test this turn with Isuzu bus please make sure that:
|
9b8b091
to
1aa8767
Compare
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
This is the first fully working version Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
LGTM @satoshi-ota I think you should take care of this PR. Could you approve if the PR looks good. |
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
@mehmetdogru won't be able to review for 3 weeks. We can merge this if code-owner approves the PR, and create issue if @mehmetdogru notice any issue. |
…hicle footprint (autowarefoundation#2609) Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
…hicle footprint (autowarefoundation#2609) Signed-off-by: Maxime CLEMENT <maxime.clement@tier4.jp>
Description
This PR adds the option to expand the drivable area based on the vehicle footprint.
Extra options are also added to prevent expanding the drivable area into the predicted paths of dynamic objects, or beyond some map linestrings with specific types.
Related links
#2182
https://github.com/orgs/autowarefoundation/discussions/3013
https://github.com/orgs/autowarefoundation/discussions/2851
Tests performed
Simple test in the planning simulator
Performances
Flamegraphs
For a busy scene with many dynamic objects, the expansion of the drivable area has a significant impact on the performance of the `behavior_path_planner` (right side of the flamegraph).Most of the time taken to generate the drivable area is now spent on the expansion.
Notes for reviewers
To test this PR, please also checkout the corresponding launcher branch: https://github.com/autowarefoundation/autoware_launch/tree/behavior_path_planner/drivable-area-expander
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.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.