44 #define DEFAULT_VIEW "View #0" 52 #define SUMOTime_MAX std::numeric_limits<SUMOTime>::max() 62 : std::runtime_error(what) {}
79 unsigned char r, g, b, a;
110 : duration(_duration), duration1(_duration1), duration2(_duration2), phase(_phase) {}
121 TraCILogic(
const std::string& _subID,
int _type,
int _currentPhaseIndex)
122 : subID(_subID), type(_type), currentPhaseIndex(_currentPhaseIndex) {}
135 TraCILink(
const std::string& _from,
const std::string& _via,
const std::string& _to)
136 : from(_from), via(_via), to(_to) {}
147 TraCIConnection(
const std::string& _approachedLane,
const bool _hasPrio,
const bool _isOpen,
const bool _hasFoe,
148 const std::string _approachedInternal,
const std::string _state,
const std::string _direction,
const double _length)
149 : approachedLane(_approachedLane), hasPrio(_hasPrio), isOpen(_isOpen), hasFoe(_hasFoe),
150 approachedInternal(_approachedInternal), state(_state), direction(_direction), length(_length) {}
std::string id
The id of the next tls.
int type
The type of stage (walking, driving, ...)
double leaveTime
Leave-time of the vehicle in [s].
double dist
The distance to the tls.
bool allowsContinuation
Whether this lane allows continuing the route.
std::string line
The line or the id of the vehicle type.
std::string typeID
Type of the vehicle in.
mirrors MSInductLoop::VehicleData
TraCILink(const std::string &_from, const std::string &_via, const std::string &_to)
std::string destStop
The id of the destination stop.
double occupation
The traffic density along length.
std::string laneID
The id of the lane.
std::map< std::string, std::string > subParameter
TraCIConnection(const std::string &_approachedLane, const bool _hasPrio, const bool _isOpen, const bool _hasFoe, const std::string _approachedInternal, const std::string _state, const std::string _direction, const double _length)
std::vector< TraCIPhase > phases
TraCIPhase(const SUMOTime _duration, const SUMOTime _duration1, const SUMOTime _duration2, const std::string &_phase)
int bestLaneOffset
The offset of this lane from the best lane.
std::string approachedInternal
std::vector< std::string > edges
The sequence of edges to travel.
double length
Length of the vehicle.
std::string id
The id of the vehicle.
TraCILogic(const std::string &_subID, int _type, int _currentPhaseIndex)
std::string approachedLane
std::vector< TraCIPosition > TraCIPositionVector
char state
The current state of the tls.
double travelTime
duration of the stage
TraCIException(std::string what)
double length
The length than can be driven from that lane without lane change.
double entryTime
Entry-time of the vehicle in [s].
std::vector< std::string > stringList
int tlIndex
The tls index of the controlled link.
std::vector< std::string > continuationLanes
The sequence of lanes that best allows continuing the route without lane change.