![]() |
Eclipse SUMO - Simulation of Urban MObility
|
information regarding surround Pedestrians (and potentially other things) More...
#include <MSPModel_Striping.h>
Public Member Functions | |
Obstacle (int dir, double dist=DIST_FAR_AWAY) | |
create No-Obstacle More... | |
Obstacle (const PState &ped) | |
create an obstacle from ped for ego moving in dir More... | |
Obstacle (double _x, double _speed, ObstacleType _type, const std::string &_description, const double width=0.) | |
create an obstacle from explict values More... | |
Data Fields | |
std::string | description |
the id / description of the obstacle More... | |
double | speed |
speed relative to lane direction (positive means in the same direction) More... | |
ObstacleType | type |
whether this obstacle denotes a border or a pedestrian More... | |
double | xBack |
maximal position on the current lane in backward direction More... | |
double | xFwd |
maximal position on the current lane in forward direction More... | |
information regarding surround Pedestrians (and potentially other things)
Definition at line 204 of file MSPModel_Striping.h.
MSPModel_Striping::Obstacle::Obstacle | ( | int | dir, |
double | dist = DIST_FAR_AWAY |
||
) |
create No-Obstacle
Definition at line 1258 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 1267 of file MSPModel_Striping.cpp.
References MSPModel_Striping::PState::myWaitingToEnter.
|
inline |
create an obstacle from explict values
Definition at line 210 of file MSPModel_Striping.h.
std::string MSPModel_Striping::Obstacle::description |
the id / description of the obstacle
Definition at line 222 of file MSPModel_Striping.h.
Referenced by MSPModel_Striping::PState::distanceTo().
double MSPModel_Striping::Obstacle::speed |
speed relative to lane direction (positive means in the same direction)
Definition at line 218 of file MSPModel_Striping.h.
Referenced by MSPModel_Striping::getNextLaneObstacles(), and MSPModel_Striping::moveInDirectionOnLane().
ObstacleType MSPModel_Striping::Obstacle::type |
whether this obstacle denotes a border or a pedestrian
Definition at line 220 of file MSPModel_Striping.h.
Referenced by MSPModel_Striping::PState::distanceTo().
double MSPModel_Striping::Obstacle::xBack |
maximal position on the current lane in backward direction
Definition at line 216 of file MSPModel_Striping.h.
Referenced by MSPModel_Striping::addCrossingVehs(), MSPModel_Striping::PState::distanceTo(), and MSPModel_Striping::transformToCurrentLanePositions().
double MSPModel_Striping::Obstacle::xFwd |
maximal position on the current lane in forward direction
Definition at line 211 of file MSPModel_Striping.h.
Referenced by MSPModel_Striping::PState::distanceTo(), MSPModel_Striping::getVehicleObstacles(), and MSPModel_Striping::transformToCurrentLanePositions().