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::getSegmentID(
const std::string& vehID) {
136 Vehicle::getSegmentIndex(
const std::string& vehID) {
142 Vehicle::getTypeID(
const std::string& vehID) {
148 Vehicle::getRouteID(
const std::string& vehID) {
154 Vehicle::getRouteIndex(
const std::string& vehID) {
160 Vehicle::getColor(
const std::string& vehID) {
165 Vehicle::getLanePosition(
const std::string& vehID) {
170 Vehicle::getLateralLanePosition(
const std::string& vehID) {
175 Vehicle::getCO2Emission(
const std::string& vehID) {
180 Vehicle::getCOEmission(
const std::string& vehID) {
185 Vehicle::getHCEmission(
const std::string& vehID) {
190 Vehicle::getPMxEmission(
const std::string& vehID) {
195 Vehicle::getNOxEmission(
const std::string& vehID) {
200 Vehicle::getFuelConsumption(
const std::string& vehID) {
205 Vehicle::getNoiseEmission(
const std::string& vehID) {
210 Vehicle::getElectricityConsumption(
const std::string& vehID) {
215 Vehicle::getPersonNumber(
const std::string& vehID) {
220 Vehicle::getPersonCapacity(
const std::string& vehID) {
226 Vehicle::getBoardingDuration(
const std::string& vehID) {
232 Vehicle::getImpatience(
const std::string& vehID) {
237 std::vector<std::string>
238 Vehicle::getPersonIDList(
const std::string& vehID) {
242 std::pair<std::string, double>
243 Vehicle::getLeader(
const std::string& vehID,
double dist) {
250 const std::string leaderID = ret.
readString();
253 return std::make_pair(leaderID, gap);
257 std::pair<std::string, double>
258 Vehicle::getFollower(
const std::string& vehID,
double dist) {
269 std::vector<libsumo::TraCIJunctionFoe>
270 Vehicle::getJunctionFoes(
const std::string& vehID,
double dist) {
271 std::vector<libsumo::TraCIJunctionFoe> result;
278 for (
int i = 0; i < n; ++i) {
289 result.emplace_back(info);
296 Vehicle::getWaitingTime(
const std::string& vehID) {
302 Vehicle::getAccumulatedWaitingTime(
const std::string& vehID) {
308 Vehicle::getAdaptedTraveltime(
const std::string& vehID,
double time,
const std::string& edgeID) {
318 Vehicle::getEffort(
const std::string& vehID,
double time,
const std::string& edgeID) {
328 Vehicle::isRouteValid(
const std::string& vehID) {
333 std::vector<std::string>
334 Vehicle::getRoute(
const std::string& vehID) {
340 Vehicle::getSignals(
const std::string& vehID) {
345 std::vector<libsumo::TraCIBestLanesData>
346 Vehicle::getBestLanes(
const std::string& vehID) {
348 std::vector<libsumo::TraCIBestLanesData> result;
354 for (
int i = 0; i < n; ++i) {
376 result.push_back(info);
382 std::vector<libsumo::TraCINextTLSData>
383 Vehicle::getNextTLS(
const std::string& vehID) {
385 std::vector<libsumo::TraCINextTLSData> result;
391 for (
int i = 0; i < n; ++i) {
410 std::vector<libsumo::TraCINextStopData>
411 Vehicle::getNextStops(
const std::string& vehID) {
412 return getStops(vehID, 0);
415 std::vector<libsumo::TraCIConnection>
416 Vehicle::getNextLinks(
const std::string& vehID) {
418 std::vector<libsumo::TraCIConnection> result;
424 const int linkNo = ret.
readInt();
425 for (
int i = 0; i < linkNo; ++i) {
435 result.emplace_back(con);
440 std::vector<libsumo::TraCINextStopData>
441 Vehicle::getStops(
const std::string& vehID,
int limit) {
442 std::vector<libsumo::TraCINextStopData> result;
450 for (
int i = 0; i < n; ++i) {
468 result.emplace_back(s);
474 Vehicle::getStopParameter(
const std::string& vehID,
int nextStopIndex,
const std::string& param,
bool customParam) {
484 Vehicle::getStopState(
const std::string& vehID) {
490 Vehicle::getDistance(
const std::string& vehID) {
496 Vehicle::getDrivingDistance(
const std::string& vehID,
const std::string& edgeID,
double pos,
int laneIndex) {
509 Vehicle::getDrivingDistance2D(
const std::string& vehID,
double x,
double y) {
521 Vehicle::getAllowedSpeed(
const std::string& vehID) {
527 Vehicle::getSpeedFactor(
const std::string& vehID) {
533 Vehicle::getSpeedMode(
const std::string& vehID) {
539 Vehicle::getLaneChangeMode(
const std::string& vehID) {
545 Vehicle::getRoutingMode(
const std::string& vehID) {
551 Vehicle::getLine(
const std::string& vehID) {
557 std::vector<std::string>
558 Vehicle::getVia(
const std::string& vehID) {
564 Vehicle::getLaneChangeState(
const std::string& vehID,
int direction) {
571 const int stateWithoutTraCI = ret.
readInt();
573 const int state = ret.
readInt();
574 return std::make_pair(stateWithoutTraCI, state);
578 std::vector<std::pair<std::string, double> >
579 Vehicle::getNeighbors(
const std::string& vehID,
const int mode) {
580 std::vector<std::pair<std::string, double> > neighs;
586 const int items = ret.
readInt();
587 for (
int i = 0; i < items; i++) {
589 neighs.emplace_back(neighID, ret.
readDouble());
596 Vehicle::getFollowSpeed(
const std::string& vehID,
double speed,
double gap,
double leaderSpeed,
double leaderMaxDecel,
const std::string& leaderID) {
609 Vehicle::getSecureGap(
const std::string& vehID,
double speed,
double leaderSpeed,
double leaderMaxDecel,
const std::string& leaderID) {
621 Vehicle::getStopSpeed(
const std::string& vehID,
const double speed,
double gap) {
630 Vehicle::getStopDelay(
const std::string& vehID) {
635 Vehicle::getStopArrivalDelay(
const std::string& vehID) {
640 Vehicle::getTimeLoss(
const std::string& vehID) {
644 std::vector<std::string>
645 Vehicle::getTaxiFleet(
int taxiState) {
651 std::vector<std::string>
652 Vehicle::getLoadedIDList() {
656 std::vector<std::string>
657 Vehicle::getTeleportingIDList() {
662 Vehicle::getEmissionClass(
const std::string& vehID) {
667 Vehicle::getShapeClass(
const std::string& vehID) {
673 Vehicle::getLength(
const std::string& vehID) {
679 Vehicle::getAccel(
const std::string& vehID) {
685 Vehicle::getDecel(
const std::string& vehID) {
690 double Vehicle::getEmergencyDecel(
const std::string& vehID) {
695 double Vehicle::getApparentDecel(
const std::string& vehID) {
700 double Vehicle::getActionStepLength(
const std::string& vehID) {
705 double Vehicle::getLastActionTime(
const std::string& vehID) {
711 Vehicle::getTau(
const std::string& vehID) {
717 Vehicle::getImperfection(
const std::string& vehID) {
723 Vehicle::getSpeedDeviation(
const std::string& vehID) {
729 Vehicle::getVehicleClass(
const std::string& vehID) {
735 Vehicle::getMinGap(
const std::string& vehID) {
741 Vehicle::getMinGapLat(
const std::string& vehID) {
747 Vehicle::getMaxSpeed(
const std::string& vehID) {
753 Vehicle::getMaxSpeedLat(
const std::string& vehID) {
759 Vehicle::getLateralAlignment(
const std::string& vehID) {
765 Vehicle::getWidth(
const std::string& vehID) {
771 Vehicle::getHeight(
const std::string& vehID) {
777 Vehicle::getMass(
const std::string& vehID) {
783 Vehicle::setStop(
const std::string& vehID,
784 const std::string& edgeID,
805 Vehicle::replaceStop(
const std::string& vehID,
807 const std::string& edgeID,
831 Vehicle::insertStop(
const std::string& vehID,
833 const std::string& edgeID,
857 Vehicle::setStopParameter(
const std::string& vehID,
int nextStopIndex,
858 const std::string& param,
const std::string& value,
871 Vehicle::rerouteParkingArea(
const std::string& vehID,
const std::string& parkingAreaID) {
880 Vehicle::resume(
const std::string& vehID) {
888 Vehicle::changeTarget(
const std::string& vehID,
const std::string& edgeID) {
894 Vehicle::changeLane(
const std::string& vehID,
int laneIndex,
double duration) {
903 Vehicle::changeLaneRelative(
const std::string& vehID,
int indexOffset,
double duration) {
914 Vehicle::changeSublane(
const std::string& vehID,
double latDist) {
920 Vehicle::add(
const std::string& vehID,
921 const std::string& routeID,
922 const std::string& typeID,
923 const std::string& depart,
924 const std::string& departLane,
925 const std::string& departPos,
926 const std::string& departSpeed,
927 const std::string& arrivalLane,
928 const std::string& arrivalPos,
929 const std::string& arrivalSpeed,
930 const std::string& fromTaz,
931 const std::string& toTaz,
932 const std::string& line,
960 Vehicle::moveToXY(
const std::string& vehID,
const std::string& edgeID,
const int laneIndex,
961 const double x,
const double y,
double angle,
const int keepRoute,
double matchThreshold) {
975 Vehicle::slowDown(
const std::string& vehID,
double speed,
double duration) {
984 Vehicle::openGap(
const std::string& vehID,
double newTimeHeadway,
double newSpaceHeadway,
double duration,
double changeRate,
double maxDecel,
const std::string& referenceVehID) {
992 if (referenceVehID !=
"") {
999 Vehicle::deactivateGapControl(
const std::string& vehID) {
1000 openGap(vehID, -1, -1, -1, -1);
1004 Vehicle::requestToC(
const std::string& vehID,
double leadTime) {
1005 std::ostringstream oss;
1006 oss.setf(std::ios::fixed, std::ios::floatfield);
1007 oss << std::setprecision(2);
1009 setParameter(vehID,
"device.toc.requestToC", oss.str());
1013 Vehicle::setSpeed(
const std::string& vehID,
double speed) {
1018 Vehicle::setAcceleration(
const std::string& vehID,
double acceleration,
double duration) {
1027 Vehicle::setPreviousSpeed(
const std::string& vehID,
double prevSpeed,
double prevAcceleration) {
1036 Vehicle::setSpeedMode(
const std::string& vehID,
int speedMode) {
1041 Vehicle::setLaneChangeMode(
const std::string& vehID,
int laneChangeMode) {
1046 Vehicle::setRoutingMode(
const std::string& vehID,
int routingMode) {
1051 Vehicle::setType(
const std::string& vehID,
const std::string& typeID) {
1056 Vehicle::setRouteID(
const std::string& vehID,
const std::string& routeID) {
1061 Vehicle::setRoute(
const std::string& vehID,
const std::string& edgeID) {
1062 setRoute(vehID, std::vector<std::string>({edgeID}));
1066 Vehicle::setRoute(
const std::string& vehID,
const std::vector<std::string>& edgeIDs) {
1071 Vehicle::setLateralLanePosition(
const std::string& vehID,
double posLat) {
1076 Vehicle::updateBestLanes(
const std::string& vehID) {
1083 Vehicle::setAdaptedTraveltime(
const std::string& vehID,
const std::string& edgeID,
1084 double time,
double begSeconds,
double endSeconds) {
1107 Vehicle::setEffort(
const std::string& vehID,
const std::string& edgeID,
1108 double effort,
double begSeconds,
double endSeconds) {
1131 Vehicle::rerouteTraveltime(
const std::string& vehID,
const bool ) {
1139 Vehicle::rerouteEffort(
const std::string& vehID) {
1147 Vehicle::setSignals(
const std::string& vehID,
int signals) {
1153 Vehicle::moveTo(
const std::string& vehID,
const std::string& laneID,
double pos,
int reason) {
1164 Vehicle::setActionStepLength(
const std::string& vehID,
double actionStepLength,
bool resetActionOffset) {
1169 if (!resetActionOffset) {
1170 actionStepLength *= -1;
1177 Vehicle::remove(
const std::string& vehID,
char reason) {
1192 Vehicle::setSpeedFactor(
const std::string& vehID,
double factor) {
1198 Vehicle::setLine(
const std::string& vehID,
const std::string& line) {
1204 Vehicle::setVia(
const std::string& vehID,
const std::vector<std::string>& edgeList) {
1210 Vehicle::setLength(
const std::string& vehID,
double length) {
1216 Vehicle::setMaxSpeed(
const std::string& vehID,
double speed) {
1222 Vehicle::setVehicleClass(
const std::string& vehID,
const std::string& clazz) {
1228 Vehicle::setShapeClass(
const std::string& vehID,
const std::string& clazz) {
1234 Vehicle::setEmissionClass(
const std::string& vehID,
const std::string& clazz) {
1240 Vehicle::setWidth(
const std::string& vehID,
double width) {
1246 Vehicle::setHeight(
const std::string& vehID,
double height) {
1252 Vehicle::setMass(
const std::string& vehID,
double mass) {
1258 Vehicle::setMinGap(
const std::string& vehID,
double minGap) {
1264 Vehicle::setAccel(
const std::string& vehID,
double accel) {
1270 Vehicle::setDecel(
const std::string& vehID,
double decel) {
1276 Vehicle::setEmergencyDecel(
const std::string& vehID,
double decel) {
1282 Vehicle::setApparentDecel(
const std::string& vehID,
double decel) {
1288 Vehicle::setImperfection(
const std::string& vehID,
double imperfection) {
1294 Vehicle::setTau(
const std::string& vehID,
double tau) {
1300 Vehicle::setMinGapLat(
const std::string& vehID,
double minGapLat) {
1306 Vehicle::setMaxSpeedLat(
const std::string& vehID,
double speed) {
1312 Vehicle::setLateralAlignment(
const std::string& vehID,
const std::string& latAlignment) {
1318 Vehicle::setImpatience(
const std::string& vehID,
double impatience) {
1323 Vehicle::setBoardingDuration(
const std::string& vehID,
double boardingDuration) {
1329 Vehicle::highlight(
const std::string& vehID,
const libsumo::TraCIColor& col,
double size,
const int alphaMax,
const double duration,
const int type) {
1349 Vehicle::dispatchTaxi(
const std::string& vehID,
const std::vector<std::string>& reservations) {
1355 Vehicle::subscribeLeader(
const std::string& vehID,
double dist,
double begin,
double end) {
1362 Vehicle::addSubscriptionFilterLanes(
const std::vector<int>& lanes,
bool noOpposite,
double downstreamDist,
double upstreamDist) {
1365 for (
int lane : lanes) {
1370 addSubscriptionFilterNoOpposite();
1373 addSubscriptionFilterDownstreamDistance(downstreamDist);
1376 addSubscriptionFilterUpstreamDistance(upstreamDist);
1382 Vehicle::addSubscriptionFilterNoOpposite() {
1388 Vehicle::addSubscriptionFilterDownstreamDistance(
double dist) {
1396 Vehicle::addSubscriptionFilterUpstreamDistance(
double dist) {
1404 Vehicle::addSubscriptionFilterCFManeuver(
double downstreamDist,
double upstreamDist) {
1405 addSubscriptionFilterLeadFollow(std::vector<int>(1));
1407 addSubscriptionFilterDownstreamDistance(downstreamDist);
1410 addSubscriptionFilterUpstreamDistance(upstreamDist);
1416 Vehicle::addSubscriptionFilterLCManeuver(
int direction,
bool noOpposite,
double downstreamDist,
double upstreamDist) {
1418 addSubscriptionFilterLeadFollow({ -1, 0, 1 });
1419 }
else if (direction != -1 && direction != 1) {
1423 addSubscriptionFilterLeadFollow({ 0, direction });
1426 addSubscriptionFilterNoOpposite();
1429 addSubscriptionFilterDownstreamDistance(downstreamDist);
1432 addSubscriptionFilterUpstreamDistance(upstreamDist);
1438 Vehicle::addSubscriptionFilterLeadFollow(
const std::vector<int>& lanes) {
1440 addSubscriptionFilterLanes(lanes);
1445 Vehicle::addSubscriptionFilterTurn(
double downstreamDist,
double foeDistToJunction) {
1450 addSubscriptionFilterDownstreamDistance(downstreamDist);
1456 Vehicle::addSubscriptionFilterVClass(
const std::vector<std::string>& vClasses) {
1464 Vehicle::addSubscriptionFilterVType(
const std::vector<std::string>& vTypes) {
1472 Vehicle::addSubscriptionFilterFieldOfVision(
double openingAngle) {
1480 Vehicle::addSubscriptionFilterLateralDistance(
double lateralDist,
double downstreamDist,
double upstreamDist) {
1485 addSubscriptionFilterDownstreamDistance(downstreamDist);
1488 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 VAR_SEGMENT_ID
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 VAR_SEGMENT_INDEX
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.