SUMO - Simulation of Urban MObility
MSPModel_Striping::Obstacle Struct Reference

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...
 

Detailed Description

information regarding surround Pedestrians (and potentially other things)

Definition at line 144 of file MSPModel_Striping.h.

Constructor & Destructor Documentation

MSPModel_Striping::Obstacle::Obstacle ( int  dir)

create No-Obstacle

Definition at line 601 of file MSPModel_Striping.cpp.

MSPModel_Striping::Obstacle::Obstacle ( const PState ped,
int  dir 
)
MSPModel_Striping::Obstacle::Obstacle ( SUMOReal  _x,
SUMOReal  _speed,
const std::string &  _description 
)
inline

create an obstacle from explict values

Definition at line 150 of file MSPModel_Striping.h.

Field Documentation

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().


The documentation for this struct was generated from the following files: