sumo icon indicating copy to clipboard operation
sumo copied to clipboard

Gets the time the vehicle arrived at the specified location

Open just-wynot opened this issue 3 years ago • 1 comments

I have a car on a lane with a length of 200m and the road coordinates are (0,0). How can I estimate the time of the vehicle's arrival at (150,0)

**SUMO-version:**1.16

**operating system:**windows

just-wynot avatar Jul 14 '23 08:07 just-wynot

This will work satisfactorily only in very simple scenarios, as the vehicle may interact with other road users: You can query vehicle information about the current position, speed and acceleration using TraCI (general overviw / read vehicle-related information ). Together with other information from the vehicle type and the speed limit you could estimate the expected acceleration, speed and position.

m-kro avatar Jul 14 '23 09:07 m-kro