Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [sumo-user] Best way to add special points to the network

I recommend using parkingAreas for this. You can park trucks there and query their number and you will get a neat visualization for free. Also, you can add arbitrary information to all simulation objects by using the functions setParameter and getParameter: traci.edge.setParameter("myEdge", "myKey", "myValue")
For edges and lanes such custom parameter data can also be embedded in the .net.xml file: https://sumo.dlr.de/wiki/Simulation/GenericParameters

regards,
Jakob

Am Di., 20. Aug. 2019 um 15:53 Uhr schrieb Paolo Bolzoni <paolo.bolzoni.brown@xxxxxxxxx>:
Dear list,

What is the best way to add arbitrary information to the network?

In particular I need to put truck depots in the map so that traci can
know where those depots are and how many trucks are in there.

Yours faithfully,
Paolo
_______________________________________________
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