Hi,

Hope this email finds you well.

I’m trying to issue new routes for vehicle by traci.vehicle.setRoute(vehID, 
edgelist).

The first element of the “edgelist”, which should be the current edge, is 
acquired by traci.vehicle.getRoadID(vehID).

The edgelist is: [':E1_17', 'E1E2', 'E2F2', 'F2F1', 'F1E1', 'E1E2']

Yet, there would be an error: traci.exceptions.TraCIException: Route 
replacement failed for taxi9.

Is it because the internal edge can’t be used as the first of the new rout, or 
some other things triggered the error?

Many thanks.

Best regards,
Linyang



_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to