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

a optimzed plotting application to plot map borders, vehicles and environment information and background image satellite footage More...

#include <plot_trafficlights.h>

Collaboration diagram for adore::apps::PlotTrafficLights:
Collaboration graph

Public Member Functions

 PlotTrafficLights (DLR_TS::PlotLab::AFigureStub *figure, std::string prefix, bool connection_lines=false)
 
 ~PlotTrafficLights ()
 
void run ()
 
virtual void plotTLConnections ()
 
double getHeadingOfLine (double x1, double y1, double x2, double y2)
 
double getHeadingFromMap (double x, double y)
 
void removeDistanceBased (std::unordered_map< std::string, std::pair< double, double >> &visible_objects, int distance)
 
double getDistanceToPoint (std::pair< double, double > &point)
 

Private Attributes

adore::mad::AReader< adore::env::VehicleMotionState9d > * positionReader_
 
adore::mad::AFeed< adore::env::ControlledConnection > * tl_controller_feed_
 
adore::mad::AFeed< adore::env::BorderBased::Border > * borderfeed_
 
bool plot_connection_lines = true
 
DLR_TS::PlotLab::AFigureStubfigure_
 
adore::env::VehicleMotionState9d position_
 
std::string prefix_
 
std::unordered_map< std::string, std::pair< double, double > > visible_TCD_controller_
 
adore::env::BorderBased::BorderSet borderSet_
 

Detailed Description

a optimzed plotting application to plot map borders, vehicles and environment information and background image satellite footage

Constructor & Destructor Documentation

◆ PlotTrafficLights()

adore::apps::PlotTrafficLights::PlotTrafficLights ( DLR_TS::PlotLab::AFigureStub figure,
std::string  prefix,
bool  connection_lines = false 
)
inline
Here is the call graph for this function:

◆ ~PlotTrafficLights()

adore::apps::PlotTrafficLights::~PlotTrafficLights ( )
inline

Member Function Documentation

◆ getDistanceToPoint()

double adore::apps::PlotTrafficLights::getDistanceToPoint ( std::pair< double, double > &  point)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getHeadingFromMap()

double adore::apps::PlotTrafficLights::getHeadingFromMap ( double  x,
double  y 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ getHeadingOfLine()

double adore::apps::PlotTrafficLights::getHeadingOfLine ( double  x1,
double  y1,
double  x2,
double  y2 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ plotTLConnections()

virtual void adore::apps::PlotTrafficLights::plotTLConnections ( )
inlinevirtual
Here is the call graph for this function:
Here is the caller graph for this function:

◆ removeDistanceBased()

void adore::apps::PlotTrafficLights::removeDistanceBased ( std::unordered_map< std::string, std::pair< double, double >> &  visible_objects,
int  distance 
)
inline
Here is the call graph for this function:
Here is the caller graph for this function:

◆ run()

void adore::apps::PlotTrafficLights::run ( )
inline
Here is the call graph for this function:
Here is the caller graph for this function:

Member Data Documentation

◆ borderfeed_

adore::mad::AFeed<adore::env::BorderBased::Border>* adore::apps::PlotTrafficLights::borderfeed_
private

◆ borderSet_

adore::env::BorderBased::BorderSet adore::apps::PlotTrafficLights::borderSet_
private

◆ figure_

DLR_TS::PlotLab::AFigureStub* adore::apps::PlotTrafficLights::figure_
private

◆ plot_connection_lines

bool adore::apps::PlotTrafficLights::plot_connection_lines = true
private

◆ position_

adore::env::VehicleMotionState9d adore::apps::PlotTrafficLights::position_
private

◆ positionReader_

adore::mad::AReader<adore::env::VehicleMotionState9d>* adore::apps::PlotTrafficLights::positionReader_
private

◆ prefix_

std::string adore::apps::PlotTrafficLights::prefix_
private

◆ tl_controller_feed_

adore::mad::AFeed<adore::env::ControlledConnection>* adore::apps::PlotTrafficLights::tl_controller_feed_
private

◆ visible_TCD_controller_

std::unordered_map<std::string, std::pair<double,double> > adore::apps::PlotTrafficLights::visible_TCD_controller_
private

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