fix: add new logic to junction post converter
this fix adds a new logic to junction post converter.
in the new logic, if a road leads to a junction, the successor of lanes in this road can be duduced from junction internal data.
details:
- The junction converter will go through each junction connection.
- Then junction connection will read each junction lane link.
- The converter is then able to use the following logic to deduce successor of a lane:
- if junction_lane_link.from < 0 && junction_lane_link.to < 0, this means the incoming road's last lane section will connect to start section of the connecting road.
- if junction_lane_link.from < 0 && junction_lane_link.to > 0, this means the incoming road's last lane section will connect to last section of the connecting road.
- if junction_lane_link.from < 0 && junction_lane_link.to < 0, this means the incoming road's start lane section will connect to start section of the connecting road.
- if junction_lane_link.from < 0 && junction_lane_link.to > 0, this means the incoming road's start lane section will connect to last section of the connecting road.
Edited by Ziqi Zhou