21 #include <unordered_map>
75 std::unordered_set<std::string> plot_tags;
85 std::stringstream tag;
86 tag <<
prefix_ <<
"/PlanningResult/cb/"<<result.
id<<
"/";
87 std::string tagstr = tag.str();
96 std::stringstream tag;
97 tag <<
prefix_ <<
"/PlanningResult/nom/"<<result.
id<<
"/";
98 std::string tagstr = tag.str();
a plot module for plotting the planning result swaths
Definition: plot_plan_swath.h:33
bool plot_nominal_
Definition: plot_plan_swath.h:41
void run()
Definition: plot_plan_swath.h:73
adore::mad::AFeed< adore::fun::PlanningResult > * planning_result_feed_
Definition: plot_plan_swath.h:37
int max_iteration_
Definition: plot_plan_swath.h:39
PLOT::PredictionConfig::prediction_config nom_config_
Definition: plot_plan_swath.h:43
std::string prefix_
Definition: plot_plan_swath.h:36
PLOT::PredictionConfig::prediction_config cb_config_
Definition: plot_plan_swath.h:42
std::unordered_map< std::string, int > tag_to_iteration_
Definition: plot_plan_swath.h:38
DLR_TS::PlotLab::AFigureStub * figure_
Definition: plot_plan_swath.h:35
PlotPlanSwath(DLR_TS::PlotLab::AFigureStub *figure, std::string prefix)
Definition: plot_plan_swath.h:48
bool plot_combined_
Definition: plot_plan_swath.h:40
static adore::fun::AFactory * get()
Definition: afactory.h:170
virtual void getNext(T &value)=0
virtual bool hasNext() const =0
VolumeVector & getLevel(int i)
Definition: vectorbasedvolumetree.h:60
void plotCylinderTree(adore::mad::OccupancyCylinderTree tree, double t, double t_max, PLOT::PredictionConfig::prediction_config config, std::string prefix, DLR_TS::PlotLab::AFigureStub *figure, std::unordered_set< std::string > &plot_tags)
Definition: plot_prediction.h:29
adoreMatrix< T, N, M > max(adoreMatrix< T, N, M > a, const adoreMatrix< T, N, M > &b)
Definition: adoremath.h:686
Definition: areaofeffectconverter.h:20
double start_
Definition: prediction_config.h:30
double end_
Definition: prediction_config.h:31
Definition: prediction_config.h:27
color_range b_
Definition: prediction_config.h:46
color_range g_
Definition: prediction_config.h:46
color_range r_
Definition: prediction_config.h:46
Definition: planning_result.h:29
bool combined_maneuver_valid
Definition: planning_result.h:64
int id
Definition: planning_result.h:30
adore::mad::OccupancyCylinderTree combined_maneuver_swath
Definition: planning_result.h:40
int iteration
Definition: planning_result.h:31
adore::mad::OccupancyCylinderTree nominal_maneuver_swath
Definition: planning_result.h:38