You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When finding the rear neighbor using get_neighbor_rear_along_lane, the fore neighbor is selected rather than the rear in situations where the rear is in a different road segments. And more specifically, it primarily, and perhaps only, happens in the specific road segment considered in the attached notebook.
I think the bug is in the distance calculations, but I haven't figured it out yet. Included in the notebook is a copy of get_neighbor_rear_along_lane with a change that prevents the bug from occurring, but does so indirectly and so is not a great solution. The notebook also contains a minimal example demonstrating the bug.
When finding the rear neighbor using get_neighbor_rear_along_lane, the fore neighbor is selected rather than the rear in situations where the rear is in a different road segments. And more specifically, it primarily, and perhaps only, happens in the specific road segment considered in the attached notebook.
I think the bug is in the distance calculations, but I haven't figured it out yet. Included in the notebook is a copy of get_neighbor_rear_along_lane with a change that prevents the bug from occurring, but does so indirectly and so is not a great solution. The notebook also contains a minimal example demonstrating the bug.
get_neighbor_rear_along_lane.zip
The text was updated successfully, but these errors were encountered: