22 #ifndef STDR_GUI_SOUND_CONTAINER 23 #define STDR_GUI_SOUND_CONTAINER 26 #include "stdr_msgs/SoundSensorMsg.h" 27 #include "stdr_msgs/SoundSensorMeasurementMsg.h" 47 stdr_msgs::SoundSensorMsg
msg_;
71 CGuiSound(stdr_msgs::SoundSensorMsg msg,std::string baseTopic);
79 void callback(
const stdr_msgs::SoundSensorMeasurementMsg& msg);
std::string getFrameId(void)
Returns the frame id of the specific sensor.
ros::Subscriber subscriber_
Used to avoid drawing when a new sonar message arives.
std::string tf_frame_
Visualization status of the specific sonar.
char getVisualizationStatus(void)
Returns the visibility status of the specific sensor.
void toggleVisualizationStatus(void)
Toggles the visibility status of the specific sensor.
std::string topic_
< The topic from which the new RFID tags will be got
char visualization_status_
The stdr rfid sensor measurement msg.
void paint(QImage *m, float ocgd, tf::TransformListener *listener)
Paints the rfid measurements in the map image.
bool lock_
The ROS tf frame.
CGuiSound(stdr_msgs::SoundSensorMsg msg, std::string baseTopic)
Default contructor.
stdr_msgs::SoundSensorMeasurementMsg sound_sources_
The tags that exist in the environment.
void callback(const stdr_msgs::SoundSensorMeasurementMsg &msg)
Callback for the rfid measurement message.
void setEnvironmentalSoundSources(stdr_msgs::SoundSourceVector env_sound_sources)
Sets the tags existent in the environment.
~CGuiSound(void)
Default destructor.
The main namespace for STDR GUI.
stdr_msgs::SoundSensorMsg msg_
A ros subscriber.
stdr_msgs::SoundSourceVector env_sound_sources_
void setVisualizationStatus(char vs)
Sets the visibility status of the specific sensor.