Dear SUMO Users

I've recently installed SUMO 0.26.0, but I'm struggling with the Python
implementation of TraCI. In short, while much works as expected (e.g.
traci.simulation works well), some modules seem to be missing (e.g. I can't
find "vehicle.py" in "...\Sumo\tools\traci\"). Have I misunderstood
something fundamental?

In more detail, much of SUMO and its supporting documentation worked well
for me, allowing me to import OSM detail, convert it to a SUMO network that
makes sense for New Zealand conditions (e.g. "lefthand" is much
appreciated!), define relevant vehicles/traffic, and run simulations. Going
a step further, I can now interact with it via Python/TraCI (e.g. no
problem spawning sumo via a subprocess, and calling functions such as
"traci.simulation.getMinExpectedNumber()"), but I'm now struggling to
access vehicle detail ... whenever I attempt to use "traci.vehicle", my
Eclipse-based Python (v2.7.11) says "Undefined variable from import:
vehicle". As above, the interface definition file ("vehicle.py") seems to
be missing, although the file providing its underlying implementation
("_vehicle.py") is available.

Apologies if this is a newbie error, but any and all help would be
appreciated!

Kind regards

- Martin
------------------------------------------------------------------------------
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

Reply via email to