Hi,
i'm new in python.
I want to connect with Traci to a running Sumo execution. Later this should be
a server connection, but now i tried with localhost. I have started the
execution with TraaS with a static port.
My code to connect looks like this:
def run():
traci.init(PORT,1,'localhost')
print (traci.simulation.getCurrentTime())
print (traci._vehicle.VehicleDomain.getPosition('0'))
traci.close()
sys.stdout.flush()
There are no exceptions.
What am i doing wrong?
Greetings
------------------------------------------------------------------------------
What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic
patterns at an interface-level. Reveals which users, apps, and protocols are
consuming the most bandwidth. Provides multi-vendor support for NetFlow,
J-Flow, sFlow and other flows. Make informed decisions using capacity
planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e
_______________________________________________
sumo-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sumo-user