32typedef Domain<libsumo::CMD_GET_VEHICLE_VARIABLE, libsumo::CMD_SET_VEHICLE_VARIABLE>
Dom;
38std::vector<std::string>
45Vehicle::getIDCount() {
54Vehicle::getSpeed(
const std::string& vehID) {
59Vehicle::getLateralSpeed(
const std::string& vehID) {
64Vehicle::getAcceleration(
const std::string& vehID) {
70Vehicle::getSpeedWithoutTraCI(
const std::string& vehID) {
76Vehicle::getPosition(
const std::string& vehID,
const bool includeZ) {
82Vehicle::getPosition3D(
const std::string& vehID) {
88Vehicle::getAngle(
const std::string& vehID) {
94Vehicle::getSlope(
const std::string& vehID) {
100Vehicle::getRoadID(
const std::string& vehID) {
106Vehicle::getDeparture(
const std::string& vehID) {
112Vehicle::getDepartDelay(
const std::string& vehID) {
118Vehicle::getLaneID(
const std::string& vehID) {
124Vehicle::getLaneIndex(
const std::string& vehID) {
130Vehicle::getSegmentID(
const std::string& vehID) {
136Vehicle::getSegmentIndex(
const std::string& vehID) {
142Vehicle::getTypeID(
const std::string& vehID) {
148Vehicle::getRouteID(
const std::string& vehID) {
154Vehicle::getRouteIndex(
const std::string& vehID) {
160Vehicle::getColor(
const std::string& vehID) {
165Vehicle::getLanePosition(
const std::string& vehID) {
170Vehicle::getLateralLanePosition(
const std::string& vehID) {
175Vehicle::getCO2Emission(
const std::string& vehID) {
180Vehicle::getCOEmission(
const std::string& vehID) {
185Vehicle::getHCEmission(
const std::string& vehID) {
190Vehicle::getPMxEmission(
const std::string& vehID) {
195Vehicle::getNOxEmission(
const std::string& vehID) {
200Vehicle::getFuelConsumption(
const std::string& vehID) {
205Vehicle::getNoiseEmission(
const std::string& vehID) {
210Vehicle::getElectricityConsumption(
const std::string& vehID) {
215Vehicle::getPersonNumber(
const std::string& vehID) {
220Vehicle::getPersonCapacity(
const std::string& vehID) {
226Vehicle::getBoardingDuration(
const std::string& vehID) {
232Vehicle::getImpatience(
const std::string& vehID) {
237std::vector<std::string>
238Vehicle::getPersonIDList(
const std::string& vehID) {
242std::pair<std::string, double>
243Vehicle::getLeader(
const std::string& vehID,
double dist) {
250 const std::string leaderID = ret.
readString();
253 return std::make_pair(leaderID, gap);
257std::pair<std::string, double>
258Vehicle::getFollower(
const std::string& vehID,
double dist) {
269std::vector<libsumo::TraCIJunctionFoe>
270Vehicle::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);
296Vehicle::getWaitingTime(
const std::string& vehID) {
302Vehicle::getAccumulatedWaitingTime(
const std::string& vehID) {
308Vehicle::getAdaptedTraveltime(
const std::string& vehID,
double time,
const std::string& edgeID) {
318Vehicle::getEffort(
const std::string& vehID,
double time,
const std::string& edgeID) {
328Vehicle::isRouteValid(
const std::string& vehID) {
333std::vector<std::string>
334Vehicle::getRoute(
const std::string& vehID) {
340Vehicle::getSignals(
const std::string& vehID) {
345std::vector<libsumo::TraCIBestLanesData>
346Vehicle::getBestLanes(
const std::string& vehID) {
348 std::vector<libsumo::TraCIBestLanesData> result;
354 for (
int i = 0; i < n; ++i) {
376 result.push_back(info);
382std::vector<libsumo::TraCINextTLSData>
383Vehicle::getNextTLS(
const std::string& vehID) {
385 std::vector<libsumo::TraCINextTLSData> result;
391 for (
int i = 0; i < n; ++i) {
410std::vector<libsumo::TraCINextStopData>
411Vehicle::getNextStops(
const std::string& vehID) {
412 return getStops(vehID, 0);
415std::vector<libsumo::TraCIConnection>
416Vehicle::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);
440std::vector<libsumo::TraCINextStopData>
441Vehicle::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);
474Vehicle::getStopParameter(
const std::string& vehID,
int nextStopIndex,
const std::string& param,
bool customParam) {
484Vehicle::getStopState(
const std::string& vehID) {
490Vehicle::getDistance(
const std::string& vehID) {
496Vehicle::getDrivingDistance(
const std::string& vehID,
const std::string& edgeID,
double pos,
int laneIndex) {
509Vehicle::getDrivingDistance2D(
const std::string& vehID,
double x,
double y) {
521Vehicle::getAllowedSpeed(
const std::string& vehID) {
527Vehicle::getSpeedFactor(
const std::string& vehID) {
533Vehicle::getSpeedMode(
const std::string& vehID) {
539Vehicle::getLaneChangeMode(
const std::string& vehID) {
545Vehicle::getRoutingMode(
const std::string& vehID) {
551Vehicle::getLine(
const std::string& vehID) {
557std::vector<std::string>
558Vehicle::getVia(
const std::string& vehID) {
564Vehicle::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);
578std::vector<std::pair<std::string, double> >
579Vehicle::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());
596Vehicle::getFollowSpeed(
const std::string& vehID,
double speed,
double gap,
double leaderSpeed,
double leaderMaxDecel,
const std::string& leaderID) {
609Vehicle::getSecureGap(
const std::string& vehID,
double speed,
double leaderSpeed,
double leaderMaxDecel,
const std::string& leaderID) {
621Vehicle::getStopSpeed(
const std::string& vehID,
const double speed,
double gap) {
630Vehicle::getStopDelay(
const std::string& vehID) {
635Vehicle::getStopArrivalDelay(
const std::string& vehID) {
640Vehicle::getTimeLoss(
const std::string& vehID) {
644std::vector<std::string>
645Vehicle::getTaxiFleet(
int taxiState) {
651std::vector<std::string>
652Vehicle::getLoadedIDList() {
656std::vector<std::string>
657Vehicle::getTeleportingIDList() {
662Vehicle::getEmissionClass(
const std::string& vehID) {
667Vehicle::getShapeClass(
const std::string& vehID) {
673Vehicle::getLength(
const std::string& vehID) {
679Vehicle::getAccel(
const std::string& vehID) {
685Vehicle::getDecel(
const std::string& vehID) {
690double Vehicle::getEmergencyDecel(
const std::string& vehID) {
695double Vehicle::getApparentDecel(
const std::string& vehID) {
700double Vehicle::getActionStepLength(
const std::string& vehID) {
705double Vehicle::getLastActionTime(
const std::string& vehID) {
711Vehicle::getTau(
const std::string& vehID) {
717Vehicle::getImperfection(
const std::string& vehID) {
723Vehicle::getSpeedDeviation(
const std::string& vehID) {
729Vehicle::getVehicleClass(
const std::string& vehID) {
735Vehicle::getMinGap(
const std::string& vehID) {
741Vehicle::getMinGapLat(
const std::string& vehID) {
747Vehicle::getMaxSpeed(
const std::string& vehID) {
753Vehicle::getMaxSpeedLat(
const std::string& vehID) {
759Vehicle::getLateralAlignment(
const std::string& vehID) {
765Vehicle::getWidth(
const std::string& vehID) {
771Vehicle::getHeight(
const std::string& vehID) {
777Vehicle::getMass(
const std::string& vehID) {
783Vehicle::setStop(
const std::string& vehID,
784 const std::string& edgeID,
805Vehicle::replaceStop(
const std::string& vehID,
807 const std::string& edgeID,
831Vehicle::insertStop(
const std::string& vehID,
833 const std::string& edgeID,
857Vehicle::setStopParameter(
const std::string& vehID,
int nextStopIndex,
858 const std::string& param,
const std::string& value,
871Vehicle::rerouteParkingArea(
const std::string& vehID,
const std::string& parkingAreaID) {
880Vehicle::resume(
const std::string& vehID) {
888Vehicle::changeTarget(
const std::string& vehID,
const std::string& edgeID) {
894Vehicle::changeLane(
const std::string& vehID,
int laneIndex,
double duration) {
903Vehicle::changeLaneRelative(
const std::string& vehID,
int indexOffset,
double duration) {
914Vehicle::changeSublane(
const std::string& vehID,
double latDist) {
920Vehicle::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,
960Vehicle::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) {
975Vehicle::slowDown(
const std::string& vehID,
double speed,
double duration) {
984Vehicle::openGap(
const std::string& vehID,
double newTimeHeadway,
double newSpaceHeadway,
double duration,
double changeRate,
double maxDecel,
const std::string& referenceVehID) {
992 if (referenceVehID !=
"") {
999Vehicle::deactivateGapControl(
const std::string& vehID) {
1000 openGap(vehID, -1, -1, -1, -1);
1004Vehicle::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());
1013Vehicle::setSpeed(
const std::string& vehID,
double speed) {
1018Vehicle::setAcceleration(
const std::string& vehID,
double acceleration,
double duration) {
1027Vehicle::setPreviousSpeed(
const std::string& vehID,
double prevSpeed,
double prevAcceleration) {
1036Vehicle::setSpeedMode(
const std::string& vehID,
int speedMode) {
1041Vehicle::setLaneChangeMode(
const std::string& vehID,
int laneChangeMode) {
1046Vehicle::setRoutingMode(
const std::string& vehID,
int routingMode) {
1051Vehicle::setType(
const std::string& vehID,
const std::string& typeID) {
1056Vehicle::setRouteID(
const std::string& vehID,
const std::string& routeID) {
1061Vehicle::setRoute(
const std::string& vehID,
const std::string& edgeID) {
1062 setRoute(vehID, std::vector<std::string>({edgeID}));
1066Vehicle::setRoute(
const std::string& vehID,
const std::vector<std::string>& edgeIDs) {
1071Vehicle::setLateralLanePosition(
const std::string& vehID,
double posLat) {
1076Vehicle::updateBestLanes(
const std::string& vehID) {
1083Vehicle::setAdaptedTraveltime(
const std::string& vehID,
const std::string& edgeID,
1084 double time,
double begSeconds,
double endSeconds) {
1107Vehicle::setEffort(
const std::string& vehID,
const std::string& edgeID,
1108 double effort,
double begSeconds,
double endSeconds) {
1131Vehicle::rerouteTraveltime(
const std::string& vehID,
const bool ) {
1139Vehicle::rerouteEffort(
const std::string& vehID) {
1147Vehicle::setSignals(
const std::string& vehID,
int signals) {
1153Vehicle::moveTo(
const std::string& vehID,
const std::string& laneID,
double pos,
int reason) {
1164Vehicle::setActionStepLength(
const std::string& vehID,
double actionStepLength,
bool resetActionOffset) {
1169 if (!resetActionOffset) {
1170 actionStepLength *= -1;
1177Vehicle::remove(
const std::string& vehID,
char reason) {
1192Vehicle::setSpeedFactor(
const std::string& vehID,
double factor) {
1198Vehicle::setLine(
const std::string& vehID,
const std::string& line) {
1204Vehicle::setVia(
const std::string& vehID,
const std::vector<std::string>& edgeList) {
1210Vehicle::setLength(
const std::string& vehID,
double length) {
1216Vehicle::setMaxSpeed(
const std::string& vehID,
double speed) {
1222Vehicle::setVehicleClass(
const std::string& vehID,
const std::string& clazz) {
1228Vehicle::setShapeClass(
const std::string& vehID,
const std::string& clazz) {
1234Vehicle::setEmissionClass(
const std::string& vehID,
const std::string& clazz) {
1240Vehicle::setWidth(
const std::string& vehID,
double width) {
1246Vehicle::setHeight(
const std::string& vehID,
double height) {
1252Vehicle::setMass(
const std::string& vehID,
double mass) {
1258Vehicle::setMinGap(
const std::string& vehID,
double minGap) {
1264Vehicle::setAccel(
const std::string& vehID,
double accel) {
1270Vehicle::setDecel(
const std::string& vehID,
double decel) {
1276Vehicle::setEmergencyDecel(
const std::string& vehID,
double decel) {
1282Vehicle::setApparentDecel(
const std::string& vehID,
double decel) {
1288Vehicle::setImperfection(
const std::string& vehID,
double imperfection) {
1294Vehicle::setTau(
const std::string& vehID,
double tau) {
1300Vehicle::setMinGapLat(
const std::string& vehID,
double minGapLat) {
1306Vehicle::setMaxSpeedLat(
const std::string& vehID,
double speed) {
1312Vehicle::setLateralAlignment(
const std::string& vehID,
const std::string& latAlignment) {
1318Vehicle::setImpatience(
const std::string& vehID,
double impatience) {
1323Vehicle::setBoardingDuration(
const std::string& vehID,
double boardingDuration) {
1329Vehicle::highlight(
const std::string& vehID,
const libsumo::TraCIColor& col,
double size,
const int alphaMax,
const double duration,
const int type) {
1349Vehicle::dispatchTaxi(
const std::string& vehID,
const std::vector<std::string>& reservations) {
1355Vehicle::subscribeLeader(
const std::string& vehID,
double dist,
double begin,
double end) {
1362Vehicle::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);
1382Vehicle::addSubscriptionFilterNoOpposite() {
1388Vehicle::addSubscriptionFilterDownstreamDistance(
double dist) {
1396Vehicle::addSubscriptionFilterUpstreamDistance(
double dist) {
1404Vehicle::addSubscriptionFilterCFManeuver(
double downstreamDist,
double upstreamDist) {
1405 addSubscriptionFilterLeadFollow(std::vector<int>(1));
1407 addSubscriptionFilterDownstreamDistance(downstreamDist);
1410 addSubscriptionFilterUpstreamDistance(upstreamDist);
1416Vehicle::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);
1438Vehicle::addSubscriptionFilterLeadFollow(
const std::vector<int>& lanes) {
1440 addSubscriptionFilterLanes(lanes);
1445Vehicle::addSubscriptionFilterTurn(
double downstreamDist,
double foeDistToJunction) {
1450 addSubscriptionFilterDownstreamDistance(downstreamDist);
1456Vehicle::addSubscriptionFilterVClass(
const std::vector<std::string>& vClasses) {
1464Vehicle::addSubscriptionFilterVType(
const std::vector<std::string>& vTypes) {
1472Vehicle::addSubscriptionFilterFieldOfVision(
double openingAngle) {
1480Vehicle::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
static Connection & getActive()
void addFilter(int var, tcpip::Storage *add=nullptr)
std::mutex & getMutex() const
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 std::vector< std::string > getStringVector(int var, const std::string &id, tcpip::Storage *add=nullptr)
static void setStringVector(int var, const std::string &id, const std::vector< std::string > &value)
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 void setInt(int var, const std::string &id, int value)
static void setString(int var, const std::string &id, const std::string &value)
static tcpip::Storage & get(int var, const std::string &id, tcpip::Storage *add=nullptr, int expectedType=libsumo::TYPE_COMPOUND)
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.