New findneighbor function to replace the family of functions get_neighbor_along_left_lane, get_rear_neighbor_along_right_lane with repeated code.
rightlane and leftlane helpers that returns the lane to the left or right of a vehicle or of a lane.
TODOs:
[x] remove the get_neighbor_XXX function from the code. Maybe I will just deprecate them or maybe we can just remove it and make this part of the v0.8 changes which are going to be breaking anyway.
Coverage increased (+1.1%) to 76.137% when pulling 2858b4626b3da7495b4661797406498018b02cea on findneighbor into d0ac8250c368950a825952e80ea17661a6ac8a45 on master.
New
findneighbor
function to replace the family of functionsget_neighbor_along_left_lane
,get_rear_neighbor_along_right_lane
with repeated code.rightlane
andleftlane
helpers that returns the lane to the left or right of a vehicle or of a lane.TODOs:
get_neighbor_XXX
function from the code. Maybe I will just deprecate them or maybe we can just remove it and make this part of the v0.8 changes which are going to be breaking anyway.