Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Lane change duration

Hello all,

Does the command:

traci.vehicle.changeLane(vehID="v", laneIndex=0, duration=10)

mean that vehicle with ID "v" will try to change lane to lane 0 for the next 10 seconds - until traci.vehicle.couldChangeLane(vehID="v", direction=+1) evaluates to True? So if an action is taken by the vehicle at every second, it means it will try to change lane for the next 10 steps (or 10 seconds, since every simulation step = 1s by default).
Thank you.


Back to the top