SUMO - Simulation of Urban MObility
|
A single movement state of the vehicle. More...
#include <MSDevice_BTsender.h>
Public Member Functions | |
VehicleState (SUMOReal _time, SUMOReal _speed, SUMOReal _angle, const Position &_position, const std::string &_laneID, SUMOReal _lanePos) | |
Constructor. More... | |
~VehicleState () | |
Destructor. More... | |
Data Fields | |
SUMOReal | angle |
The angle of the vehicle. More... | |
std::string | laneID |
The lane the vehicle was at. More... | |
SUMOReal | lanePos |
The position at the lane of the vehicle. More... | |
Position | position |
The position of the vehicle. More... | |
SUMOReal | speed |
The speed of the vehicle. More... | |
SUMOReal | time |
The current time. More... | |
A single movement state of the vehicle.
Definition at line 135 of file MSDevice_BTsender.h.
|
inline |
Constructor.
[in] | _time | The current time |
[in] | _speed | The speed of the vehicle |
[in] | _angle | The angle of the vehicle |
[in] | _position | The position of the vehicle |
[in] | _laneID | The id of the lane the vehicle is located at |
[in] | _lanePos | The position of the vehicle along the lane |
Definition at line 145 of file MSDevice_BTsender.h.
|
inline |
Destructor.
Definition at line 149 of file MSDevice_BTsender.h.
SUMOReal MSDevice_BTsender::VehicleState::angle |
The angle of the vehicle.
Definition at line 156 of file MSDevice_BTsender.h.
std::string MSDevice_BTsender::VehicleState::laneID |
The lane the vehicle was at.
Definition at line 160 of file MSDevice_BTsender.h.
SUMOReal MSDevice_BTsender::VehicleState::lanePos |
The position at the lane of the vehicle.
Definition at line 162 of file MSDevice_BTsender.h.
Position MSDevice_BTsender::VehicleState::position |
The position of the vehicle.
Definition at line 158 of file MSDevice_BTsender.h.
SUMOReal MSDevice_BTsender::VehicleState::speed |
The speed of the vehicle.
Definition at line 154 of file MSDevice_BTsender.h.
SUMOReal MSDevice_BTsender::VehicleState::time |
The current time.
Definition at line 152 of file MSDevice_BTsender.h.