-
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
fix(static_obstacle_avoidance): fix issues in target object filtering logic #7830
Conversation
…its position point instead of its polygon Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: satoshi-ota <[email protected]>
…current lane is not preferred Signed-off-by: satoshi-ota <[email protected]>
Signed-off-by: satoshi-ota <[email protected]>
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #7830 +/- ##
==========================================
- Coverage 28.67% 28.67% -0.01%
==========================================
Files 1587 1588 +1
Lines 116303 116319 +16
Branches 49662 49673 +11
==========================================
+ Hits 33355 33359 +4
- Misses 73904 73917 +13
+ Partials 9044 9043 -1
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
… logic (autowarefoundation#7830) * fix(static_obstacle_avoidance): check if object is inside/outside by its position point instead of its polygon Signed-off-by: satoshi-ota <[email protected]> * refactor(static_obstacle_avoidance): add getter functions Signed-off-by: satoshi-ota <[email protected]> * fix(static_obstacle_avoidance): check next lane without route if the current lane is not preferred Signed-off-by: satoshi-ota <[email protected]> * fix(static_obstacle_avoidance): fix parked vehicle check Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]>
… logic (autowarefoundation#7830) * fix(static_obstacle_avoidance): check if object is inside/outside by its position point instead of its polygon Signed-off-by: satoshi-ota <[email protected]> * refactor(static_obstacle_avoidance): add getter functions Signed-off-by: satoshi-ota <[email protected]> * fix(static_obstacle_avoidance): check next lane without route if the current lane is not preferred Signed-off-by: satoshi-ota <[email protected]> * fix(static_obstacle_avoidance): fix parked vehicle check Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]>
… logic (autowarefoundation#7830) * fix(static_obstacle_avoidance): check if object is inside/outside by its position point instead of its polygon Signed-off-by: satoshi-ota <[email protected]> * refactor(static_obstacle_avoidance): add getter functions Signed-off-by: satoshi-ota <[email protected]> * fix(static_obstacle_avoidance): check next lane without route if the current lane is not preferred Signed-off-by: satoshi-ota <[email protected]> * fix(static_obstacle_avoidance): fix parked vehicle check Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]> Signed-off-by: palas21 <[email protected]>
… logic (autowarefoundation#7830) * fix(static_obstacle_avoidance): check if object is inside/outside by its position point instead of its polygon Signed-off-by: satoshi-ota <[email protected]> * refactor(static_obstacle_avoidance): add getter functions Signed-off-by: satoshi-ota <[email protected]> * fix(static_obstacle_avoidance): check next lane without route if the current lane is not preferred Signed-off-by: satoshi-ota <[email protected]> * fix(static_obstacle_avoidance): fix parked vehicle check Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]>
… logic (#7830) * fix(static_obstacle_avoidance): check if object is inside/outside by its position point instead of its polygon Signed-off-by: satoshi-ota <[email protected]> * refactor(static_obstacle_avoidance): add getter functions Signed-off-by: satoshi-ota <[email protected]> * fix(static_obstacle_avoidance): check next lane without route if the current lane is not preferred Signed-off-by: satoshi-ota <[email protected]> * fix(static_obstacle_avoidance): fix parked vehicle check Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]>
… logic (autowarefoundation#7830) * fix(static_obstacle_avoidance): check if object is inside/outside by its position point instead of its polygon Signed-off-by: satoshi-ota <[email protected]> * refactor(static_obstacle_avoidance): add getter functions Signed-off-by: satoshi-ota <[email protected]> * fix(static_obstacle_avoidance): check next lane without route if the current lane is not preferred Signed-off-by: satoshi-ota <[email protected]> * fix(static_obstacle_avoidance): fix parked vehicle check Signed-off-by: satoshi-ota <[email protected]> --------- Signed-off-by: satoshi-ota <[email protected]>
Description
improve logic to judge if the vehicle is in intersection e27f497
Originally, this module checks whether the object polygon is perfectly in intersection polygon. But somtimes it caused wrong judgement due to the perception performance or noise. In this PR, I changed the logic to use object position point instead of its polygon for
boost::geometry::within
function.BEFORE
AFTER
support edge case where the current lane is terminated 5da4c47
This moule checks whether the object is on ego lane by using
route_handler->getNextLaneletWithinRoute
. But the lane where the bus is on is NOT included in route lanelet in following fig.Then, I added following process to handle this situation.
BEFORE
AFTER
fix parked vehicle judgement b6ca523
Previously, this module couldn't filter parked vehicle properly because it didn't use most right/left lane to calculate shiftable ratio when there were opposite lanes.
BEFORE
In this case, the bus is judged as parked vehicle even though it's on middle lane.
AFTER
After this PR, the bus is judged non-parked vehicle.
Related links
Parent Issue:
How was this PR tested?
Notes for reviewers
None.
Interface changes
None.
Effects on system behavior
None.