| |
- getIDList()
- getIDList() -> list(string)
Returns a list of all induction loops in the network.
- getLaneID(loopID)
- getLaneID(string) -> string
Returns the id of the lane the loop is on.
- getLastStepMeanLength(loopID)
- getLastStepMeanLength(string) -> double
.
- getLastStepMeanSpeed(loopID)
- getLastStepMeanSpeed(string) -> double
.
- getLastStepOccupancy(loopID)
- getLastStepOccupancy(string) -> double
.
- getLastStepVehicleIDs(loopID)
- getLastStepVehicleIDs(string) -> list(string)
.
- getLastStepVehicleNumber(loopID)
- getLastStepVehicleNumber(string) -> integer
.
- getPosition(loopID)
- getPosition(string) -> double
Returns the position measured from the beginning of the lane.
- getSubscriptionResults(loopID=None)
- getSubscriptionResults(string) -> dict(integer: <value_type>)
Returns the subscription results for the last time step and the given loop.
If no loop id is given, all subscription results are returned in a dict.
If the loop id is unknown or the subscription did for any reason return no data,
'None' is returned.
It is not possible to retrieve older subscription results than the ones
from the last time step.
- getTimeSinceDetection(loopID)
- getTimeSinceDetection(string) -> double
.
- getVehicleData(loopID)
- getVehicleData(string) -> integer
.
- readVehicleData(result)
- subscribe(loopID, varIDs=(16,), begin=0, end=2147483647L)
- subscribe(string, list(integer), double, double) -> None
Subscribe to one or more induction loop values for the given interval.
A call to this method clears all previous subscription results.
|