예제 #1
0
 public double GetLength(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_LENGTH));
 }
 public string GetType(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <string>(
              Client,
              id,
              TraCIConstants.CMD_GET_POLYGON_VARIABLE,
              TraCIConstants.VAR_TYPE));
 }
 public Polygon GetShape(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <Polygon>(
              Client,
              id,
              TraCIConstants.CMD_GET_POLYGON_VARIABLE,
              TraCIConstants.VAR_SHAPE));
 }
예제 #4
0
 public string GetLaneID(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <string>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_LANE_ID));
 }
 public List <string> GetIdList()
 {
     return
         (TraCICommandHelper.ExecuteCommand <List <string> >(
              Client,
              "ignored",
              TraCIConstants.CMD_GET_POLYGON_VARIABLE,
              TraCIConstants.ID_LIST));
 }
예제 #6
0
 public double GetMinGapLat(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_MINGAP_LAT));
 }
예제 #7
0
 public string GetParameter(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <string>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_PARAMETER));
 }
예제 #8
0
 public double GetHeight(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_HEIGHT));
 }
예제 #9
0
 public double GetAccumulatedWaitingTime(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_ACCUMULATED_WAITING_TIME));
 }
예제 #10
0
 public string GetEmissionClass(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <string>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_EMISSIONCLASS));
 }
예제 #11
0
 public string GetShapeClass(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <string>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_SHAPECLASS));
 }
예제 #12
0
 public double GetSpeedDeviation(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_SPEED_DEVIATION));
 }
예제 #13
0
 public double GetSpeedFactor(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_SPEED_FACTOR));
 }
예제 #14
0
 public double GetImperfection(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_IMPERFECTION));
 }
예제 #15
0
 public double GetLateralLanePosition(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_LANEPOSITION_LAT));
 }
예제 #16
0
 public int GetSpeedMode(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <int>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_SPEEDSETMODE));
 }
예제 #17
0
 public double GetMaxSpeedLat(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_MAXSPEED_LAT));
 }
예제 #18
0
 public double GetAllowedSpeed(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_ALLOWED_SPEED));
 }
예제 #19
0
 public string GetLateralAlignment(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <string>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_LATALIGNMENT));
 }
예제 #20
0
 public int GetPersonNumber(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <int>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_PERSON_NUMBER));
 }
예제 #21
0
 public double GetAngle(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_ANGLE));
 }
예제 #22
0
 public List <string> GetVia(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <List <string> >(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_VIA));
 }
예제 #23
0
 public int GetLaneIndex(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <int>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_LANE_INDEX));
 }
예제 #24
0
 public Position3D GetPosition3D(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <Position3D>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_POSITION3D));
 }
 public int GetIdCount()
 {
     return
         (TraCICommandHelper.ExecuteCommand <int>(
              Client,
              "ignored",
              TraCIConstants.CMD_GET_POLYGON_VARIABLE,
              TraCIConstants.ID_COUNT));
 }
예제 #26
0
 public double GetSpeedWithoutTraCI(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <double>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_SPEED_WITHOUT_TRACI));
 }
 public Color GetColor(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <Color>(
              Client,
              id,
              TraCIConstants.CMD_GET_POLYGON_VARIABLE,
              TraCIConstants.VAR_COLOR));
 }
예제 #28
0
 // TODO this returns bool: how does that work?
 public int IsRouteValid(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <int>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_ROUTE_VALID));
 }
 public byte GetFilled(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <byte>(
              Client,
              id,
              TraCIConstants.CMD_GET_POLYGON_VARIABLE,
              TraCIConstants.VAR_FILL));
 }
예제 #30
0
 public byte GetStopState(string id)
 {
     return
         (TraCICommandHelper.ExecuteCommand <byte>(
              Client,
              id,
              TraCIConstants.CMD_GET_VEHICLE_VARIABLE,
              TraCIConstants.VAR_STOPSTATE));
 }