Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[sumo-user] Modify update interval of vehicle's position

Hi all,

Good day!

In my simulation, I'm getting the current position of the vehicles through the getCurrentPosition() of the InetMobility module.
However, I'd like to adjust the interval in which the position of the vehicles gets updated. Specifically, I'd like to make it smaller, so that the position gets updated more often.

It seems that one way to do this is to modify the "time step length" parameter in the sumocfg file.
I tried different values, but the simulator does not work for values less than 1ms. What is the minimum "time step length" that SUMO permits?
Also, is it the right method to achieve my goal described above? Or are there better ways to do it?

Thank you in advance for your help. :)

Kind regards,
Charmae

Back to the top