23 #include <unordered_set>
96 std::stringstream tag;
a plot module for handling prediction plots
Definition: plot_conflict_set.h:36
std::unordered_set< std::string > plot_tags_old_
Definition: plot_conflict_set.h:40
void run()
Definition: plot_conflict_set.h:82
adore::mad::AReader< adore::env::VehicleMotionState9d > * positionReader_
Definition: plot_conflict_set.h:38
PlotConflicts(DLR_TS::PlotLab::AFigureStub *figure, std::string prefix)
Definition: plot_conflict_set.h:57
double t_prediction_max_
Definition: plot_conflict_set.h:51
std::unordered_set< std::string > plot_tags_current_
Definition: plot_conflict_set.h:41
unsigned long long counter_
Definition: plot_conflict_set.h:44
~PlotConflicts()
Definition: plot_conflict_set.h:76
std::string prefix_
Definition: plot_conflict_set.h:46
DLR_TS::PlotLab::AFigureStub * figure_
Definition: plot_conflict_set.h:43
adore::env::AFactory::TOCPredictionSetReader * conflict_set_reader_
Definition: plot_conflict_set.h:48
adore::env::VehicleMotionState9d position_
Definition: plot_conflict_set.h:45
adore::PLOT::PredictionConfig::prediction_config config_
Definition: plot_conflict_set.h:53
double t_
Definition: plot_conflict_set.h:50
virtual TVehicleMotionStateReader * getVehicleMotionStateReader()=0
virtual TOCPredictionSetReader * getConflictSetReader()=0
static adore::env::AFactory * get()
Definition: afactory.h:236
virtual void getData(T &value)=0
virtual bool hasUpdate() const =0
void plotPredictionSet(adore::env::OccupancyCylinderPredictionSet set, double t, double t_max, PLOT::PredictionConfig::prediction_config config, std::string subtopic, DLR_TS::PlotLab::AFigureStub *figure, std::unordered_set< std::string > &plot_tags)
Definition: plot_prediction.h:191
std::vector< OccupancyCylinderPrediction > OccupancyCylinderPredictionSet
Definition: occupancycylinderprediction.h:40
Definition: areaofeffectconverter.h:20
double start_
Definition: prediction_config.h:30
double end_
Definition: prediction_config.h:31
Definition: prediction_config.h:27
bool active_
Definition: prediction_config.h:47
color_range b_
Definition: prediction_config.h:46
color_range g_
Definition: prediction_config.h:46
color_range r_
Definition: prediction_config.h:46
This struct holds the motion state of the vehicle in 9d.
Definition: vehiclemotionstate9d.h:39
double getTime() const
Get the time.
Definition: vehiclemotionstate9d.h:48