| |
- getAccel(typeID)
- getAccel(string) -> double
.
- getColor(typeID)
- getColor(string) -> (integer, integer, integer, integer)
.
- getContextSubscriptionResults(typeID=None)
- getDecel(typeID)
- getDecel(string) -> double
.
- getEmissionClass(typeID)
- getEmissionClass(string) -> string
.
- getIDList()
- getIDList() -> list(string)
Returns a list of all known vehicle types.
- getImperfection(typeID)
- getImperfection(string) -> double
.
- getLength(typeID)
- getLength(string) -> double
.
- getMaxSpeed(typeID)
- getMaxSpeed(string) -> double
.
- getMinGap(typeID)
- getMinGap(string) -> double
.
- getShapeClass(typeID)
- getShapeClass(string) -> string
.
- getSpeedDeviation(typeID)
- getSpeedDeviation(string) -> double
.
- getSpeedFactor(typeID)
- getSpeedFactor(string) -> double
.
- getSubscriptionResults(typeID=None)
- getSubscriptionResults(string) -> dict(integer: <value_type>)
Returns the subscription results for the last time step and the given vehicle type.
If no vehicle type id is given, all subscription results are returned in a dict.
If the vehicle type 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.
- getTau(typeID)
- getTau(string) -> double
.
- getVehicleClass(typeID)
- getVehicleClass(string) -> string
.
- getWidth(typeID)
- getWidth(string) -> double
.
- setAccel(typeID, accel)
- setColor(typeID, color)
- setDecel(typeID, decel)
- setEmissionClass(typeID, clazz)
- setImperfection(typeID, imperfection)
- setLength(typeID, length)
- setMaxSpeed(typeID, speed)
- setMinGap(typeID, minGap)
- setShapeClass(typeID, clazz)
- setSpeedDeviation(typeID, deviation)
- setSpeedFactor(typeID, factor)
- setTau(typeID, tau)
- setVehicleClass(typeID, clazz)
- setWidth(typeID, width)
- subscribe(typeID, varIDs=(65,), begin=0, end=2147483647L)
- subscribe(string, list(integer), double, double) -> None
Subscribe to one or more vehicle type values for the given interval.
A call to this method clears all previous subscription results.
- subscribeContext(typeID, domain, dist, varIDs=(65,), begin=0, end=2147483647L)
|