Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Add vehicle depart position format

Dear list,

In my traci python program I am using traci.vehicle.add[1] to add
vehicles. I would like to add a vehicle in the middle of an edge, but
I am not sure what is the format of the departPos formal parameter.
Its type is string and its default value is 'base'; how can I put a
vehicle in the middle of an edge? Or at its end?

I tried to put the distance in meters from the the edge source, but it
has apparently no effect.

As usual, a properly linked "RTM answer" is welcome and thanks.

Cheers,
Paolo


[1]
https://sumo.dlr.de/pydoc/traci._vehicle.html#VehicleDomain-add


Back to the top