traci
index
/build/sumo-tsH3bQ/sumo-0.28.0+dfsg1/tools/traci/__init__.py

@file    __init__.py
@author  Michael Behrisch
@author  Lena Kalleske
@author  Mario Krumnow
@author  Daniel Krajzewicz
@author  Jakob Erdmann
@date    2008-10-09
@version $Id: __init__.py 21851 2016-10-31 12:20:12Z behrisch $
 
Python implementation of the TraCI interface.
 
SUMO, Simulation of Urban MObility; see http://sumo.dlr.de/
Copyright (C) 2008-2016 DLR (http://www.dlr.de/) and contributors
 
This file is part of SUMO.
SUMO is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 3 of the License, or
(at your option) any later version.

 
Package Contents
       
_areal
_edge
_gui
_inductionloop
_junction
_lane
_multientryexit
_person
_poi
_polygon
_route
_simulation
_trafficlights
_vehicle
_vehicletype
connection
constants
domain
exceptions
rebuildConstants
storage
traciToHex

 
Functions
       
close(wait=True)
connect(port=8813, numRetries=10, host='localhost', proc=None)
Establish a connection to a TraCI-Server and return the
connection object. The connection is not saved in the pool and not
accessible via traci.switch. It should be safe to use different
connections established by this method in different threads.
getVersion()
init(port=8813, numRetries=10, host='localhost', label='default')
Establish a connection to a TraCI-Server and store it under the given
label. This method is not thread-safe. It accesses the connection
pool concurrently.
isEmbedded()
simulationStep(step=0)
Make a simulation step and simulate up to the given millisecond in sim time.
If the given value is 0 or absent, exactly one step is performed.
Values smaller than or equal to the current sim time result in no action.
start(cmd, port=None, numRetries=10, label='default')
Start a sumo server using cmd, establish a connection to it and
store it under the given label. This method is not thread-safe.
switch(label)

 
Data
        absolute_import = _Feature((2, 5, 0, 'alpha', 1), (3, 0, 0, 'alpha', 0), 16384)
areal = <traci._areal.ArealDomain instance>
edge = <traci._edge.EdgeDomain instance>
gui = <traci._gui.GuiDomain instance>
inductionloop = <traci._inductionloop.InductionLoopDomain instance>
junction = <traci._junction.JunctionDomain instance>
lane = <traci._lane.LaneDomain instance>
multientryexit = <traci._multientryexit.MultiEntryExitDomain instance>
person = <traci._person.PersonDomain instance>
poi = <traci._poi.PoiDomain instance>
polygon = <traci._polygon.PolygonDomain instance>
print_function = _Feature((2, 6, 0, 'alpha', 2), (3, 0, 0, 'alpha', 0), 65536)
route = <traci._route.RouteDomain instance>
simulation = <traci._simulation.SimulationDomain instance>
trafficlights = <traci._trafficlights.TrafficLightsDomain instance>
vehicle = <traci._vehicle.VehicleDomain instance>
vehicletype = <traci._vehicletype.VehicleTypeDomain instance>