32 typedef Domain<libsumo::CMD_GET_VEHICLE_VARIABLE, libsumo::CMD_SET_VEHICLE_VARIABLE>
Dom;
38 std::vector<std::string>
39 Vehicle::getIDList() {
45 Vehicle::getIDCount() {
54 Vehicle::getSpeed(
const std::string& vehID) {
59 Vehicle::getLateralSpeed(
const std::string& vehID) {
64 Vehicle::getAcceleration(
const std::string& vehID) {
70 Vehicle::getSpeedWithoutTraCI(
const std::string& vehID) {
76 Vehicle::getPosition(
const std::string& vehID,
const bool includeZ) {
82 Vehicle::getPosition3D(
const std::string& vehID) {
88 Vehicle::getAngle(
const std::string& vehID) {
94 Vehicle::getSlope(
const std::string& vehID) {
100 Vehicle::getRoadID(
const std::string& vehID) {
106 Vehicle::getDeparture(
const std::string& vehID) {
112 Vehicle::getDepartDelay(
const std::string& vehID) {
118 Vehicle::getLaneID(
const std::string& vehID) {
124 Vehicle::getLaneIndex(
const std::string& vehID) {
130 Vehicle::getTypeID(
const std::string& vehID) {
136 Vehicle::getRouteID(
const std::string& vehID) {
142 Vehicle::getRouteIndex(
const std::string& vehID) {
148 Vehicle::getColor(
const std::string& vehID) {
153 Vehicle::getLanePosition(
const std::string& vehID) {
158 Vehicle::getLateralLanePosition(
const std::string& vehID) {
163 Vehicle::getCO2Emission(
const std::string& vehID) {
168 Vehicle::getCOEmission(
const std::string& vehID) {
173 Vehicle::getHCEmission(
const std::string& vehID) {
178 Vehicle::getPMxEmission(
const std::string& vehID) {
183 Vehicle::getNOxEmission(
const std::string& vehID) {
188 Vehicle::getFuelConsumption(
const std::string& vehID) {
193 Vehicle::getNoiseEmission(
const std::string& vehID) {
198 Vehicle::getElectricityConsumption(
const std::string& vehID) {
203 Vehicle::getPersonNumber(
const std::string& vehID) {
208 Vehicle::getPersonCapacity(
const std::string& vehID) {
214 Vehicle::getBoardingDuration(
const std::string& vehID) {
220 Vehicle::getImpatience(
const std::string& vehID) {
225 std::vector<std::string>
226 Vehicle::getPersonIDList(
const std::string& vehID) {
230 std::pair<std::string, double>
231 Vehicle::getLeader(
const std::string& vehID,
double dist) {
238 const std::string leaderID = ret.
readString();
241 return std::make_pair(leaderID, gap);
245 std::pair<std::string, double>
246 Vehicle::getFollower(
const std::string& vehID,
double dist) {
257 std::vector<libsumo::TraCIJunctionFoe>
258 Vehicle::getJunctionFoes(
const std::string& vehID,
double dist) {
259 std::vector<libsumo::TraCIJunctionFoe> result;
266 for (
int i = 0; i < n; ++i) {
277 result.emplace_back(info);
284 Vehicle::getWaitingTime(
const std::string& vehID) {
290 Vehicle::getAccumulatedWaitingTime(
const std::string& vehID) {
296 Vehicle::getAdaptedTraveltime(
const std::string& vehID,
double time,
const std::string& edgeID) {
306 Vehicle::getEffort(
const std::string& vehID,
double time,
const std::string& edgeID) {
316 Vehicle::isRouteValid(
const std::string& vehID) {
321 std::vector<std::string>
322 Vehicle::getRoute(
const std::string& vehID) {
328 Vehicle::getSignals(
const std::string& vehID) {
333 std::vector<libsumo::TraCIBestLanesData>
334 Vehicle::getBestLanes(
const std::string& vehID) {
336 std::vector<libsumo::TraCIBestLanesData> result;
342 for (
int i = 0; i < n; ++i) {
364 result.push_back(info);
370 std::vector<libsumo::TraCINextTLSData>
371 Vehicle::getNextTLS(
const std::string& vehID) {
373 std::vector<libsumo::TraCINextTLSData> result;
379 for (
int i = 0; i < n; ++i) {
398 std::vector<libsumo::TraCINextStopData>
399 Vehicle::getNextStops(
const std::string& vehID) {
400 return getStops(vehID, 0);
403 std::vector<libsumo::TraCIConnection>
404 Vehicle::getNextLinks(
const std::string& vehID) {
406 std::vector<libsumo::TraCIConnection> result;
412 const int linkNo = ret.
readInt();
413 for (
int i = 0; i < linkNo; ++i) {
423 result.emplace_back(con);
428 std::vector<libsumo::TraCINextStopData>
429 Vehicle::getStops(
const std::string& vehID,
int limit) {
430 std::vector<libsumo::TraCINextStopData> result;
438 for (
int i = 0; i < n; ++i) {
456 result.emplace_back(s);
462 Vehicle::getStopParameter(
const std::string& vehID,
int nextStopIndex,
const std::string& param,
bool customParam) {
472 Vehicle::getStopState(
const std::string& vehID) {
478 Vehicle::getDistance(
const std::string& vehID) {
484 Vehicle::getDrivingDistance(
const std::string& vehID,
const std::string& edgeID,
double pos,
int laneIndex) {
497 Vehicle::getDrivingDistance2D(
const std::string& vehID,
double x,
double y) {
509 Vehicle::getAllowedSpeed(
const std::string& vehID) {
515 Vehicle::getSpeedFactor(
const std::string& vehID) {
521 Vehicle::getSpeedMode(
const std::string& vehID) {
527 Vehicle::getLaneChangeMode(
const std::string& vehID) {
533 Vehicle::getRoutingMode(
const std::string& vehID) {
539 Vehicle::getLine(
const std::string& vehID) {
545 std::vector<std::string>
546 Vehicle::getVia(
const std::string& vehID) {
552 Vehicle::getLaneChangeState(
const std::string& vehID,
int direction) {
559 const int stateWithoutTraCI = ret.
readInt();
561 const int state = ret.
readInt();
562 return std::make_pair(stateWithoutTraCI, state);
566 std::vector<std::pair<std::string, double> >
567 Vehicle::getNeighbors(
const std::string& vehID,
const int mode) {
568 std::vector<std::pair<std::string, double> > neighs;
574 const int items = ret.
readInt();
575 for (
int i = 0; i < items; i++) {
577 neighs.emplace_back(neighID, ret.
readDouble());
584 Vehicle::getFollowSpeed(
const std::string& vehID,
double speed,
double gap,
double leaderSpeed,
double leaderMaxDecel,
const std::string& leaderID) {
597 Vehicle::getSecureGap(
const std::string& vehID,
double speed,
double leaderSpeed,
double leaderMaxDecel,
const std::string& leaderID) {
609 Vehicle::getStopSpeed(
const std::string& vehID,
const double speed,
double gap) {
618 Vehicle::getStopDelay(
const std::string& vehID) {
623 Vehicle::getStopArrivalDelay(
const std::string& vehID) {
628 Vehicle::getTimeLoss(
const std::string& vehID) {
632 std::vector<std::string>
633 Vehicle::getTaxiFleet(
int taxiState) {
639 std::vector<std::string>
640 Vehicle::getLoadedIDList() {
644 std::vector<std::string>
645 Vehicle::getTeleportingIDList() {
650 Vehicle::getEmissionClass(
const std::string& vehID) {
655 Vehicle::getShapeClass(
const std::string& vehID) {
661 Vehicle::getLength(
const std::string& vehID) {
667 Vehicle::getAccel(
const std::string& vehID) {
673 Vehicle::getDecel(
const std::string& vehID) {
678 double Vehicle::getEmergencyDecel(
const std::string& vehID) {
683 double Vehicle::getApparentDecel(
const std::string& vehID) {
688 double Vehicle::getActionStepLength(
const std::string& vehID) {
693 double Vehicle::getLastActionTime(
const std::string& vehID) {
699 Vehicle::getTau(
const std::string& vehID) {
705 Vehicle::getImperfection(
const std::string& vehID) {
711 Vehicle::getSpeedDeviation(
const std::string& vehID) {
717 Vehicle::getVehicleClass(
const std::string& vehID) {
723 Vehicle::getMinGap(
const std::string& vehID) {
729 Vehicle::getMinGapLat(
const std::string& vehID) {
735 Vehicle::getMaxSpeed(
const std::string& vehID) {
741 Vehicle::getMaxSpeedLat(
const std::string& vehID) {
747 Vehicle::getLateralAlignment(
const std::string& vehID) {
753 Vehicle::getWidth(
const std::string& vehID) {
759 Vehicle::getHeight(
const std::string& vehID) {
765 Vehicle::setStop(
const std::string& vehID,
766 const std::string& edgeID,
787 Vehicle::replaceStop(
const std::string& vehID,
789 const std::string& edgeID,
813 Vehicle::insertStop(
const std::string& vehID,
815 const std::string& edgeID,
839 Vehicle::setStopParameter(
const std::string& vehID,
int nextStopIndex,
840 const std::string& param,
const std::string& value,
853 Vehicle::rerouteParkingArea(
const std::string& vehID,
const std::string& parkingAreaID) {
862 Vehicle::resume(
const std::string& vehID) {
870 Vehicle::changeTarget(
const std::string& vehID,
const std::string& edgeID) {
876 Vehicle::changeLane(
const std::string& vehID,
int laneIndex,
double duration) {
885 Vehicle::changeLaneRelative(
const std::string& vehID,
int indexOffset,
double duration) {
896 Vehicle::changeSublane(
const std::string& vehID,
double latDist) {
902 Vehicle::add(
const std::string& vehID,
903 const std::string& routeID,
904 const std::string& typeID,
905 const std::string& depart,
906 const std::string& departLane,
907 const std::string& departPos,
908 const std::string& departSpeed,
909 const std::string& arrivalLane,
910 const std::string& arrivalPos,
911 const std::string& arrivalSpeed,
912 const std::string& fromTaz,
913 const std::string& toTaz,
914 const std::string& line,
942 Vehicle::moveToXY(
const std::string& vehID,
const std::string& edgeID,
const int laneIndex,
943 const double x,
const double y,
double angle,
const int keepRoute,
double matchThreshold) {
957 Vehicle::slowDown(
const std::string& vehID,
double speed,
double duration) {
966 Vehicle::openGap(
const std::string& vehID,
double newTimeHeadway,
double newSpaceHeadway,
double duration,
double changeRate,
double maxDecel,
const std::string& referenceVehID) {
974 if (referenceVehID !=
"") {
981 Vehicle::deactivateGapControl(
const std::string& vehID) {
982 openGap(vehID, -1, -1, -1, -1);
986 Vehicle::requestToC(
const std::string& vehID,
double leadTime) {
987 std::ostringstream oss;
988 oss.setf(std::ios::fixed, std::ios::floatfield);
989 oss << std::setprecision(2);
991 setParameter(vehID,
"device.toc.requestToC", oss.str());
995 Vehicle::setSpeed(
const std::string& vehID,
double speed) {
1000 Vehicle::setAcceleration(
const std::string& vehID,
double acceleration,
double duration) {
1009 Vehicle::setPreviousSpeed(
const std::string& vehID,
double prevSpeed,
double prevAcceleration) {
1018 Vehicle::setSpeedMode(
const std::string& vehID,
int speedMode) {
1023 Vehicle::setLaneChangeMode(
const std::string& vehID,
int laneChangeMode) {
1028 Vehicle::setRoutingMode(
const std::string& vehID,
int routingMode) {
1033 Vehicle::setType(
const std::string& vehID,
const std::string& typeID) {
1038 Vehicle::setRouteID(
const std::string& vehID,
const std::string& routeID) {
1043 Vehicle::setRoute(
const std::string& vehID,
const std::string& edgeID) {
1044 setRoute(vehID, std::vector<std::string>({edgeID}));
1048 Vehicle::setRoute(
const std::string& vehID,
const std::vector<std::string>& edgeIDs) {
1053 Vehicle::setLateralLanePosition(
const std::string& vehID,
double posLat) {
1058 Vehicle::updateBestLanes(
const std::string& vehID) {
1065 Vehicle::setAdaptedTraveltime(
const std::string& vehID,
const std::string& edgeID,
1066 double time,
double begSeconds,
double endSeconds) {
1089 Vehicle::setEffort(
const std::string& vehID,
const std::string& edgeID,
1090 double effort,
double begSeconds,
double endSeconds) {
1113 Vehicle::rerouteTraveltime(
const std::string& vehID,
const bool ) {
1121 Vehicle::rerouteEffort(
const std::string& vehID) {
1129 Vehicle::setSignals(
const std::string& vehID,
int signals) {
1135 Vehicle::moveTo(
const std::string& vehID,
const std::string& laneID,
double position,
int reason) {
1146 Vehicle::setActionStepLength(
const std::string& vehID,
double actionStepLength,
bool resetActionOffset) {
1151 if (!resetActionOffset) {
1152 actionStepLength *= -1;
1159 Vehicle::remove(
const std::string& vehID,
char reason) {
1174 Vehicle::setSpeedFactor(
const std::string& vehID,
double factor) {
1180 Vehicle::setLine(
const std::string& vehID,
const std::string& line) {
1186 Vehicle::setVia(
const std::string& vehID,
const std::vector<std::string>& edgeList) {
1192 Vehicle::setLength(
const std::string& vehID,
double length) {
1198 Vehicle::setMaxSpeed(
const std::string& vehID,
double speed) {
1204 Vehicle::setVehicleClass(
const std::string& vehID,
const std::string& clazz) {
1210 Vehicle::setShapeClass(
const std::string& vehID,
const std::string& clazz) {
1216 Vehicle::setEmissionClass(
const std::string& vehID,
const std::string& clazz) {
1222 Vehicle::setWidth(
const std::string& vehID,
double width) {
1228 Vehicle::setHeight(
const std::string& vehID,
double height) {
1234 Vehicle::setMinGap(
const std::string& vehID,
double minGap) {
1240 Vehicle::setAccel(
const std::string& vehID,
double accel) {
1246 Vehicle::setDecel(
const std::string& vehID,
double decel) {
1252 Vehicle::setEmergencyDecel(
const std::string& vehID,
double decel) {
1258 Vehicle::setApparentDecel(
const std::string& vehID,
double decel) {
1264 Vehicle::setImperfection(
const std::string& vehID,
double imperfection) {
1270 Vehicle::setTau(
const std::string& vehID,
double tau) {
1276 Vehicle::setMinGapLat(
const std::string& vehID,
double minGapLat) {
1282 Vehicle::setMaxSpeedLat(
const std::string& vehID,
double speed) {
1288 Vehicle::setLateralAlignment(
const std::string& vehID,
const std::string& latAlignment) {
1294 Vehicle::setImpatience(
const std::string& vehID,
double impatience) {
1299 Vehicle::setBoardingDuration(
const std::string& vehID,
double boardingDuration) {
1305 Vehicle::highlight(
const std::string& vehID,
const libsumo::TraCIColor& col,
double size,
const int alphaMax,
const double duration,
const int type) {
1325 Vehicle::dispatchTaxi(
const std::string& vehID,
const std::vector<std::string>& reservations) {
1331 Vehicle::subscribeLeader(
const std::string& vehID,
double dist,
double begin,
double end) {
1338 Vehicle::addSubscriptionFilterLanes(
const std::vector<int>& lanes,
bool noOpposite,
double downstreamDist,
double upstreamDist) {
1341 for (
int lane : lanes) {
1346 addSubscriptionFilterNoOpposite();
1349 addSubscriptionFilterDownstreamDistance(downstreamDist);
1352 addSubscriptionFilterUpstreamDistance(upstreamDist);
1358 Vehicle::addSubscriptionFilterNoOpposite() {
1364 Vehicle::addSubscriptionFilterDownstreamDistance(
double dist) {
1372 Vehicle::addSubscriptionFilterUpstreamDistance(
double dist) {
1380 Vehicle::addSubscriptionFilterCFManeuver(
double downstreamDist,
double upstreamDist) {
1381 addSubscriptionFilterLeadFollow(std::vector<int>(1));
1383 addSubscriptionFilterDownstreamDistance(downstreamDist);
1386 addSubscriptionFilterUpstreamDistance(upstreamDist);
1392 Vehicle::addSubscriptionFilterLCManeuver(
int direction,
bool noOpposite,
double downstreamDist,
double upstreamDist) {
1394 addSubscriptionFilterLeadFollow({ -1, 0, 1 });
1395 }
else if (direction != -1 && direction != 1) {
1399 addSubscriptionFilterLeadFollow({ 0, direction });
1402 addSubscriptionFilterNoOpposite();
1405 addSubscriptionFilterDownstreamDistance(downstreamDist);
1408 addSubscriptionFilterUpstreamDistance(upstreamDist);
1414 Vehicle::addSubscriptionFilterLeadFollow(
const std::vector<int>& lanes) {
1416 addSubscriptionFilterLanes(lanes);
1421 Vehicle::addSubscriptionFilterTurn(
double downstreamDist,
double foeDistToJunction) {
1426 addSubscriptionFilterDownstreamDistance(downstreamDist);
1432 Vehicle::addSubscriptionFilterVClass(
const std::vector<std::string>& vClasses) {
1440 Vehicle::addSubscriptionFilterVType(
const std::vector<std::string>& vTypes) {
1448 Vehicle::addSubscriptionFilterFieldOfVision(
double openingAngle) {
1456 Vehicle::addSubscriptionFilterLateralDistance(
double lateralDist,
double downstreamDist,
double upstreamDist) {
1461 addSubscriptionFilterDownstreamDistance(downstreamDist);
1464 addSubscriptionFilterUpstreamDistance(upstreamDist);
#define LIBTRACI_SUBSCRIPTION_IMPLEMENTATION(CLASS, DOMAIN)
#define LIBTRACI_PARAMETER_IMPLEMENTATION(CLASS, DOMAIN)
C++ TraCI client API implementation.
static void writeTypedDouble(tcpip::Storage &content, double value)
static int readCompound(tcpip::Storage &ret, int expectedSize=-1, const std::string &error="")
static bool readBool(tcpip::Storage &ret, const std::string &error="")
static int readTypedInt(tcpip::Storage &ret, const std::string &error="")
static void writeCompound(tcpip::Storage &content, int size)
static std::string readTypedString(tcpip::Storage &ret, const std::string &error="")
static void writeTypedInt(tcpip::Storage &content, int value)
static void writeTypedStringList(tcpip::Storage &content, const std::vector< std::string > &value)
static void writeTypedByte(tcpip::Storage &content, int value)
static void writeTypedString(tcpip::Storage &content, const std::string &value)
static double readTypedDouble(tcpip::Storage &ret, const std::string &error="")
std::string approachedLane
std::string approachedInternal
void addFilter(int var, tcpip::Storage *add=nullptr)
std::mutex & getMutex() const
static Connection & getActive()
static void setDouble(int var, const std::string &id, double value)
static libsumo::TraCIPosition getPos(int var, const std::string &id, tcpip::Storage *add=nullptr, const bool isGeo=false)
static void setCol(int var, const std::string &id, const libsumo::TraCIColor value)
static void setStringVector(int var, const std::string &id, const std::vector< std::string > &value)
static std::vector< std::string > getStringVector(int var, const std::string &id, tcpip::Storage *add=nullptr)
static libsumo::TraCIColor getCol(int var, const std::string &id, tcpip::Storage *add=nullptr)
static std::string getString(int var, const std::string &id, tcpip::Storage *add=nullptr)
static int getInt(int var, const std::string &id, tcpip::Storage *add=nullptr)
static void set(int var, const std::string &id, tcpip::Storage *add)
static libsumo::TraCIPosition getPos3D(int var, const std::string &id, tcpip::Storage *add=nullptr, const bool isGeo=false)
static double getDouble(int var, const std::string &id, tcpip::Storage *add=nullptr)
static tcpip::Storage & get(int var, const std::string &id, tcpip::Storage *add=nullptr, int expectedType=libsumo::TYPE_COMPOUND)
static void setInt(int var, const std::string &id, int value)
static void setString(int var, const std::string &id, const std::string &value)
virtual std::string readString()
virtual void writeString(const std::string &s)
virtual void writeDouble(double)
virtual int readUnsignedByte()
virtual void writeUnsignedByte(int)
virtual double readDouble()
TRACI_CONST double INVALID_DOUBLE_VALUE
TRACI_CONST int VAR_LASTACTIONTIME
TRACI_CONST int TYPE_COLOR
TRACI_CONST int FILTER_TYPE_DOWNSTREAM_DIST
TRACI_CONST int VAR_EDGES
TRACI_CONST int POSITION_ROADMAP
TRACI_CONST int VAR_NOXEMISSION
TRACI_CONST int VAR_LANECHANGE_MODE
TRACI_CONST int LAST_STEP_PERSON_ID_LIST
TRACI_CONST int FILTER_TYPE_NOOPPOSITE
TRACI_CONST int VAR_VEHICLECLASS
TRACI_CONST int TRACI_ID_LIST
TRACI_CONST int VAR_IMPATIENCE
TRACI_CONST int VAR_LATALIGNMENT
TRACI_CONST int CMD_CHANGESUBLANE
TRACI_CONST int VAR_DEPARTURE
TRACI_CONST int VAR_ROUTING_MODE
TRACI_CONST int VAR_MINGAP
TRACI_CONST int CMD_TAXI_DISPATCH
TRACI_CONST int VAR_SECURE_GAP
TRACI_CONST int VAR_SHAPECLASS
TRACI_CONST int VAR_WAITING_TIME
TRACI_CONST int VAR_EDGE_TRAVELTIME
TRACI_CONST int VAR_ROAD_ID
TRACI_CONST int VAR_TIMELOSS
TRACI_CONST int CMD_RESUME
TRACI_CONST int VAR_ACTIONSTEPLENGTH
TRACI_CONST int VAR_SPEED_FACTOR
TRACI_CONST int MOVE_TO_XY
TRACI_CONST int VAR_FOLLOW_SPEED
TRACI_CONST int VAR_STOP_ARRIVALDELAY
TRACI_CONST int VAR_SPEED_LAT
TRACI_CONST int FILTER_TYPE_FIELD_OF_VISION
TRACI_CONST int VAR_ANGLE
TRACI_CONST int VAR_NEXT_TLS
TRACI_CONST int VAR_EDGE_EFFORT
TRACI_CONST int VAR_ROUTE
TRACI_CONST int VAR_BEST_LANES
TRACI_CONST int VAR_ALLOWED_SPEED
TRACI_CONST int VAR_LANE_INDEX
TRACI_CONST int VAR_PMXEMISSION
TRACI_CONST int VAR_SPEED_WITHOUT_TRACI
TRACI_CONST int VAR_HIGHLIGHT
TRACI_CONST int VAR_BOARDING_DURATION
TRACI_CONST int TYPE_UBYTE
TRACI_CONST int VAR_MOVE_TO
TRACI_CONST int VAR_PERSON_NUMBER
TRACI_CONST int VAR_COEMISSION
TRACI_CONST int VAR_UPDATE_BESTLANES
TRACI_CONST int VAR_COLOR
TRACI_CONST int VAR_POSITION
TRACI_CONST int VAR_WIDTH
TRACI_CONST int VAR_PERSON_CAPACITY
TRACI_CONST int VAR_STOP_PARAMETER
TRACI_CONST int POSITION_2D
TRACI_CONST int VAR_MAXSPEED
TRACI_CONST int VAR_LEADER
TRACI_CONST int CMD_CHANGETARGET
TRACI_CONST int VAR_CO2EMISSION
TRACI_CONST int CMD_REROUTE_TO_PARKING
TRACI_CONST int FILTER_TYPE_VTYPE
TRACI_CONST int VAR_TELEPORTING_LIST
TRACI_CONST int CMD_REROUTE_TRAVELTIME
TRACI_CONST int VAR_TAXI_FLEET
TRACI_CONST int VAR_PREV_SPEED
TRACI_CONST int VAR_ROUTE_VALID
TRACI_CONST int VAR_SPEEDSETMODE
TRACI_CONST int CMD_REPLACE_STOP
TRACI_CONST int VAR_FUELCONSUMPTION
TRACI_CONST int VAR_SLOPE
TRACI_CONST int VAR_LENGTH
TRACI_CONST int VAR_MAXSPEED_LAT
TRACI_CONST int CMD_REROUTE_EFFORT
TRACI_CONST int VAR_HCEMISSION
TRACI_CONST int VAR_LANEPOSITION
TRACI_CONST int VAR_LANE_ID
TRACI_CONST int CMD_INSERT_STOP
TRACI_CONST int VAR_STOP_SPEED
TRACI_CONST int VAR_IMPERFECTION
TRACI_CONST int VAR_HEIGHT
TRACI_CONST int VAR_APPARENT_DECEL
TRACI_CONST int VAR_NOISEEMISSION
TRACI_CONST int FILTER_TYPE_LEAD_FOLLOW
TRACI_CONST int REQUEST_DRIVINGDIST
TRACI_CONST int VAR_POSITION3D
TRACI_CONST int VAR_SPEED
TRACI_CONST int VAR_DECEL
TRACI_CONST int VAR_SIGNALS
TRACI_CONST int FILTER_TYPE_UPSTREAM_DIST
TRACI_CONST int VAR_ACCUMULATED_WAITING_TIME
TRACI_CONST int VAR_MINGAP_LAT
TRACI_CONST int INVALID_INT_VALUE
TRACI_CONST int VAR_NEXT_LINKS
TRACI_CONST int VAR_ROUTE_INDEX
TRACI_CONST int VAR_NEXT_STOPS2
TRACI_CONST int CMD_SLOWDOWN
TRACI_CONST int FILTER_TYPE_TURN
TRACI_CONST int VAR_ACCELERATION
TRACI_CONST int VAR_ROUTE_ID
TRACI_CONST int DISTANCE_REQUEST
TRACI_CONST int TYPE_BYTE
TRACI_CONST int CMD_OPENGAP
TRACI_CONST int VAR_LANEPOSITION_LAT
TRACI_CONST int FILTER_TYPE_VCLASS
TRACI_CONST int CMD_CHANGELANE
TRACI_CONST int VAR_STOP_DELAY
TRACI_CONST int VAR_NEIGHBORS
TRACI_CONST int VAR_EMERGENCY_DECEL
TRACI_CONST int VAR_STOPSTATE
TRACI_CONST int VAR_FOLLOWER
TRACI_CONST int VAR_EMISSIONCLASS
TRACI_CONST int VAR_LOADED_LIST
TRACI_CONST int FILTER_TYPE_LANES
TRACI_CONST int VAR_ACCEL
TRACI_CONST int VAR_DEPART_DELAY
std::map< int, std::shared_ptr< libsumo::TraCIResult > > TraCIResults
{variable->value}
TRACI_CONST int VAR_DISTANCE
TRACI_CONST int FILTER_TYPE_LATERAL_DIST
TRACI_CONST int VAR_ELECTRICITYCONSUMPTION
TRACI_CONST int VAR_SPEED_DEVIATION
Domain< libsumo::CMD_GET_BUSSTOP_VARIABLE, libsumo::CMD_SET_BUSSTOP_VARIABLE > Dom
double length
The length than can be driven from that lane without lane change.
double occupation
The traffic density along length.
bool allowsContinuation
Whether this lane allows continuing the route.
int bestLaneOffset
The offset of this lane from the best lane.
std::vector< std::string > continuationLanes
The sequence of lanes that best allows continuing the route without lane change.
std::string laneID
The id of the lane.
std::string foeId
the id of the vehicle with intersecting trajectory
std::string stoppingPlaceID
Id assigned to the stop.
std::string lane
The lane to stop at.
std::string actType
additional information for this stop
std::string tripId
id of the trip within a cyclical public transport route
double startPos
The stopping position start.
double arrival
The actual arrival time (only for past stops)
double depart
The time at which this stop was ended.
std::string join
the id of the vehicle (train portion) to which this vehicle shall be joined
double speed
the speed at which this stop counts as reached (waypoint mode)
double intendedArrival
The intended arrival time.
double endPos
The stopping position end.
std::string split
the id of the vehicle (train portion) that splits of upon reaching this stop
std::string line
the new line id of the trip within a cyclical public transport route
double duration
The intended (minimum) stopping duration.
double until
The time at which the vehicle may continue its journey.
double dist
The distance to the tls.
int tlIndex
The tls index of the controlled link.
std::string id
The id of the next tls.
char state
The current state of the tls.
A 2D or 3D-position, for 2D positions z == INVALID_DOUBLE_VALUE.