Join GitHub today
sumo server crash because import from opendrive creates "invisible" internal lanes #5114
when using netconvert to import opendrive maps, sumo creates internal junctions and cuts some of the sublanes into 2 pieces. the problem is that traci's distance functions dont work from these lanes and crash the whole server. (simulation.getDistanceRoad and simulation.getDistance2D).
is there a flag in netconvert to disable this internal junction thing but keep the regular junction lanes?
The internal junctions are necessary to make vehicles behave correctly while passing certain types of intersection. If you manage to crash the server by calling getDistance then this Is a bug that needs fixing.
Having a length mismatch between the total length of internal lanes in .net.xml and opendrive can be caused by using generated internal lane geometry. Try setting option --opendrive.internal-shapes during netconvert import. If that does not solve the problem, please provide an example opendrive file and specify the problematic internal lane.
crash when using traci.simulation.getDistanceRoad()
on junction 8, lane :8_7 (left turn from -129.0.00_0 to -133.0.00_0) is divided using internal junction into :8_7 + :8_9.
this function call results in a sumo server crash.