Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] TraCI commands to read future vehicle speeds

  No. There is no command that can look far nto the future or the past with regard to speeds.
You can use the functions  getLeader and getFollowSpeed to predict the speed in the current step (traci code runs before the vehicle moves).
For past speeds, simply collect the desired values and store them for later reference.

Am Mi., 29. Sept. 2021 um 22:09 Uhr schrieb Francesco Zambolin <francesco.zambolin@xxxxxxxxxxxxxxxxxx>:

 

Hello, everyone.

 

I have a question regarding TraCI commands belonging to the vehicle domain.

 

Is there a command that allows to obtain, at the time-step i, a prediction of the ego-vehicle's speed at time-step i+10 for example?

 

Or the possibility to obtain, at time-step i of the simulation, a vector of vehicle speed within a time window of [i-5, i+5]?

 

Thanks for your support. Best regards from Politecnico di Torino, Italy.

_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top