|
SUMO - Simulation of Urban MObility
|
information regarding surround Pedestrians (and potentially other things) More...
#include <MSPModel_Striping.h>
Public Member Functions | |
| Obstacle (int dir) | |
| create No-Obstacle More... | |
| Obstacle (const PState &ped, int dir) | |
| create an obstacle from ped for ego moving in dir More... | |
| Obstacle (SUMOReal _x, SUMOReal _speed, const std::string &_description) | |
| create an obstacle from explict values More... | |
Data Fields | |
| std::string | description |
| the id / description of the obstacle More... | |
| SUMOReal | speed |
| speed relative to ego direction (positive means in the same direction) More... | |
| SUMOReal | x |
| position on the current lane More... | |
information regarding surround Pedestrians (and potentially other things)
Definition at line 144 of file MSPModel_Striping.h.
| MSPModel_Striping::Obstacle::Obstacle | ( | int | dir | ) |
create No-Obstacle
Definition at line 601 of file MSPModel_Striping.cpp.
create an obstacle from ped for ego moving in dir
Definition at line 608 of file MSPModel_Striping.cpp.
References MSPModel_Striping::PState::getLength(), MSPModel_Striping::PState::myDir, MSPModel_Striping::PState::myRelX, MSPModel_Striping::PState::mySpeed, MSPModel_Striping::PState::myWaitingToEnter, speed, and x.
|
inline |
create an obstacle from explict values
Definition at line 150 of file MSPModel_Striping.h.
| std::string MSPModel_Striping::Obstacle::description |
the id / description of the obstacle
Definition at line 157 of file MSPModel_Striping.h.
| SUMOReal MSPModel_Striping::Obstacle::speed |
speed relative to ego direction (positive means in the same direction)
Definition at line 155 of file MSPModel_Striping.h.
Referenced by Obstacle().
| SUMOReal MSPModel_Striping::Obstacle::x |
position on the current lane
Definition at line 150 of file MSPModel_Striping.h.
Referenced by MSPModel_Striping::getNextLaneObstacles(), and Obstacle().