![]() |
SUMO - Simulation of Urban MObility
|
information regarding surround Pedestrians (and potentially other things) More...
#include <MSPModel_Striping.h>

Public Member Functions | |
| Obstacle (int dir, SUMOReal dist=DIST_FAR_AWAY) | |
| create No-Obstacle More... | |
| Obstacle (const PState &ped) | |
| create an obstacle from ped for ego moving in dir More... | |
| Obstacle (SUMOReal _x, SUMOReal _speed, const std::string &_description, const SUMOReal width=0., bool _border=false) | |
| create an obstacle from explict values More... | |
Data Fields | |
| bool | border |
| whether this obstacle denotes a border or a pedestrian More... | |
| std::string | description |
| the id / description of the obstacle More... | |
| SUMOReal | speed |
| speed relative to lane direction (positive means in the same direction) More... | |
| SUMOReal | xBack |
| maximal position on the current lane in backward direction More... | |
| SUMOReal | xFwd |
| maximal position on the current lane in forward direction More... | |
information regarding surround Pedestrians (and potentially other things)
Definition at line 179 of file MSPModel_Striping.h.
| MSPModel_Striping::Obstacle::Obstacle | ( | int | dir, |
| SUMOReal | dist = DIST_FAR_AWAY |
||
| ) |
create No-Obstacle
Definition at line 835 of file MSPModel_Striping.cpp.
| MSPModel_Striping::Obstacle::Obstacle | ( | const PState & | ped | ) |
create an obstacle from ped for ego moving in dir
Definition at line 844 of file MSPModel_Striping.cpp.
References border, MSPModel_Striping::PState::getMaxX(), MSPModel_Striping::PState::getMinX(), MSPModel_Striping::PState::myDir, MSPModel_Striping::PState::mySpeed, MSPModel_Striping::PState::myWaitingToEnter, speed, xBack, and xFwd.
|
inline |
create an obstacle from explict values
Definition at line 185 of file MSPModel_Striping.h.
| bool MSPModel_Striping::Obstacle::border |
whether this obstacle denotes a border or a pedestrian
Definition at line 197 of file MSPModel_Striping.h.
Referenced by Obstacle().
| std::string MSPModel_Striping::Obstacle::description |
the id / description of the obstacle
Definition at line 195 of file MSPModel_Striping.h.
| SUMOReal MSPModel_Striping::Obstacle::speed |
speed relative to lane direction (positive means in the same direction)
Definition at line 193 of file MSPModel_Striping.h.
Referenced by MSPModel_Striping::getNextLaneObstacles(), MSPModel_Striping::moveInDirectionOnLane(), and Obstacle().
| SUMOReal MSPModel_Striping::Obstacle::xBack |
maximal position on the current lane in backward direction
Definition at line 191 of file MSPModel_Striping.h.
Referenced by MSPModel_Striping::PState::distanceTo(), Obstacle(), and MSPModel_Striping::transformToCurrentLanePositions().
| SUMOReal MSPModel_Striping::Obstacle::xFwd |
maximal position on the current lane in forward direction
Definition at line 186 of file MSPModel_Striping.h.
Referenced by MSPModel_Striping::PState::distanceTo(), Obstacle(), and MSPModel_Striping::transformToCurrentLanePositions().