SceneInferenceEngine.h
Go to the documentation of this file.
1 
18 #pragma once
19 
20 // Global includes
21 #include <queue>
22 
23 // Package includes
24 #include <ros/ros.h>
25 #include <rosbag/view.h>
26 
27 #include <asr_msgs/AsrObject.h>
28 
29 #include <visualization/gnuplot/GnuplotVisualization.h>
30 #include <visualization/psm/ProbabilisticSceneModelVisualization.h>
31 
32 // Local includes
34 
37 
38 #include <ISM/common_type/Object.hpp>
39 
41 
47  public:
48 
53 
58 
62  void update();
63 
67  void executeInStackMode();
68 
75 
81 
82  private:
83 
90  void loadSceneModel(const std::string pSceneModelFileName, const std::string pInferenceAlgorithm);
91 
99  void initializeVisualizationChain(const double pScale, const float pSigmaMultiplicator, const std::string pFrameId);
100 
107 
114 
115  private:
116 
120  bool showPlot;
121 
126 
131 
136 
141 
145  std::queue<boost::shared_ptr<asr_msgs::AsrObject> > mEvidenceBuffer;
146 
151 
156 
160  Visualization::GnuplotVisualization mVisGnuplot;
161 
166  };
167 }
void loadSceneModel(const std::string pSceneModelFileName, const std::string pInferenceAlgorithm)
boost::shared_ptr< Visualization::ProbabilisticSceneModelVisualization > mVisualizer
void initializeVisualizationChain(const double pScale, const float pSigmaMultiplicator, const std::string pFrameId)
void newObservationCallback(const boost::shared_ptr< asr_msgs::AsrObject > &pObject)
boost::shared_ptr< asr_msgs::AsrObject > ISMObjectToAsrObject(boost::shared_ptr< ISM::Object > pObject)
std::queue< boost::shared_ptr< asr_msgs::AsrObject > > mEvidenceBuffer
boost::shared_ptr< ISM::Object > AsrObjectToISMObject(boost::shared_ptr< asr_msgs::AsrObject > pObject)


asr_psm
Author(s): Braun Kai, Gehrung Joachim, Heizmann Heinrich, Meißner Pascal
autogenerated on Fri Nov 15 2019 03:57:54