old_result_visualizer_rviz.hpp
Go to the documentation of this file.
1 
17 #pragma once
18 //Ilcas include
20 #include <ISM/common_type/RecognitionResult.hpp>
21 
22 
23 namespace VIZ
24 {
26 {
27 
28 public:
29  OLD_ResultVisualizerRVIZ(const ros::Publisher& publisher, std::string baseFrame, double stepLength,
30  std::string prefix, double markerLifetime) :
31  VisualizerRVIZ(publisher),
32  baseFrame(baseFrame), stepLength(stepLength), prefix(prefix),
33  markerLifetime(markerLifetime)
34  {}
36 
37  void addVisualization(const ISM::RecognitionResultPtr recognition_result,
38  std::string name_space_prefix = "");
39 
40 private:
41  visualization_msgs::MarkerArray getMarkersFromResult(const ISM::RecognitionResultPtr result,
42  int depth,
43  std::string name_space_prefix = "");
44 
45  /* Helper method to translate a point. So we can see the tree
46  *depth objects residing in trough their corresponding marker
47  */
48  ISM::PointPtr getAdjustedPosition(ISM::PosePtr pose, int depth);
49 
50  std::string baseFrame;
51  double stepLength;
52  std::string prefix;
54 };
56 }
57 
58 
59 
boost::shared_ptr< OLD_ResultVisualizerRVIZ > OLD_ResultVisualizerRVIZPtr
ISM::PointPtr getAdjustedPosition(ISM::PosePtr pose, int depth)
visualization_msgs::MarkerArray getMarkersFromResult(const ISM::RecognitionResultPtr result, int depth, std::string name_space_prefix="")
void addVisualization(const ISM::RecognitionResultPtr recognition_result, std::string name_space_prefix="")
visualization_msgs::MarkerArray MarkerArray
OLD_ResultVisualizerRVIZ(const ros::Publisher &publisher, std::string baseFrame, double stepLength, std::string prefix, double markerLifetime)


asr_ism_visualizations
Author(s): Hanselmann Fabian, Heller Florian, Heizmann Heinrich, Kübler Marcel, Meißner Pascal, Reckling Reno, Stöckle Patrick, Trautmann Jeremias
autogenerated on Fri Nov 8 2019 03:28:47