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

an optimzed plotting application to plot annotations like speed limits More...

#include <plot_roadannotations.h>

Collaboration diagram for adore::apps::PlotRoadAnnotations:
Collaboration graph

Public Member Functions

 PlotRoadAnnotations (DLR_TS::PlotLab::AFigureStub *figure, std::string prefix)
 
 ~PlotRoadAnnotations ()
 
void run ()
 
virtual void plotSpeedLimits ()
 
void removeDistanceBased (std::unordered_map< std::string, std::pair< double, double >> &visible_objects, int distance)
 

Private Attributes

adore::mad::AReader< adore::env::VehicleMotionState9d > * motion_state_reader_
 
adore::env::AFactory::TSpeedLimitFeedspeedlimit_feed_
 
DLR_TS::PlotLab::AFigureStubfigure_
 
adore::env::VehicleMotionState9d vehicle_state_
 
std::string prefix_
 
std::unordered_map< adore::env::TSpeedLimitID, adore::env::SpeedLimitlimits_
 

Detailed Description

an optimzed plotting application to plot annotations like speed limits

Constructor & Destructor Documentation

◆ PlotRoadAnnotations()

adore::apps::PlotRoadAnnotations::PlotRoadAnnotations ( DLR_TS::PlotLab::AFigureStub figure,
std::string  prefix 
)
inline
Here is the call graph for this function:

◆ ~PlotRoadAnnotations()

adore::apps::PlotRoadAnnotations::~PlotRoadAnnotations ( )
inline

Member Function Documentation

◆ plotSpeedLimits()

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

◆ removeDistanceBased()

void adore::apps::PlotRoadAnnotations::removeDistanceBased ( std::unordered_map< std::string, std::pair< double, double >> &  visible_objects,
int  distance 
)
inline

◆ run()

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

Member Data Documentation

◆ figure_

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

◆ limits_

std::unordered_map<adore::env::TSpeedLimitID,adore::env::SpeedLimit> adore::apps::PlotRoadAnnotations::limits_
private

◆ motion_state_reader_

adore::mad::AReader<adore::env::VehicleMotionState9d>* adore::apps::PlotRoadAnnotations::motion_state_reader_
private

◆ prefix_

std::string adore::apps::PlotRoadAnnotations::prefix_
private

◆ speedlimit_feed_

adore::env::AFactory::TSpeedLimitFeed* adore::apps::PlotRoadAnnotations::speedlimit_feed_
private

◆ vehicle_state_

adore::env::VehicleMotionState9d adore::apps::PlotRoadAnnotations::vehicle_state_
private

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