@pipeacosta
in my script I wanted to use the findRoute function, but there occurs an indexing error...
I checked the function in the provided traci_test2 example and italso doesn't work there...
seems to be a problem typecasting in the result reading process:
route = traci.simulation.readStage(result);
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);
Error in traci_test2 (line 802)
route = traci.simulation.findRoute('1i','2o')
@pipeacosta in my script I wanted to use the findRoute function, but there occurs an indexing error... I checked the function in the provided traci_test2 example and italso doesn't work there... seems to be a problem typecasting in the result reading process:
route = traci.simulation.readStage(result);