GnuplotVisualization.h
Go to the documentation of this file.
1 
18 #include <ros/ros.h>
19 
20 // Global includes
21 #include <string>
22 #include <set>
23 #include <utility>
24 
25 // Package includes
26 #include <boost/shared_ptr.hpp>
27 
28 #include <tf/transform_listener.h>
29 
30 #include <visualization_msgs/Marker.h>
31 #include <visualization_msgs/MarkerArray.h>
32 
33 // Local includes
35 
36 namespace Visualization {
37 
45  {
46  public:
47 
52 
57 
66  void initAnimatedBarChart(const std::vector<std::string>& pBarLabels, const std::string& pBarChartTitle, const std::string& pYLabel, const std::pair<float, float>& pYRange);
67 
73  void updateBarChartValues(const std::map<std::string, float>& pCurrentData);
74 
80  void sendBarChartToGnuplot(const bool pHighlightHighestValue);
81 
82  private:
83 
88 
93  std::vector<std::pair<float, std::pair<std::string, float> > > mBarChartBuffer;
94 
98  std::pair<float, float> mYRange;
99  };
100 }
void updateBarChartValues(const std::map< std::string, float > &pCurrentData)
boost::shared_ptr< Gnuplot > mGnuplotHandler
void sendBarChartToGnuplot(const bool pHighlightHighestValue)
void initAnimatedBarChart(const std::vector< std::string > &pBarLabels, const std::string &pBarChartTitle, const std::string &pYLabel, const std::pair< float, float > &pYRange)
std::vector< std::pair< float, std::pair< std::string, float > > > mBarChartBuffer


asr_psm_visualizations
Author(s): Gehrung Joachim, Meißner Pascal
autogenerated on Sat Nov 9 2019 03:49:13