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

information regarding surround Pedestrians (and potentially other things) More...

#include <MSPModel_Striping.h>

Collaboration diagram for MSPModel_Striping::Obstacle:
Collaboration graph

Public Member Functions

 Obstacle (int dir)
 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.)
 create an obstacle from explict values More...
 

Data Fields

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

Detailed Description

information regarding surround Pedestrians (and potentially other things)

Definition at line 171 of file MSPModel_Striping.h.

Constructor & Destructor Documentation

MSPModel_Striping::Obstacle::Obstacle ( int  dir)

create No-Obstacle

Definition at line 777 of file MSPModel_Striping.cpp.

MSPModel_Striping::Obstacle::Obstacle ( const PState ped)
MSPModel_Striping::Obstacle::Obstacle ( SUMOReal  _x,
SUMOReal  _speed,
const std::string &  _description,
const SUMOReal  width = 0. 
)
inline

create an obstacle from explict values

Definition at line 177 of file MSPModel_Striping.h.

Field Documentation

std::string MSPModel_Striping::Obstacle::description

the id / description of the obstacle

Definition at line 187 of file MSPModel_Striping.h.

SUMOReal MSPModel_Striping::Obstacle::speed

speed relative to lane direction (positive means in the same direction)

Definition at line 185 of file MSPModel_Striping.h.

Referenced by Obstacle().

SUMOReal MSPModel_Striping::Obstacle::xBack

maximal position on the current lane in backward direction

Definition at line 183 of file MSPModel_Striping.h.

Referenced by MSPModel_Striping::PState::distanceTo(), MSPModel_Striping::getNextLaneObstacles(), and Obstacle().

SUMOReal MSPModel_Striping::Obstacle::xFwd

maximal position on the current lane in forward direction

Definition at line 178 of file MSPModel_Striping.h.

Referenced by MSPModel_Striping::PState::distanceTo(), MSPModel_Striping::getNextLaneObstacles(), and Obstacle().


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