It is not possible to read the vNext value of the current simulation step
via TraCI before that step is done. Since it generally depends on the
interactions of all vehicles it is only known after the simulation step has
been fully computed.
If you use moveToXY, then vNext for that vehicle is not
Here is how it works:
http://sumo.dlr.de/wiki/TraCI/Change_Vehicle_State#Application_order_of_traci_commands_and_simulation_step
regards,
Jakob
2018-04-12 17:36 GMT+02:00 Luca Di Costanzo :
> Hi guys,
>
> I'd like to ask, better, how microsimulation working in
Hi guys,
I'd like to ask, better, how microsimulation working in SUMO. Since that me
and my fellows are trying to add an external dynamic vehicle in SUMO
through Simulink. We established a communication between SUMO and Simulink
but we stucked when we tried to override the position in SUMO we