22 #ifndef STDR_GUI_RFID_CONTAINER 23 #define STDR_GUI_RFID_CONTAINER 26 #include "stdr_msgs/RfidSensorMsg.h" 27 #include "stdr_msgs/RfidSensorMeasurementMsg.h" 47 stdr_msgs::RfidSensorMsg
msg_;
57 stdr_msgs::RfidSensorMeasurementMsg
tags_;
71 CGuiRfid(stdr_msgs::RfidSensorMsg msg,std::string baseTopic);
79 void callback(
const stdr_msgs::RfidSensorMeasurementMsg& msg);
void setEnvironmentalTags(stdr_msgs::RfidTagVector env_tags)
Sets the tags existent in the environment.
bool lock_
The ROS tf frame.
std::string tf_frame_
Visualization status of the specific sonar.
void callback(const stdr_msgs::RfidSensorMeasurementMsg &msg)
Callback for the rfid measurement message.
stdr_msgs::RfidSensorMsg msg_
A ros subscriber.
std::string getFrameId(void)
Returns the frame id of the specific sensor.
stdr_msgs::RfidSensorMeasurementMsg tags_
The tags that exist in the environment.
ros::Subscriber subscriber_
Used to avoid drawing when a new sonar message arives.
void toggleVisualizationStatus(void)
Toggles the visibility status of the specific sensor.
void setVisualizationStatus(char vs)
Sets the visibility status of the specific sensor.
stdr_msgs::RfidTagVector env_tags_
CGuiRfid(stdr_msgs::RfidSensorMsg msg, std::string baseTopic)
Default contructor.
Implements the functionalities for an RFID antenna sensor.
char visualization_status_
The stdr rfid sensor measurement msg.
The main namespace for STDR GUI.
std::string topic_
< The topic from which the new RFID tags will be got
~CGuiRfid(void)
Default destructor.
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.