marker_helper.h
Go to the documentation of this file.
1 
18 #ifndef MARKER_HELPER_H
19 #define MARKER_HELPER_H
20 
21 #include <ros/ros.h>
22 #include <visualization_msgs/MarkerArray.h>
23 
24 namespace visualization_server {
25 
26 
27 class MarkerHelper {
28 
29 private:
30 
32 
34 
35  std::string dome_config_path_;
36  std::string mild_config_path_;
37 
38  bool parseDoubleCsv(std::string csv_in, std::vector<double> &csv_out, std::string delim);
39 
40  visualization_msgs::Marker createMarker(const std::string &name, const std::string &mesh, const std::vector<double> &pose, const std::vector<double> &scale, int id, bool use_mat);
41 
42  visualization_msgs::MarkerArray parseXmlFile(std::string xml_path);
43 
44 public:
45 
46  MarkerHelper() : MarkerHelper(DEFAULT_MARKER_LIFETIME, std::string(), std::string()) {}
47 
48  MarkerHelper(double marker_lifetime, const std::string &dome_config_path, const std::string &mild_config_path);
49 
50  visualization_msgs::MarkerArray getAllMarkersDome();
51 
52  visualization_msgs::MarkerArray getAllMarkersMild();
53 
54 };
55 
56 }
57 
58 #endif /* MARKER_HELPER_H */
59 
60 
visualization_msgs::MarkerArray getAllMarkersMild()
visualization_msgs::Marker createMarker(const std::string &name, const std::string &mesh, const std::vector< double > &pose, const std::vector< double > &scale, int id, bool use_mat)
visualization_msgs::MarkerArray getAllMarkersDome()
bool parseDoubleCsv(std::string csv_in, std::vector< double > &csv_out, std::string delim)
visualization_msgs::MarkerArray parseXmlFile(std::string xml_path)


asr_visualization_server
Author(s): Allgeyer Tobias, Braun Kai, Heller Florian, Mehlhaus Jonas, Meißner Pascal, Qattan Mohamad, Wittenbeck Valerij
autogenerated on Mon Jun 10 2019 12:45:13