Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

BlobfinderProxy Class Reference
[Proxies]

#include <playerclient.h>

Inherits ClientProxy.

List of all members.


Detailed Description

The BlobfinderProxy class is used to control a blobfinder device. It contains no methods. The latest color blob data is stored in blobs, a dynamically allocated 2-D array, indexed by color channel.


Public Member Functions

 BlobfinderProxy (PlayerClient *pc, unsigned short index, unsigned char access='c')
 ~BlobfinderProxy ()
void FillData (player_msghdr_t hdr, const char *buffer)
void Print ()
 Print out current blob information.

int SetTrackingColor ()
int SetTrackingColor (int rmin, int rmax, int gmin, int gmax, int bmin, int bmax)
int SetImagerParams (int contrast, int brightness, int autogain, int colormode)
int SetContrast (int c)
int SetColorMode (int m)
int SetBrightness (int b)
int SetAutoGain (int g)

Public Attributes

unsigned short width
 Dimensions of the camera image, in pixels.

unsigned short height
 Dimensions of the camera image, in pixels.

int blob_count
Blob blobs [PLAYER_BLOBFINDER_MAX_BLOBS]


Constructor & Destructor Documentation

BlobfinderProxy::BlobfinderProxy PlayerClient pc,
unsigned short  index,
unsigned char  access = 'c'
 

Constructor. Leave the access field empty to start unconnected.

BlobfinderProxy::~BlobfinderProxy  ) 
 


Member Function Documentation

void BlobfinderProxy::FillData player_msghdr_t  hdr,
const char *  buffer
[virtual]
 

All proxies must provide this method. It is used internally to parse new data when it is received.

Reimplemented from ClientProxy.

void BlobfinderProxy::Print  )  [virtual]
 

Print out current blob information.

Reimplemented from ClientProxy.

int BlobfinderProxy::SetTrackingColor  ) 
 

int BlobfinderProxy::SetTrackingColor int  rmin,
int  rmax,
int  gmin,
int  gmax,
int  bmin,
int  bmax
 

int BlobfinderProxy::SetImagerParams int  contrast,
int  brightness,
int  autogain,
int  colormode
 

int BlobfinderProxy::SetContrast int  c  ) 
 

int BlobfinderProxy::SetColorMode int  m  ) 
 

int BlobfinderProxy::SetBrightness int  b  ) 
 

int BlobfinderProxy::SetAutoGain int  g  ) 
 


Member Data Documentation

unsigned short BlobfinderProxy::width
 

Dimensions of the camera image, in pixels.

unsigned short BlobfinderProxy::height
 

Dimensions of the camera image, in pixels.

int BlobfinderProxy::blob_count
 

number of blobs

Blob BlobfinderProxy::blobs[PLAYER_BLOBFINDER_MAX_BLOBS]
 

Array containing arrays of the latest blob data.


The documentation for this class was generated from the following file:
Generated on Tue May 3 14:15:47 2005 for Player by doxygen 1.3.6