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

a optimzed plotting application to plot other traffic More...

#include <plot_traffic.h>

Collaboration diagram for adore::apps::PlotTraffic:
Collaboration graph

Public Member Functions

 PlotTraffic (DLR_TS::PlotLab::AFigureStub *figure, std::string prefix, bool debug_plot_ids)
 
 ~PlotTraffic ()
 
void run ()
 
void plotPosition (const std::string &name, double gX, double gY, double psi, double L, double c, double d, double w, double vx, double vy, const std::string &options, adore::env::traffic::Participant::EClassification participant_type, int id, int v2xid=0)
 plotting a vehicle More...
 

Private Attributes

adore::env::AFactory::TParticipantSetReadertrafficReader_
 
bool debug_plot_ids_
 
std::unordered_set< std::string > plot_tags_old_
 
std::unordered_set< std::string > plot_tags_current_
 
DLR_TS::PlotLab::AFigureStubfigure_
 
std::string prefix_
 
std::string app_tag_
 

Detailed Description

a optimzed plotting application to plot other traffic

Constructor & Destructor Documentation

◆ PlotTraffic()

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

◆ ~PlotTraffic()

adore::apps::PlotTraffic::~PlotTraffic ( )
inline

Member Function Documentation

◆ plotPosition()

void adore::apps::PlotTraffic::plotPosition ( const std::string &  name,
double  gX,
double  gY,
double  psi,
double  L,
double  c,
double  d,
double  w,
double  vx,
double  vy,
const std::string &  options,
adore::env::traffic::Participant::EClassification  participant_type,
int  id,
int  v2xid = 0 
)
inline

plotting a vehicle

Parameters
namea tag used to id the vehicle
gXx position
gYy position
psiheading
L
c
d
w
optionsdrawing options, cf. plotlablib
Here is the call graph for this function:
Here is the caller graph for this function:

◆ run()

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

Member Data Documentation

◆ app_tag_

std::string adore::apps::PlotTraffic::app_tag_
private

◆ debug_plot_ids_

bool adore::apps::PlotTraffic::debug_plot_ids_
private

◆ figure_

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

◆ plot_tags_current_

std::unordered_set<std::string> adore::apps::PlotTraffic::plot_tags_current_
private

◆ plot_tags_old_

std::unordered_set<std::string> adore::apps::PlotTraffic::plot_tags_old_
private

◆ prefix_

std::string adore::apps::PlotTraffic::prefix_
private

◆ trafficReader_

adore::env::AFactory::TParticipantSetReader* adore::apps::PlotTraffic::trafficReader_
private

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