Hey,
is there a chance to get the edges for a trip which is defined by start and end
edge? I wanna use traci (traci4matlab) but findRoute doesn't work?
I tried to find the (probable) parsing mistake, but wasn't successful so far.
For exemplary edges edge_a and edge_b the command and the error are:
Command:
traci.simulation.findRoute('edge_a,' edge_b ','passenger')
Error:
Index exceeds array bounds.
Error in traci.Storage/read (line 22)
value =
this.content(oldpos:this.pos-1);
Error in traci.Storage/readString (line 59)
value = char(this.read(len));
Error in traci.simulation.readStage (line 17)
intended = result.readString();
Error in traci.simulation.findRoute (line 45)
route = traci.simulation.readStage(result);
The same error occurs in the provided test function traci_test2.m if u
uncomment line 802 (route = traci.simulation.findRoute('1i','2o') )
In https://sumo.dlr.de/wiki/Demand/Automatic_Routing it says that the fastest
route is chosen and in the sumo-gui the route can be made visible by "show
current route".
Probably someone knows a walkaround.
Thanks,
Kevin
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user