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)); }
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)); }
public double GetMinGapLat(string id) { return (TraCICommandHelper.ExecuteCommand <double>( Client, id, TraCIConstants.CMD_GET_VEHICLE_VARIABLE, TraCIConstants.VAR_MINGAP_LAT)); }
public string GetParameter(string id) { return (TraCICommandHelper.ExecuteCommand <string>( Client, id, TraCIConstants.CMD_GET_VEHICLE_VARIABLE, TraCIConstants.VAR_PARAMETER)); }
public double GetHeight(string id) { return (TraCICommandHelper.ExecuteCommand <double>( Client, id, TraCIConstants.CMD_GET_VEHICLE_VARIABLE, TraCIConstants.VAR_HEIGHT)); }
public double GetAccumulatedWaitingTime(string id) { return (TraCICommandHelper.ExecuteCommand <double>( Client, id, TraCIConstants.CMD_GET_VEHICLE_VARIABLE, TraCIConstants.VAR_ACCUMULATED_WAITING_TIME)); }
public string GetEmissionClass(string id) { return (TraCICommandHelper.ExecuteCommand <string>( Client, id, TraCIConstants.CMD_GET_VEHICLE_VARIABLE, TraCIConstants.VAR_EMISSIONCLASS)); }
public string GetShapeClass(string id) { return (TraCICommandHelper.ExecuteCommand <string>( Client, id, TraCIConstants.CMD_GET_VEHICLE_VARIABLE, TraCIConstants.VAR_SHAPECLASS)); }
public double GetSpeedDeviation(string id) { return (TraCICommandHelper.ExecuteCommand <double>( Client, id, TraCIConstants.CMD_GET_VEHICLE_VARIABLE, TraCIConstants.VAR_SPEED_DEVIATION)); }
public double GetSpeedFactor(string id) { return (TraCICommandHelper.ExecuteCommand <double>( Client, id, TraCIConstants.CMD_GET_VEHICLE_VARIABLE, TraCIConstants.VAR_SPEED_FACTOR)); }
public double GetImperfection(string id) { return (TraCICommandHelper.ExecuteCommand <double>( Client, id, TraCIConstants.CMD_GET_VEHICLE_VARIABLE, TraCIConstants.VAR_IMPERFECTION)); }
public double GetLateralLanePosition(string id) { return (TraCICommandHelper.ExecuteCommand <double>( Client, id, TraCIConstants.CMD_GET_VEHICLE_VARIABLE, TraCIConstants.VAR_LANEPOSITION_LAT)); }
public int GetSpeedMode(string id) { return (TraCICommandHelper.ExecuteCommand <int>( Client, id, TraCIConstants.CMD_GET_VEHICLE_VARIABLE, TraCIConstants.VAR_SPEEDSETMODE)); }
public double GetMaxSpeedLat(string id) { return (TraCICommandHelper.ExecuteCommand <double>( Client, id, TraCIConstants.CMD_GET_VEHICLE_VARIABLE, TraCIConstants.VAR_MAXSPEED_LAT)); }
public double GetAllowedSpeed(string id) { return (TraCICommandHelper.ExecuteCommand <double>( Client, id, TraCIConstants.CMD_GET_VEHICLE_VARIABLE, TraCIConstants.VAR_ALLOWED_SPEED)); }
public string GetLateralAlignment(string id) { return (TraCICommandHelper.ExecuteCommand <string>( Client, id, TraCIConstants.CMD_GET_VEHICLE_VARIABLE, TraCIConstants.VAR_LATALIGNMENT)); }
public int GetPersonNumber(string id) { return (TraCICommandHelper.ExecuteCommand <int>( Client, id, TraCIConstants.CMD_GET_VEHICLE_VARIABLE, TraCIConstants.VAR_PERSON_NUMBER)); }
public double GetAngle(string id) { return (TraCICommandHelper.ExecuteCommand <double>( Client, id, TraCIConstants.CMD_GET_VEHICLE_VARIABLE, TraCIConstants.VAR_ANGLE)); }
public List <string> GetVia(string id) { return (TraCICommandHelper.ExecuteCommand <List <string> >( Client, id, TraCIConstants.CMD_GET_VEHICLE_VARIABLE, TraCIConstants.VAR_VIA)); }
public int GetLaneIndex(string id) { return (TraCICommandHelper.ExecuteCommand <int>( Client, id, TraCIConstants.CMD_GET_VEHICLE_VARIABLE, TraCIConstants.VAR_LANE_INDEX)); }
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)); }
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)); }
// 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)); }
public byte GetStopState(string id) { return (TraCICommandHelper.ExecuteCommand <byte>( Client, id, TraCIConstants.CMD_GET_VEHICLE_VARIABLE, TraCIConstants.VAR_STOPSTATE)); }