21 #ifndef TraCIServerAPI_Vehicle_h 22 #define TraCIServerAPI_Vehicle_h 86 static const std::map<std::string, std::vector<MSLane*> >&
getOrBuildVTDMap();
93 static std::map<std::string, std::vector<MSLane*> >
gVTDMap;
APIs for getting/setting vehicle values via TraCI.
static bool commandDistanceRequest(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage, const MSVehicle *v)
Representation of a vehicle in the micro simulation.
static MSVehicleType & getSingularType(SUMOVehicle *const veh)
static std::map< std::string, std::vector< MSLane * > > gVTDMap
static bool processSet(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a set value command (Command 0xc4: Change Vehicle State)
TraCIServerAPI_Vehicle & operator=(const TraCIServerAPI_Vehicle &s)
invalidated assignment operator
static bool getPosition(const std::string &id, Position &p)
Returns the named vehicle's position.
std::vector< const MSEdge * > ConstMSEdgeVector
The car-following model and parameter.
static bool processGet(TraCIServer &server, tcpip::Storage &inputStorage, tcpip::Storage &outputStorage)
Processes a get value command (Command 0xa4: Get Vehicle Variable)
A road/street connecting two junctions.
static bool vtdMap(const Position &pos, const std::string &origID, const SUMOReal angle, MSVehicle &v, TraCIServer &server, SUMOReal &bestDistance, MSLane **lane, SUMOReal &lanePos, int &routeOffset, ConstMSEdgeVector &edges)
Representation of a vehicle.
A point in 2D or 3D with translation and scaling methods.
TraCI server used to control sumo by a remote TraCI client.
TraCIServerAPI_Vehicle(const TraCIServerAPI_Vehicle &s)
invalidated copy constructor
LaneUtility(SUMOReal dist_, SUMOReal angleDiff_, bool ID_, bool onRoute_, bool sameEdge_, const MSEdge *prevEdge_, const MSEdge *nextEdge_)
static const std::map< std::string, std::vector< MSLane * > > & getOrBuildVTDMap()
Representation of a lane in the micro simulation.
static bool vtdMap_matchingRoutePosition(const Position &pos, const std::string &origID, MSVehicle &v, SUMOReal &bestDistance, MSLane **lane, SUMOReal &lanePos, int &routeOffset, ConstMSEdgeVector &edges)