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 | |
Obstacle (const PState &ped, int dir) | |
create an obstacle from ped for ego moving in dir | |
Obstacle (SUMOReal _x, SUMOReal _speed, const std::string &_description) | |
create an obstacle from explict values |
Data Fields | |
std::string | description |
the id / description of the obstacle | |
SUMOReal | speed |
speed relative to ego direction (positive means in the same direction) | |
SUMOReal | x |
position on the current lane |
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().