Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] vehicle parameters for the current step

No. TraCI runs before the computation of this step's values (https://sumo.dlr.de/docs/Developer/Implementation_Notes/Simulation_Loop.html#main_vehicle_update_loop)

Am So., 25. Sept. 2022 um 11:02 Uhr schrieb Mahima <mahima13@xxxxxxxxx>:
Hi,

Is there any way to read the vehicle's speed, lane and position in the current timestep?

libsumo::Vehicle::getLanePosition
libsumo::Vehicle::getSpeed
All these APIs, give information about the last timestep.

Thanks
_______________________________________________
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