-
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_velocity_planner::intersection): add occlusion detection feature #3458
Merged
takayuki5168
merged 24 commits into
autowarefoundation:main
from
soblin:feat/intersection-occlusion-latest
Apr 24, 2023
Merged
feat(behavior_velocity_planner::intersection): add occlusion detection feature #3458
takayuki5168
merged 24 commits into
autowarefoundation:main
from
soblin:feat/intersection-occlusion-latest
Apr 24, 2023
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This was referenced Apr 19, 2023
f2f21dd
to
ea74e4e
Compare
4d85a2a
to
1d68d30
Compare
92c08c1
to
47f3466
Compare
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
…passed 1st stop line Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
…ARED Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
…to 1st stop line and clear prev_occlusion_stop_line_pose_ Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
94829e4
to
8749f7a
Compare
Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp>
takayuki5168
approved these changes
Apr 22, 2023
taikitanaka3
approved these changes
Apr 24, 2023
@soblin |
soblin
added a commit
to soblin/autoware.universe
that referenced
this pull request
May 7, 2023
…n feature (autowarefoundation#3458) * migrated Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * WIP Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * IntersectionModuleManager own one rtc_interface for intersection_occlusion Signed-off-by: Mamoru Sobue <hilo.soblin@gmail.com> * divide occlusion safety and activated Signed-off-by: Mamoru Sobue <hilo.soblin@gmail.com> * fixed to update occlusion cooperate status at construction Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * fixed getOcclusionFirstStopSafety() Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * fixed not to show both intersection and intersection_occlusion after passed 1st stop line Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * fixed the intersection_occlusion/inersection stop position afte r CLEARED Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * if occlusion cleared when eog is before 1st stop line, set stop line to 1st stop line and clear prev_occlusion_stop_line_pose_ Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * (misc) fix viz, sync param Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * fixed vehicle footprint offset calculation Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * add occcupancy_grid_map method/param var to launcher Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * migrated latest Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * use static pass judge line Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * removed some params Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * organized param Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * add occlusion enable flag Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * revert occupancy grid settings in this PR Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * remove comment Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * fixed pass judge line collision detection to original Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * style(pre-commit): autofix * use vehicle_length for static pass judge line Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * fixed virtual wall marker Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> --------- Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> Signed-off-by: Mamoru Sobue <hilo.soblin@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
3 tasks
Mingyu1991
pushed a commit
to Mingyu1991/autoware.universe
that referenced
this pull request
Jun 26, 2023
…n feature (autowarefoundation#3458) * migrated Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * WIP Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * IntersectionModuleManager own one rtc_interface for intersection_occlusion Signed-off-by: Mamoru Sobue <hilo.soblin@gmail.com> * divide occlusion safety and activated Signed-off-by: Mamoru Sobue <hilo.soblin@gmail.com> * fixed to update occlusion cooperate status at construction Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * fixed getOcclusionFirstStopSafety() Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * fixed not to show both intersection and intersection_occlusion after passed 1st stop line Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * fixed the intersection_occlusion/inersection stop position afte r CLEARED Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * if occlusion cleared when eog is before 1st stop line, set stop line to 1st stop line and clear prev_occlusion_stop_line_pose_ Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * (misc) fix viz, sync param Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * fixed vehicle footprint offset calculation Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * add occcupancy_grid_map method/param var to launcher Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * migrated latest Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * use static pass judge line Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * removed some params Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * organized param Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * add occlusion enable flag Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * revert occupancy grid settings in this PR Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * remove comment Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * fixed pass judge line collision detection to original Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * style(pre-commit): autofix * use vehicle_length for static pass judge line Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> * fixed virtual wall marker Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> --------- Signed-off-by: Mamoru Sobue <mamoru.sobue@tier4.jp> Signed-off-by: Mamoru Sobue <hilo.soblin@gmail.com> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Signed-off-by: Mingyu Li <mingyu.li@tier4.jp>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
component:common
Common packages from the autoware-common repository. (auto-assigned)
component:planning
Route planning, decision-making, and navigation. (auto-assigned)
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description
This PR adds the functionality to consider occluded area in
attention area
to care the possible collisions with upcoming vehicles from the occluded area.workflow
If occlusion is detected on the attention area, the vehicle will not judge "SAFE" because it may be missing vehicles running from the occluded attention area. Until the occlusion becomes clear, the ego vehicle will behave as follows.
Firstly the vehicle will stop at the default stop line for
occlusion/before_creep_stop_time
.After that the vehicle will creep toward the limit occlusion stop line at the velocity of
occlusion/occlusion_creep_velocity
.If the occlusion get cleared because ego approached enough to the attention area, or the blocking vehicle disappeared, etc., then it restarts collision checking and pass the intersection accordingly.
algorithm
Internally this module generates a costmap
/planning/scenario_planning/lane_driving/behavior_planning/behavior_velocity_planner/debug/intersection/occlusion_grid
where each cell represents the distance to ego's path along the lane.Currently this costmap is visualized as a grid_map whose cost is colorized with heatmap.
Related links
Parameter PR: autowarefoundation/autoware_launch#305
RTC message PR: tier4/tier4_autoware_msgs#83
adapi PR: tier4/tier4_ad_api_adaptor#100
Tests performed
By default this feature is disabled and has no influence on the current system as of now.
There was no degradation on the CI.
https://evaluation.tier4.jp/evaluation/reports/d78641b5-3ab8-5bcc-8e56-a9d6058bb997?project_id=prd_jt
https://evaluation.tier4.jp/evaluation/reports/16dd774e-d506-5332-9d95-e241d83f9bc9?project_id=prd_jt
Notes for reviewers
This feature is under development and so is set to off by default. After the feature gets stable and reliable I will update the document and enable the flag.
Interface changes
A topic
/planning/cooperate_status/intersection_occlusion
is newly addedEffects on system behavior
If enabled, the vehicle will stop in the intersection if occlusion is detected.
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.