Hello,
1) adding a route only succeeds if the name is not already used by another
route. Therefore, adding the same route again and again in a loop cannot
work. The resulting error is not fatal, however. You can catch the
TraCIException and continue with your script.
2) adding a trip (a route with
Dear SUMO Community,
I tried generate a new trip and a new vehicle using the example written in the
following page:
http://sumo.dlr.de/wiki/TraCI/Interfacing_TraCI_from_Python
At the beginning, to understand how it works I decided to keep things simple
and used a minimal map (attached).
The line