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): avoidable right side parked-vehicle #2932

Conversation

satoshi-ota
Copy link
Contributor

@satoshi-ota satoshi-ota commented Feb 22, 2023

Description

⬇️ This must be merged before this PR.
autowarefoundation/autoware_launch#223

For now, part of the avoidance module's target filtering logic depends on left-hand traffic, so there is a issue that the ego could not avoid right side parked-vehicles in right-hand traffic environment.

In this PR, the avoidance module supports right-hand traffic, and it is able to avoid right side parked-vehicles.

Test perform

detect the left side stopped vehicle as parked car

rviz_screenshot_2023_02_22-16_02_40

detect the right side stopped vehicle as parked car

rviz_screenshot_2023_02_22-15_55_36

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.

  • There are no open discussions or they are tracked via tickets.

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

@github-actions github-actions bot added the component:planning Route planning, decision-making, and navigation. (auto-assigned) label Feb 22, 2023
@codecov
Copy link

codecov bot commented Feb 22, 2023

Codecov Report

Patch coverage has no change and project coverage change: -0.01 ⚠️

Comparison is base (f76977a) 11.99% compared to head (9a857c8) 11.99%.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2932      +/-   ##
==========================================
- Coverage   11.99%   11.99%   -0.01%     
==========================================
  Files        1314     1314              
  Lines       91445    91474      +29     
  Branches    24240    24258      +18     
==========================================
  Hits        10971    10971              
- Misses      69113    69142      +29     
  Partials    11361    11361              
Flag Coverage Δ *Carryforward flag
differential 5.41% <0.00%> (?)
total 12.00% <ø> (+<0.01%) ⬆️ Carriedforward from f76977a

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

Impacted Files Coverage Δ
...havior_path_planner/behavior_path_planner_node.hpp 0.00% <ø> (ø)
...th_planner/scene_module/scene_module_interface.hpp 0.00% <0.00%> (ø)
...or_path_planner/src/behavior_path_planner_node.cpp 0.15% <ø> (ø)
...ehavior_path_planner/src/behavior_tree_manager.cpp 0.00% <0.00%> (ø)
...er/src/scene_module/avoidance/avoidance_module.cpp 0.00% <0.00%> (ø)
..._planner/src/scene_module/scene_module_visitor.cpp 0.00% <ø> (ø)
planning/route_handler/src/route_handler.cpp 11.49% <0.00%> (-0.07%) ⬇️

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.
📢 Do you have feedback about the report comment? Let us know in this issue.

@satoshi-ota
Copy link
Contributor Author

satoshi-ota commented Feb 23, 2023

@zulfaqar-azmi-t4 @mitsudome-r I fixed following issue, so could you review this PR? Thanks in advance 🙏

Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
@satoshi-ota satoshi-ota force-pushed the fix/support-right-hand-traffic-avoidance branch from 76c14b0 to 241d6e9 Compare March 2, 2023 00:06
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
Signed-off-by: satoshi-ota <satoshi.ota928@gmail.com>
@satoshi-ota satoshi-ota force-pushed the fix/support-right-hand-traffic-avoidance branch from 241d6e9 to 9a857c8 Compare March 2, 2023 00:13
@satoshi-ota
Copy link
Contributor Author

NOTE: ⬇️ This PR is no longer needed.
autowarefoundation/autoware_launch#223

@satoshi-ota
Copy link
Contributor Author

Evaluator result

[TIER IV INTERNAL LINK] Baseline 875/877
[TIER IV INTERNAL LINK] This PR 875/877

@satoshi-ota satoshi-ota changed the title fix(avoidance): support right hand traffic fix(avoidance): avoidable right side parked-vehicle Mar 2, 2023
@zulfaqar-azmi-t4
Copy link
Contributor

Tested with two map with difference lane width. It works nicely!
Screenshot from 2023-03-03 14-25-49
Screenshot from 2023-03-03 14-29-24
Screenshot from 2023-03-03 14-29-51

Copy link
Contributor

@zulfaqar-azmi-t4 zulfaqar-azmi-t4 left a comment

Choose a reason for hiding this comment

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

LGTM!

@satoshi-ota satoshi-ota enabled auto-merge (squash) March 3, 2023 05:36
@satoshi-ota satoshi-ota merged commit 9929414 into autowarefoundation:main Mar 3, 2023
@satoshi-ota satoshi-ota deleted the fix/support-right-hand-traffic-avoidance branch March 3, 2023 05:36
1222-takeshi pushed a commit to 1222-takeshi/autoware.universe that referenced this pull request Mar 6, 2023
…on#2932)

* feat(route_handler): add getMostRightLanelet()

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

* feat(avoidance): add new param to select right/left hand traffic

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

* fix(avoidance): support right hand traffic

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

* fix(avoidance): avoidable right side parked vehicle

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

---------

Signed-off-by: satoshi-ota <satoshi.ota928@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
None yet
Development

Successfully merging this pull request may close these issues.

Avoidance module always assume that object is parked on the left
2 participants