vote_visualizer_rviz.hpp
Go to the documentation of this file.
1 
17 #pragma once
18 //Local includes
20 
21 //ISM includes
22 #include <ISM/common_type/VoteSpecifier.hpp>
23 
24 
25 
26 namespace VIZ
27 {
29 
30 
31 
32 public:
33  VoteVisualizerRVIZ(ros::Publisher publisher, std::string base_frame, std::string prefix, double marker_lifetime)
34  : VisualizerRVIZ(publisher), base_frame_(base_frame), prefix_(prefix), marker_lifetime_(marker_lifetime)
35  {};
36 
37 
43  void addVisualization(const std::map<ISM::ObjectPtr, std::vector<ISM::VoteSpecifierPtr>>& object_to_votes);
44 
45 private:
46 
52  visualization_msgs::MarkerArray generateVoteMarkers(const std::map<ISM::ObjectPtr, std::vector<ISM::VoteSpecifierPtr>>& object_to_votes);
53 
54 
55  std::string base_frame_;
56  std::string prefix_;
58 };
59 }
60 
61 
62 
void addVisualization(const std::map< ISM::ObjectPtr, std::vector< ISM::VoteSpecifierPtr >> &object_to_votes)
VoteVisualizerRVIZ(ros::Publisher publisher, std::string base_frame, std::string prefix, double marker_lifetime)
visualization_msgs::MarkerArray MarkerArray
visualization_msgs::MarkerArray generateVoteMarkers(const std::map< ISM::ObjectPtr, std::vector< ISM::VoteSpecifierPtr >> &object_to_votes)


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