environment_visualizer.h
Go to the documentation of this file.
1 
18 #ifndef ENVIRONMENT_VISUALIZER_H
19 #define ENVIRONMENT_VISUALIZER_H
20 
21 #include <ros/ros.h>
22 #include <asr_visualization_server/DrawAllModelsDome.h>
23 #include <asr_visualization_server/DrawAllModelsMild.h>
24 #include <asr_visualization_server/ClearAllModels.h>
25 #include <asr_visualization_server/DrawModelDome.h>
26 #include <asr_visualization_server/DrawModelMild.h>
27 #include <asr_visualization_server/ClearModelDome.h>
28 #include <asr_visualization_server/ClearModelMild.h>
29 #include <asr_visualization_server/ShowAvailableModels.h>
30 
31 #include "marker_helper.h"
32 
33 
35 
36 using namespace asr_visualization_server;
37 
39 const static std::string NODE_NAME("visualization");
40 
42 const static std::string DRAW_ALL_DOME_SERVICE_NAME("draw_all_models_dome");
43 
45 const static std::string DRAW_ALL_MILD_SERVICE_NAME("draw_all_models_mild");
46 
48 const static std::string CLEAR_ALL_MODELS_SERVICE_NAME("clear_all_models");
49 
51 const static std::string DRAW_MODEL_DOME_SERVICE_NAME("draw_model_dome");
52 
54 const static std::string DRAW_MODEL_MILD_SERVICE_NAME("draw_model_mild");
55 
57 const static std::string CLEAR_MODEL_DOME_SERVICE_NAME("clear_model_dome");
58 
60 const static std::string CLEAR_MODEL_MILD_SERVICE_NAME("clear_model_mild");
61 
63 const static std::string SHOW_AVAILABLE_MODELS_SERVICE_NAME("show_available_models");
64 
66 
67 private:
68 
71 
73 
83 
85 
86  std::string output_models_topic_;
87 
89 
90  visualization_msgs::MarkerArray dome_markers_;
91  visualization_msgs::MarkerArray mild_markers_;
92 
93 
94  void timerCallback(const ros::TimerEvent& e);
95 
102  bool processDrawAllModelsDomeRequest(DrawAllModelsDome::Request &req, DrawAllModelsDome::Response &res);
103 
110  bool processDrawAllModelsMildRequest(DrawAllModelsMild::Request &req, DrawAllModelsMild::Response &res);
111 
118  bool processClearAllModelsRequest(ClearAllModels::Request &req, ClearAllModels::Response &res);
119 
126  bool processDrawModelDomeRequest(DrawModelDome::Request &req, DrawModelDome::Response &res);
127 
134  bool processDrawModelMildRequest(DrawModelMild::Request &req, DrawModelMild::Response &res);
135 
142  bool processClearModelDomeRequest(ClearModelDome::Request &req, ClearModelDome::Response &res);
143 
150  bool processClearModelMildRequest(ClearModelMild::Request &req, ClearModelMild::Response &res);
151 
158  bool processShowAvailableModelsRequest(ShowAvailableModels::Request &req, ShowAvailableModels::Response &res);
159 
160 
161 
162 
163 public:
165 
166 };
167 
168 }
169 
170 #endif /* ENVIRONMENT_VISUALIZER_H */
171 
static const std::string CLEAR_MODEL_DOME_SERVICE_NAME("clear_model_dome")
static const std::string DRAW_MODEL_MILD_SERVICE_NAME("draw_model_mild")
visualization_msgs::MarkerArray mild_markers_
static const std::string DRAW_ALL_DOME_SERVICE_NAME("draw_all_models_dome")
visualization_msgs::MarkerArray dome_markers_
static const std::string SHOW_AVAILABLE_MODELS_SERVICE_NAME("show_available_models")
static const std::string CLEAR_MODEL_MILD_SERVICE_NAME("clear_model_mild")
static const std::string DRAW_MODEL_DOME_SERVICE_NAME("draw_model_dome")
static const std::string DRAW_ALL_MILD_SERVICE_NAME("draw_all_models_mild")
static const std::string NODE_NAME("visualization")
static const std::string CLEAR_ALL_MODELS_SERVICE_NAME("clear_all_models")


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