Dear SUMO users and developers,
I would like to change the route dynamically via traci, but I face some
challenges and appreciate that if you could assist.
1- by using aa=traci.vehicle.getIDList()
traci.vehicle.changeTarget(aa[0], "53i")
SUMO throws this error: traci.exceptions.TraCIException: Route replacement
failed for left_0left_0 is the ID of the vehicle.
2- How can I get a list of edges from the current location (by using getRoadID)
to the new target "53i" in this case?
3- I am using visual studio (VS) for connecting to traci and notice that it
does not have the autocomplete function, is there a guide about enabling this
in VS?
Many thanksMohsen
_______________________________________________
sumo-user mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from
this list, visit
https://dev.eclipse.org/mailman/listinfo/sumo-user