Home
FAQ
Player
Stage
Gazebo
Contrib
Documentation
Publications
Contributors
Users

Project
Download
Bugs/Feedback
Mailing lists

Radish

Old news
Old stuff

SIP Class Reference

#include <sip.h>

List of all members.

Public Member Functions

void Parse (unsigned char *buffer)
void ParseSERAUX (unsigned char *buffer)
void ParseGyro (unsigned char *buffer)
void Print ()
void PrintSonars ()
void Fill (player_p2os_data_t *data)
 SIP (int idx)

Public Attributes

bool lwstall
bool rwstall
unsigned char status
unsigned char battery
unsigned char sonarreadings
unsigned char analog
unsigned char digin
unsigned char digout
unsigned short ptu
unsigned short compass
unsigned short timer
unsigned short rawxpos
unsigned short rawypos
unsigned short frontbumpers
unsigned short rearbumpers
short angle
short lvel
short rvel
short control
unsigned short sonars [PLAYER_SONAR_MAX_SAMPLES]
int xpos
int ypos
int x_offset
int y_offset
int angle_offset
unsigned short blobmx
unsigned short blobmy
unsigned short blobx1
unsigned short blobx2
unsigned short bloby1
unsigned short bloby2
unsigned short blobarea
unsigned short blobconf
unsigned int blobcolor
int32_t gyro_rate


Constructor & Destructor Documentation

SIP::SIP int  idx  )  [inline]
 


Member Function Documentation

void SIP::Parse unsigned char *  buffer  ) 
 

void SIP::ParseSERAUX unsigned char *  buffer  ) 
 

Parse a SERAUX SIP packet. For a CMUcam, this will have blob tracking messages in the format (all one-byte values, no spaces):

255 M mx my x1 y1 x2 y2 pixels confidence (10-bytes)

Or color info messages of the format:

255 S Rval Gval Bval Rvar Gvar Bvar (8-bytes)

void SIP::ParseGyro unsigned char *  buffer  ) 
 

void SIP::Print  ) 
 

void SIP::PrintSonars  ) 
 

void SIP::Fill player_p2os_data_t data  ) 
 


Member Data Documentation

bool SIP::lwstall
 

bool SIP::rwstall
 

unsigned char SIP::status
 

unsigned char SIP::battery
 

unsigned char SIP::sonarreadings
 

unsigned char SIP::analog
 

unsigned char SIP::digin
 

unsigned char SIP::digout
 

unsigned short SIP::ptu
 

unsigned short SIP::compass
 

unsigned short SIP::timer
 

unsigned short SIP::rawxpos
 

unsigned short SIP::rawypos
 

unsigned short SIP::frontbumpers
 

unsigned short SIP::rearbumpers
 

short SIP::angle
 

short SIP::lvel
 

short SIP::rvel
 

short SIP::control
 

unsigned short SIP::sonars[PLAYER_SONAR_MAX_SAMPLES]
 

int SIP::xpos
 

int SIP::ypos
 

int SIP::x_offset
 

int SIP::y_offset
 

int SIP::angle_offset
 

unsigned short SIP::blobmx
 

unsigned short SIP::blobmy
 

unsigned short SIP::blobx1
 

unsigned short SIP::blobx2
 

unsigned short SIP::bloby1
 

unsigned short SIP::bloby2
 

unsigned short SIP::blobarea
 

unsigned short SIP::blobconf
 

unsigned int SIP::blobcolor
 

int32_t SIP::gyro_rate
 


The documentation for this class was generated from the following files:
Generated on Tue May 3 14:16:06 2005 for Player by doxygen 1.3.6