stdr_gui_thermal.h
Go to the documentation of this file.
1 /******************************************************************************
2  STDR Simulator - Simple Two DImensional Robot Simulator
3  Copyright (C) 2013 STDR Simulator
4  This program is free software; you can redistribute it and/or modify
5  it under the terms of the GNU General Public License as published by
6  the Free Software Foundation; either version 3 of the License, or
7  (at your option) any later version.
8  This program is distributed in the hope that it will be useful,
9  but WITHOUT ANY WARRANTY; without even the implied warranty of
10  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  GNU General Public License for more details.
12  You should have received a copy of the GNU General Public License
13  along with this program; if not, write to the Free Software Foundation,
14  Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
15 
16  Authors :
17  * Manos Tsardoulias, etsardou@gmail.com
18  * Aris Thallas, aris.thallas@gmail.com
19  * Chris Zalidis, zalidis@gmail.com
20 ******************************************************************************/
21 
22 #ifndef STDR_GUI_THERMAL_CONTAINER
23 #define STDR_GUI_THERMAL_CONTAINER
24 
25 #include "stdr_gui/stdr_tools.h"
26 #include "stdr_msgs/ThermalSensorMsg.h"
27 #include "stdr_msgs/ThermalSensorMeasurementMsg.h"
28 
33 namespace stdr_gui
34 {
40  {
41  //------------------------------------------------------------------------//
42  private:
43 
45  std::string topic_;
47  stdr_msgs::ThermalSensorMsg msg_;
51  bool lock_;
53  std::string tf_frame_;
57  stdr_msgs::ThermalSensorMeasurementMsg thermal_sources_;
58 
60  stdr_msgs::ThermalSourceVector env_thermal_sources_;
61 
62  //------------------------------------------------------------------------//
63  public:
64 
71  CGuiThermal(stdr_msgs::ThermalSensorMsg msg,std::string baseTopic);
72 
79  void callback(const stdr_msgs::ThermalSensorMeasurementMsg& msg);
80 
88  void paint(QImage *m,float ocgd,tf::TransformListener *listener);
89 
94  ~CGuiThermal(void);
95 
100  char getVisualizationStatus(void);
101 
106  void toggleVisualizationStatus(void);
107 
113  void setVisualizationStatus(char vs);
114 
119  std::string getFrameId(void);
120 
126  void setEnvironmentalThermalSources(stdr_msgs::ThermalSourceVector env_thermal_sources);
127  };
128 }
129 
130 #endif
std::string getFrameId(void)
Returns the frame id of the specific sensor.
char getVisualizationStatus(void)
Returns the visibility status of the specific sensor.
void paint(QImage *m, float ocgd, tf::TransformListener *listener)
Paints the rfid measurements in the map image.
std::string topic_
< The topic from which the new RFID tags will be got
std::string tf_frame_
Visualization status of the specific sonar.
void toggleVisualizationStatus(void)
Toggles the visibility status of the specific sensor.
stdr_msgs::ThermalSourceVector env_thermal_sources_
~CGuiThermal(void)
Default destructor.
bool lock_
The ROS tf frame.
stdr_msgs::ThermalSensorMsg msg_
A ros subscriber.
void setEnvironmentalThermalSources(stdr_msgs::ThermalSourceVector env_thermal_sources)
Sets the tags existent in the environment.
ros::Subscriber subscriber_
Used to avoid drawing when a new sonar message arives.
The main namespace for STDR GUI.
CGuiThermal(stdr_msgs::ThermalSensorMsg msg, std::string baseTopic)
Default contructor.
char visualization_status_
The stdr rfid sensor measurement msg.
void callback(const stdr_msgs::ThermalSensorMeasurementMsg &msg)
Callback for the rfid measurement message.
void setVisualizationStatus(char vs)
Sets the visibility status of the specific sensor.
stdr_msgs::ThermalSensorMeasurementMsg thermal_sources_
The tags that exist in the environment.


stdr_gui
Author(s): Manos Tsardoulias
autogenerated on Mon Jun 10 2019 15:15:16