def subscribe(laneID, varIDs=(tc.LAST_STEP_VEHICLE_NUMBER,), begin=0, end=2**31 - 1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more lane values for the given interval. """ traci._subscribe( tc.CMD_SUBSCRIBE_LANE_VARIABLE, begin, end, laneID, varIDs)
def subscribe(typeID, varIDs=(tc.VAR_MAXSPEED,), begin=0, end=2**31 - 1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more vehicle type values for the given interval. """ traci._subscribe( tc.CMD_SUBSCRIBE_VEHICLETYPE_VARIABLE, begin, end, typeID, varIDs)
def subscribe(personID, varIDs=(tc.VAR_ROAD_ID, tc.VAR_LANEPOSITION), begin=0, end=2**31 - 1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more person values for the given interval. """ traci._subscribe( tc.CMD_SUBSCRIBE_PERSON_VARIABLE, begin, end, personID, varIDs)
def subscribe(junctionID, varIDs=(tc.VAR_POSITION, ), begin=0, end=2**31 - 1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more junction values for the given interval. """ traci._subscribe(tc.CMD_SUBSCRIBE_JUNCTION_VARIABLE, begin, end, junctionID, varIDs)
def subscribe(loopID, varIDs=(tc.LAST_STEP_VEHICLE_NUMBER,), begin=0, end=2**31 - 1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more induction loop values for the given interval. """ traci._subscribe( tc.CMD_SUBSCRIBE_INDUCTIONLOOP_VARIABLE, begin, end, loopID, varIDs)
def subscribe(polygonID, varIDs=(tc.VAR_SHAPE, ), begin=0, end=2**31 - 1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more polygon values for the given interval. """ traci._subscribe(tc.CMD_SUBSCRIBE_POLYGON_VARIABLE, begin, end, polygonID, varIDs)
def subscribe(typeID, varIDs=(tc.VAR_MAXSPEED, ), begin=0, end=2**31 - 1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more vehicle type values for the given interval. """ traci._subscribe(tc.CMD_SUBSCRIBE_VEHICLETYPE_VARIABLE, begin, end, typeID, varIDs)
def subscribe(detID, varIDs=(tc.LAST_STEP_VEHICLE_NUMBER,), begin=0, end=2**31 - 1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more detector values for the given interval. """ traci._subscribe( tc.CMD_SUBSCRIBE_AREAL_DETECTOR_VARIABLE, begin, end, detID, varIDs)
def subscribe(routeID, varIDs=(tc.ID_LIST, ), begin=0, end=2**31 - 1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more route values for the given interval. """ traci._subscribe(tc.CMD_SUBSCRIBE_ROUTE_VARIABLE, begin, end, routeID, varIDs)
def subscribe(routeID, varIDs=(tc.ID_LIST,), begin=0, end=2**31 - 1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more route values for the given interval. """ traci._subscribe( tc.CMD_SUBSCRIBE_ROUTE_VARIABLE, begin, end, routeID, varIDs)
def subscribe(polygonID, varIDs=(tc.VAR_SHAPE,), begin=0, end=2**31 - 1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more polygon values for the given interval. """ traci._subscribe( tc.CMD_SUBSCRIBE_POLYGON_VARIABLE, begin, end, polygonID, varIDs)
def subscribe(junctionID, varIDs=(tc.VAR_POSITION,), begin=0, end=2**31 - 1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more junction values for the given interval. """ traci._subscribe( tc.CMD_SUBSCRIBE_JUNCTION_VARIABLE, begin, end, junctionID, varIDs)
def subscribe(routeID, varIDs=(tc.ID_LIST,), begin=0, end=2**31-1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more route values for the given interval. A call to this method clears all previous subscription results. """ _resetSubscriptionResults() traci._subscribe(tc.CMD_SUBSCRIBE_ROUTE_VARIABLE, begin, end, routeID, varIDs)
def subscribe(typeID, varIDs=(tc.VAR_MAXSPEED,), begin=0, end=2**31-1): """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. """ subscriptionResults.reset() traci._subscribe(tc.CMD_SUBSCRIBE_VEHICLETYPE_VARIABLE, begin, end, typeID, varIDs)
def subscribe(vehID, varIDs=(tc.VAR_ROAD_ID, tc.VAR_LANEPOSITION), begin=0, end=2**31-1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more vehicle values for the given interval. A call to this method clears all previous subscription results. """ subscriptionResults.reset() traci._subscribe(tc.CMD_SUBSCRIBE_VEHICLE_VARIABLE, begin, end, vehID, varIDs)
def subscribe(typeID, varIDs=(tc.VAR_MAXSPEED,), begin=0, end=2**31-1): """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. """ _resetSubscriptionResults() traci._subscribe(tc.CMD_SUBSCRIBE_VEHICLETYPE_VARIABLE, begin, end, typeID, varIDs)
def subscribe(varIDs=(tc.VAR_DEPARTED_VEHICLES_IDS, ), begin=0, end=2**31 - 1): """subscribe(list(integer), double, double) -> None Subscribe to one or more simulation values for the given interval. A call to this method clears all previous subscription results. """ subscriptionResults.reset() traci._subscribe(tc.CMD_SUBSCRIBE_SIM_VARIABLE, begin, end, "x", varIDs)
def subscribe(junctionID, varIDs=(tc.VAR_POSITION,), begin=0, end=2**31-1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more junction values for the given interval. A call to this method clears all previous subscription results. """ subscriptionResults.reset() traci._subscribe(tc.CMD_SUBSCRIBE_JUNCTION_VARIABLE, begin, end, junctionID, varIDs)
def subscribe(loopID, varIDs=(tc.LAST_STEP_VEHICLE_NUMBER,), begin=0, end=2**31-1): """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. """ subscriptionResults.reset() traci._subscribe(tc.CMD_SUBSCRIBE_INDUCTIONLOOP_VARIABLE, begin, end, loopID, varIDs)
def subscribe(edgeID, varIDs=(tc.LAST_STEP_VEHICLE_NUMBER,), begin=0, end=2**31-1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more edge values for the given interval. A call to this method clears all previous subscription results. """ subscriptionResults.reset() traci._subscribe(tc.CMD_SUBSCRIBE_EDGE_VARIABLE, begin, end, edgeID, varIDs)
def subscribe(tlsID, varIDs=(tc.TL_CURRENT_PHASE,), begin=0, end=2**31-1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more traffic light values for the given interval. A call to this method clears all previous subscription results. """ _resetSubscriptionResults() traci._subscribe(tc.CMD_SUBSCRIBE_TL_VARIABLE, begin, end, tlsID, varIDs)
def subscribe(routeID, varIDs=(tc.ID_LIST,), begin=0, end=2**31-1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more route values for the given interval. A call to this method clears all previous subscription results. """ subscriptionResults.reset() traci._subscribe(tc.CMD_SUBSCRIBE_ROUTE_VARIABLE, begin, end, routeID, varIDs)
def subscribe(detID, varIDs=(tc.LAST_STEP_VEHICLE_NUMBER,), begin=0, end=2**31-1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more detector values for the given interval. A call to this method clears all previous subscription results. """ _resetSubscriptionResults() traci._subscribe(tc.CMD_SUBSCRIBE_MULTI_ENTRY_EXIT_DETECTOR_VARIABLE, begin, end, detID, varIDs)
def subscribe(tlsID, varIDs=(tc.TL_CURRENT_PHASE,), begin=0, end=2**31-1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more traffic light values for the given interval. A call to this method clears all previous subscription results. """ subscriptionResults.reset() traci._subscribe(tc.CMD_SUBSCRIBE_TL_VARIABLE, begin, end, tlsID, varIDs)
def subscribeLeader(vehID, dist=0., begin=0, end=2**31 - 1): """subscribeLeader(string, double) -> None Subscribe for the leading vehicle id together with the distance. The dist parameter defines the maximum lookahead, 0 calculates a lookahead from the brake gap. """ traci._subscribe(tc.CMD_SUBSCRIBE_VEHICLE_VARIABLE, begin, end, vehID, (tc.VAR_LEADER,), {tc.VAR_LEADER: struct.pack("!Bd", tc.TYPE_DOUBLE, dist)})
def subscribe(loopID, varIDs=(tc.LAST_STEP_VEHICLE_NUMBER,), begin=0, end=2**31-1): """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. """ _resetSubscriptionResults() traci._subscribe(tc.CMD_SUBSCRIBE_INDUCTIONLOOP_VARIABLE, begin, end, loopID, varIDs)
def subscribe(varIDs=(tc.VAR_DEPARTED_VEHICLES_IDS,), begin=0, end=2**31-1): """subscribe(list(integer), double, double) -> None Subscribe to one or more simulation values for the given interval. A call to this method clears all previous subscription results. """ _resetSubscriptionResults() traci._subscribe(tc.CMD_SUBSCRIBE_SIM_VARIABLE, begin, end, "x", varIDs)
def subscribe(vehID, varIDs=(tc.VAR_ROAD_ID, tc.VAR_LANEPOSITION), begin=0, end=2**31-1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more vehicle values for the given interval. A call to this method clears all previous subscription results. """ _resetSubscriptionResults() traci._subscribe(tc.CMD_SUBSCRIBE_VEHICLE_VARIABLE, begin, end, vehID, varIDs)
def subscribe(polygonID, varIDs=(tc.VAR_SHAPE,), begin=0, end=2**31-1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more polygon values for the given interval. A call to this method clears all previous subscription results. """ _resetSubscriptionResults() traci._subscribe(tc.CMD_SUBSCRIBE_POLYGON_VARIABLE, begin, end, polygonID, varIDs)
def subscribeLeader(vehID, dist=0., begin=0, end=2**31-1): """subscribeLeader(string, double) -> None Subscribe for the leading vehicle id together with the distance. The dist parameter defines the maximum lookahead, 0 calculates a lookahead from the brake gap. """ traci._subscribe(tc.CMD_SUBSCRIBE_VEHICLE_VARIABLE, begin, end, vehID, (tc.VAR_LEADER,), {tc.VAR_LEADER: struct.pack("!Bd", tc.TYPE_DOUBLE, dist)})
def subscribe(viewID, varIDs=(tc.VAR_VIEW_OFFSET,), begin=0, end=2**31-1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more gui values for the given interval. A call to this method clears all previous subscription results. """ subscriptionResults.reset() traci._subscribe(tc.CMD_SUBSCRIBE_GUI_VARIABLE, begin, end, viewID, varIDs)
def subscribe(viewID, varIDs=(tc.VAR_VIEW_OFFSET, ), begin=0, end=2**31 - 1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more gui values for the given interval. A call to this method clears all previous subscription results. """ _resetSubscriptionResults() traci._subscribe(tc.CMD_SUBSCRIBE_GUI_VARIABLE, begin, end, viewID, varIDs)
def subscribe(edgeID, varIDs=(tc.LAST_STEP_VEHICLE_NUMBER, ), begin=0, end=2**31 - 1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more edge values for the given interval. """ traci._subscribe(tc.CMD_SUBSCRIBE_EDGE_VARIABLE, begin, end, edgeID, varIDs)
def subscribe(detID, varIDs=(tc.LAST_STEP_VEHICLE_NUMBER, ), begin=0, end=2**31 - 1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more detector values for the given interval. A call to this method clears all previous subscription results. """ _resetSubscriptionResults() traci._subscribe(tc.CMD_SUBSCRIBE_MULTI_ENTRY_EXIT_DETECTOR_VARIABLE, begin, end, detID, varIDs)
def subscribe(tlsID, varIDs=(tc.TL_CURRENT_PHASE,), begin=0, end=2**31-1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more traffic light values for the given interval. """ traci._subscribe(tc.CMD_SUBSCRIBE_TL_VARIABLE, begin, end, tlsID, varIDs)
def subscribe(tlsID, varIDs=(tc.TL_CURRENT_PHASE, ), begin=0, end=2**31 - 1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more traffic light values for the given interval. """ traci._subscribe(tc.CMD_SUBSCRIBE_TL_VARIABLE, begin, end, tlsID, varIDs)
def subscribe(varIDs=(tc.VAR_DEPARTED_VEHICLES_IDS,), begin=0, end=2**31 - 1): """subscribe(list(integer), double, double) -> None Subscribe to one or more simulation values for the given interval. """ traci._subscribe(tc.CMD_SUBSCRIBE_SIM_VARIABLE, begin, end, "x", varIDs)
def subscribe(viewID, varIDs=(tc.VAR_VIEW_OFFSET, ), begin=0, end=2**31 - 1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more gui values for the given interval. """ traci._subscribe(tc.CMD_SUBSCRIBE_GUI_VARIABLE, begin, end, viewID, varIDs)
def subscribe(varIDs=(tc.VAR_DEPARTED_VEHICLES_IDS, ), begin=0, end=2**31 - 1): """subscribe(list(integer), double, double) -> None Subscribe to one or more simulation values for the given interval. """ traci._subscribe(tc.CMD_SUBSCRIBE_SIM_VARIABLE, begin, end, "x", varIDs)
def subscribe(viewID, varIDs=(tc.VAR_VIEW_OFFSET,), begin=0, end=2**31 - 1): """subscribe(string, list(integer), double, double) -> None Subscribe to one or more gui values for the given interval. """ traci._subscribe(tc.CMD_SUBSCRIBE_GUI_VARIABLE, begin, end, viewID, varIDs)