[sumo-user] [MICROSCOPIC SIMULATION][SIMULATION STEP][vNext]

2018-04-12 Thread Luca Di Costanzo
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 obta

Re: [sumo-user] [MICROSCOPIC SIMULATION][SIMULATION STEP][vNext]

2018-04-12 Thread Jakob Erdmann
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 SUMO. Since that > me and my fe

Re: [sumo-user] [MICROSCOPIC SIMULATION][SIMULATION STEP][vNext]

2018-04-13 Thread Luca Di Costanzo
Thanks Jakob. At the end now I'm strongly convinced that, to do what we planned, we have to read vNext variable. As far as you know is it accessible through TraCI? Do you think, moreover, that could be possible to create a script in MATLAB to read this variable? I have to admit that till now we a

Re: [sumo-user] [MICROSCOPIC SIMULATION][SIMULATION STEP][vNext]

2018-04-13 Thread Jakob Erdmann
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 u

Re: [sumo-user] [MICROSCOPIC SIMULATION][SIMULATION STEP][vNext]

2018-04-13 Thread Luca Di Costanzo
I got your point Jakob. Our voluntee was to use SUMO to manage all the interaction between vehicles and, after all these interactions, use it as a target speed and/or position for our ego vehicle in the vehicle dynamic. If it was reached do nothing otherwise override the values with the one calcu