Public Member Functions | Private Attributes
stdr_gui::CGuiRfid Class Reference

Implements the functionalities for an RFID antenna sensor. More...

#include <stdr_gui_rfid.h>

List of all members.

Public Member Functions

void callback (const stdr_msgs::RfidSensorMeasurementMsg &msg)
 Callback for the rfid measurement message.
 CGuiRfid (stdr_msgs::RfidSensorMsg msg, std::string baseTopic)
 Default contructor.
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.
void setEnvironmentalTags (stdr_msgs::RfidTagVector env_tags)
 Sets the tags existent in the environment.
void setVisualizationStatus (char vs)
 Sets the visibility status of the specific sensor.
void toggleVisualizationStatus (void)
 Toggles the visibility status of the specific sensor.
 ~CGuiRfid (void)
 Default destructor.

Private Attributes

stdr_msgs::RfidTagVector env_tags_
bool lock_
 The ROS tf frame.
stdr_msgs::RfidSensorMsg msg_
 A ros subscriber.
ros::Subscriber subscriber_
 Used to avoid drawing when a new sonar message arives.
stdr_msgs::RfidSensorMeasurementMsg tags_
 The tags that exist in the environment.
std::string tf_frame_
 Visualization status of the specific sonar.
std::string topic_
 < The topic from which the new RFID tags will be got
char visualization_status_
 The stdr rfid sensor measurement msg.

Detailed Description

Implements the functionalities for an RFID antenna sensor.

Definition at line 39 of file stdr_gui_rfid.h.


Constructor & Destructor Documentation

stdr_gui::CGuiRfid::CGuiRfid ( stdr_msgs::RfidSensorMsg  msg,
std::string  baseTopic 
)

Default contructor.

Parameters:
msg[stdr_msgs::RfidSensorMsg] The rfid antenna description msg
baseTopic[std::string] The ros topic for subscription
Returns:
void

Definition at line 29 of file stdr_gui_rfid.cpp.

Default destructor.

Returns:
void

Definition at line 129 of file stdr_gui_rfid.cpp.


Member Function Documentation

void stdr_gui::CGuiRfid::callback ( const stdr_msgs::RfidSensorMeasurementMsg &  msg)

Callback for the rfid measurement message.

Callback for the rfid measurements message.

Parameters:
msg[const stdr_msgs::RfidSensorMeasurementMsg&] The new rfid\ sensor measurement message
Returns:
void

Definition at line 43 of file stdr_gui_rfid.cpp.

std::string stdr_gui::CGuiRfid::getFrameId ( void  )

Returns the frame id of the specific sensor.

Returns:
std::string : The sensor's frame id

Definition at line 162 of file stdr_gui_rfid.cpp.

Returns the visibility status of the specific sensor.

Returns:
char : The visibility status

Definition at line 137 of file stdr_gui_rfid.cpp.

void stdr_gui::CGuiRfid::paint ( QImage *  m,
float  ocgd,
tf::TransformListener listener 
)

Paints the rfid measurements in the map image.

Paints the rfid measurement in the map image.

Parameters:
m[QImage*] The image to be drawn
ocgd[float] The map's resolution
listener[tf::TransformListener *] ROS tf transform listener
Returns:
void

< Find transformation

< Draw measurement stuff

Definition at line 55 of file stdr_gui_rfid.cpp.

void stdr_gui::CGuiRfid::setEnvironmentalTags ( stdr_msgs::RfidTagVector  env_tags)

Sets the tags existent in the environment.

Parameters:
env_tags[stdr_msgs::RfidTagVector] The tag vector
Returns:
void

Definition at line 172 of file stdr_gui_rfid.cpp.

Sets the visibility status of the specific sensor.

Parameters:
vs[char] The new visibility status
Returns:
void

Definition at line 153 of file stdr_gui_rfid.cpp.

Toggles the visibility status of the specific sensor.

Returns:
void

Definition at line 145 of file stdr_gui_rfid.cpp.


Member Data Documentation

stdr_msgs::RfidTagVector stdr_gui::CGuiRfid::env_tags_ [private]

Definition at line 60 of file stdr_gui_rfid.h.

bool stdr_gui::CGuiRfid::lock_ [private]

The ROS tf frame.

Definition at line 52 of file stdr_gui_rfid.h.

stdr_msgs::RfidSensorMsg stdr_gui::CGuiRfid::msg_ [private]

A ros subscriber.

Definition at line 48 of file stdr_gui_rfid.h.

Used to avoid drawing when a new sonar message arives.

Definition at line 50 of file stdr_gui_rfid.h.

stdr_msgs::RfidSensorMeasurementMsg stdr_gui::CGuiRfid::tags_ [private]

The tags that exist in the environment.

Definition at line 59 of file stdr_gui_rfid.h.

std::string stdr_gui::CGuiRfid::tf_frame_ [private]

Visualization status of the specific sonar.

Definition at line 54 of file stdr_gui_rfid.h.

std::string stdr_gui::CGuiRfid::topic_ [private]

< The topic from which the new RFID tags will be got

The description for the rfid antenna message

Definition at line 46 of file stdr_gui_rfid.h.

The stdr rfid sensor measurement msg.

Definition at line 56 of file stdr_gui_rfid.h.


The documentation for this class was generated from the following files:


stdr_gui
Author(s): Manos Tsardoulias
autogenerated on Thu Jun 6 2019 18:57:38