Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Spawn a new vehicle in parking state for indefinite time

Yes. See traci.vehicle.add and traci.vehicle.setStop (simple use a very high duration for the stop and also set the STOP_PARKING flag).

Am Di., 18. Apr. 2023 um 16:59 Uhr schrieb Philip Daely <daely.philip@xxxxxxxxx>:
Hello everyone, 

is it possible to add a new vehicle in the middle of simulation, that is in parking mode for indefinite time (maybe will not move at all)  run using Python+traci?

I am trying to model a vehicle depot scenario, where a depot will have several vehicles standing by (parking) and each vehicle will only move when at least one location to visit is assigned to it.

Thank you
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top