Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] moveToXY

The edgeID argument for moveToXY can be left blank (""). It is only needed for disambiguation on intersections when there are many lanes on top of each other.

Am Di., 26. Nov. 2019 um 16:26 Uhr schrieb Mohsin Memon <mohsin.ldce@xxxxxxxxx>:
Hi Jakob,

Thank you very much for your help. I can see the vehicle in sumo network
now.

I have one doubt here:

I want to control my EGO vehicle using moveToXY getting data from IPG
Carmaker every timesteps,

For edgeID, I want to give input from SUMO itself as there is no such
parameter in IPG Carmaker.

For that, i have thought of giving future or next edgeID of my ego vehicle
every timesteps to my ego vehicle itself to run co-simulation.

I went through all functions in traci4matlab and found one :function
nextEdge = getNextEdge(personID).

I want the same for Vehicle ID, is there any such functions? please let me
know if any.

Thanks in advance.





--
Sent from: http://sumo-user-mailing-list.90755.n8.nabble.com/
_______________________________________________
sumo-user mailing list
sumo-user@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user

Back to the top