You can create routes via TraCI (traci.route.add) and then use these routes
for your new vehicles.
You can also add vehicles with an empty string as route id (it will be
added to an arbitrary edge) but this only makes sense if you want to move
it around using moveToXY functionality thereafter.

regards,
Jakob

Am Fr., 27. Sept. 2019 um 10:49 Uhr schrieb cg <[email protected]>:

> Hello all,
>
> I'm trying to add vehicles through TraCI but I'm facing a problem of
> specifying the route ID as required by the API. My simulation will start
> with no vehicles and the vehicles will only be added through TraCI, can I
> add vehicles without valid route IDs?
>
> Thanks,
> CG
>
>
>
> --
> Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
> _______________________________________________
> 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
>
_______________________________________________
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

Reply via email to