I have been trying to use the CommonJunctionCreator to create 4 way intersections with and without medians. I first noticed this problem on an intersection with 2 left and 2 right lanes and a median lane assigned as an extra left lane. It appears that the fourth road is offset by 1 lane width and it is throwing off the location of some of the connecting roads.
I have also noticed that this problem is fixed if the number of left and right lanes is reduced by 1.
However the problem get's worse if you add to the number of left and right lanes. You can see here that with 3 left and right lanes the road appears to be offset by 2 lanes.
I thought the way I was adding the median lane may have been causing this but when I tested this I determined that the issue persists just at a different number of lanes. 2 left and right lanes works fine, 3 left and right lanes has a 1 lane offset and the offset grows as more lanes are added.
Does anybody have any advice for fixing this or working around this problem?
I have been trying to use the CommonJunctionCreator to create 4 way intersections with and without medians. I first noticed this problem on an intersection with 2 left and 2 right lanes and a median lane assigned as an extra left lane. It appears that the fourth road is offset by 1 lane width and it is throwing off the location of some of the connecting roads.![image](https://github.com/pyoscx/scenariogeneration/assets/79327812/c24be305-09ef-40c1-8d9b-6712aa6c12d6)
I have also noticed that this problem is fixed if the number of left and right lanes is reduced by 1.![image](https://github.com/pyoscx/scenariogeneration/assets/79327812/cfd439fd-0d69-495a-9675-086e20653a30)
However the problem get's worse if you add to the number of left and right lanes. You can see here that with 3 left and right lanes the road appears to be offset by 2 lanes.![image](https://github.com/pyoscx/scenariogeneration/assets/79327812/6c81cc35-42d0-4f29-a582-3d7cdd0f7b80)
I thought the way I was adding the median lane may have been causing this but when I tested this I determined that the issue persists just at a different number of lanes. 2 left and right lanes works fine, 3 left and right lanes has a 1 lane offset and the offset grows as more lanes are added.
![image](https://github.com/pyoscx/scenariogeneration/assets/79327812/7e053b00-eb95-4c29-8369-e2b9689107fd)
Does anybody have any advice for fixing this or working around this problem?