hello,

I am trying to understand the difference between getSpeed and getFollowSpeed.
Based on the definition, it seems like getSpeed returns the speed from the 
current time step whereas getFollowSpeed returns the speed for the next 
timestep (calculated by the carFollowingmodel).

However, when I printed both speeds it seems like getFollowSpeed returned the 
current time step's speed and getSpeed returned the speed from the last time 
step.
I attached a screenshot that shows both getSpeed and getFollowSpeed printed in 
command window and the current status of the vehicle in simulation.

The first highlighted speed is the 'getFollowSpeed' and the second highlighted 
speed is the current speed of the vehicle (in simulation).

If 'getFollowSpeed' doesn't return the next timestep's speed, is there any way 
in SUMO to predict the next timestep's speed?

Thank you,


_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit 
https://www.eclipse.org/mailman/listinfo/sumo-user

Reply via email to