Main Page
Namespaces
Classes
Files
File List
File Members
include
asr_ism_visualizations
vote_visualizer_rviz.hpp
Go to the documentation of this file.
1
17
#pragma once
18
//Local includes
19
#include <
asr_ism_visualizations/visualizer_rviz.hpp
>
20
21
//ISM includes
22
#include <ISM/common_type/VoteSpecifier.hpp>
23
24
25
26
namespace
VIZ
27
{
28
class
VoteVisualizerRVIZ
:
public
VisualizerRVIZ
{
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_
;
57
double
marker_lifetime_
;
58
};
59
}
60
61
62
VIZ::VoteVisualizerRVIZ::addVisualization
void addVisualization(const std::map< ISM::ObjectPtr, std::vector< ISM::VoteSpecifierPtr >> &object_to_votes)
Definition:
vote_visualizer_rviz.cpp:26
visualizer_rviz.hpp
VIZ
Definition:
ism_pose_prediction_visualizer_rviz.hpp:32
VIZ::VoteVisualizerRVIZ
Definition:
vote_visualizer_rviz.hpp:28
VIZ::VoteVisualizerRVIZ::VoteVisualizerRVIZ
VoteVisualizerRVIZ(ros::Publisher publisher, std::string base_frame, std::string prefix, double marker_lifetime)
Definition:
vote_visualizer_rviz.hpp:33
VIZ::VisualizerRVIZ
Definition:
visualizer_rviz.hpp:27
VIZ::VoteVisualizerRVIZ::base_frame_
std::string base_frame_
Definition:
vote_visualizer_rviz.hpp:55
VIZ::MarkerArray
visualization_msgs::MarkerArray MarkerArray
Definition:
VizHelperRVIZ.hpp:49
VIZ::VoteVisualizerRVIZ::generateVoteMarkers
visualization_msgs::MarkerArray generateVoteMarkers(const std::map< ISM::ObjectPtr, std::vector< ISM::VoteSpecifierPtr >> &object_to_votes)
Definition:
vote_visualizer_rviz.cpp:34
VIZ::VoteVisualizerRVIZ::prefix_
std::string prefix_
Definition:
vote_visualizer_rviz.hpp:56
ros::Publisher
VIZ::VoteVisualizerRVIZ::marker_lifetime_
double marker_lifetime_
Definition:
vote_visualizer_rviz.hpp:57
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