[intersection] Incoming vehicle is ignored in some complex pattern #6863
Labels
component:planning
Route planning, decision-making, and navigation. (auto-assigned)
type:bug
Software flaws or errors.
Checklist
Description
We observed incoming vehicles are ignored by the intersection module in in some specific pattern. Here is a simple demonstration with the planning simulator:
intersection_fail-2024-04-22_19.41.16.mp4
As you can observe, an "intersection" wall appears when the dummy vehicle comes from below, but not when the vehicle comes from the left or the top. If I simplify the map by deleting all irrelevant lanelets, then incoming vehicles are always detected as expected:
intersection_ok-2024-04-22_19.47.09.mp4
I have tried to simplify the first lanelet map, but as soon as I remove 1 or 2 lanelet the problem disappears. I guess the issue is related to the lanelet map being just a convoluted loop, and deleting a lanelet breaks the loop.
The 2 lanelet maps:
lanelet2_map_intersection_fail.txt
lanelet2_map_intersection_ok.txt
Expected behavior
Intersection module detects all incoming vehicles
Actual behavior
In the first case, vehicle coming from the top or left are systematically ignored
Steps to reproduce
plannin simulator
Versions
Ubuntu 22.04
The demo is shown with latest main, but the problem also appears on several older versions I have tested.
Possible causes
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: