ADORe
ADORe is a modular open source software library and toolkit for decision making, planning, control and simulation of automated vehicles
adore::env::MapTCDManagement Class Reference

manage visible traffic control devices based on vehicle position and last state of the object More...

#include <map_tcd_management.h>

Collaboration diagram for adore::env::MapTCDManagement:
Collaboration graph

Public Member Functions

 MapTCDManagement ()
 Construct a new Map T C D Management object. More...
 
void init (adore::env::TCDSet &globalSet)
 initialization routine More...
 
void reset ()
 clear local set More...
 
void run (double x, double y, double r, std::vector< adore::env::TrafficControlDevice * > &newTCD, std::vector< adore::env::TrafficControlDevice * > &outdatedTCD, std::vector< adore::env::TTCDTrafficLightTuple > &newTL, std::vector< adore::env::TTCDTrafficLightTuple > &outdatedTL, int MAX_NEW_NUMBER=5)
 get new/outdated traffic control devices / traffic lights based on last object state and current vehicle position More...
 

Private Attributes

adore::env::TCDSet m_globalSet
 
adore::env::TCDSet m_localSet
 

Detailed Description

manage visible traffic control devices based on vehicle position and last state of the object

Constructor & Destructor Documentation

◆ MapTCDManagement()

adore::env::MapTCDManagement::MapTCDManagement ( )
inline

Construct a new Map T C D Management object.

Here is the call graph for this function:

Member Function Documentation

◆ init()

void adore::env::MapTCDManagement::init ( adore::env::TCDSet globalSet)
inline

initialization routine

Parameters
globalSet
Here is the call graph for this function:

◆ reset()

void adore::env::MapTCDManagement::reset ( )
inline

clear local set

Here is the call graph for this function:

◆ run()

void adore::env::MapTCDManagement::run ( double  x,
double  y,
double  r,
std::vector< adore::env::TrafficControlDevice * > &  newTCD,
std::vector< adore::env::TrafficControlDevice * > &  outdatedTCD,
std::vector< adore::env::TTCDTrafficLightTuple > &  newTL,
std::vector< adore::env::TTCDTrafficLightTuple > &  outdatedTL,
int  MAX_NEW_NUMBER = 5 
)
inline

get new/outdated traffic control devices / traffic lights based on last object state and current vehicle position

Parameters
x
y
r
newTCD
outdatedTCD
newTL
outdatedTL
MAX_NEW_NUMBER
Here is the call graph for this function:

Member Data Documentation

◆ m_globalSet

adore::env::TCDSet adore::env::MapTCDManagement::m_globalSet
private

◆ m_localSet

adore::env::TCDSet adore::env::MapTCDManagement::m_localSet
private

The documentation for this class was generated from the following file: