Dear Rohan,
 
you can add an incomplete route to trigger a rerouting process at insertion 
time. Just provide the departure and arrival edge when adding a route with 
traci.route.add. We have a test scenario
<https://sumo.dlr.de/extractTest.php?path=complex/traci/vehicle/add/addTrip> 
where you can study it. Then use the created route for the next vehicle to 
add.
 
Best regards
Mirko
 
 
 
 
-----Original-Nachricht-----
Betreff: [sumo-user] Adding vehicles using TraCI
Datum: 2023-11-29T12:10:38+0100
Von: "191 000 via sumo-user" <[email protected]>
An: "Sumo project User discussions" <[email protected]>
 
 
 
Dear community,
Is the following scenario possible using Traci? If yes, kindly direct me on 
how to achieve this. We have a sumo config file. The TraCI adds a vehicle 
but does not assign any route(in the route file) to it. A departure lane 
and arrival lane are provided, and the route is calculated automatically.
I am doing this as I want to add a parking stop to the vehicle afterwards, 
but predetermined routes sometimes lead to an error of parking space not 
lying along the route. The idea is that we add all the vehicles at the same 
departure and arrival lane. However, assign random parking spaces to them.
Any help is greatly appreciated.
Thanks and Regards,
Rohan
 

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

Reply via email to