FiducialInterface Class Reference
[Fiducial Interface]
#include <FiducialInterface.hh>
Inheritance diagram for FiducialInterface:
Detailed Description
Plugin Player interface for Gazebo fiducials.
Public Member Functions | |
FiducialInterface (player_devaddr_t addr, GazeboDriver *driver, ConfigFile *cf, int section) | |
Constructor. | |
virtual | ~FiducialInterface () |
Destructor. | |
virtual int | ProcessMessage (QueuePointer &respQueue, player_msghdr_t *hdr, void *data) |
Handle all messages. | |
virtual void | Update () |
Update this interface, publish new info. | |
virtual void | Subscribe () |
Open a SHM interface when a subscription is received. | |
virtual void | Unsubscribe () |
Close a SHM interface. |
Constructor & Destructor Documentation
FiducialInterface | ( | player_devaddr_t | addr, | |
GazeboDriver * | driver, | |||
ConfigFile * | cf, | |||
int | section | |||
) |
Constructor.
- Parameters:
-
addr Plaer device address driver The Gazebo driver cf Player config file section Section of the config
Member Function Documentation
virtual int ProcessMessage | ( | QueuePointer & | respQueue, | |
player_msghdr_t * | hdr, | |||
void * | data | |||
) | [virtual] |
Handle all messages.
This is called from GazeboDriver
- Parameters:
-
respQueue Response queue hdr Message header data Pointer to the message data
Implements GazeboInterface.
virtual void Subscribe | ( | ) | [virtual] |
Open a SHM interface when a subscription is received.
\ This is called fromGazeboDriver::Subscribe
Implements GazeboInterface.
virtual void Unsubscribe | ( | ) | [virtual] |
The documentation for this class was generated from the following file: