Public Member Functions | Public Attributes
P2OSPacket Class Reference

#include <packet.h>

List of all members.

Public Member Functions

int Build (unsigned char *data, unsigned char datasize)
int CalcChkSum ()
bool Check ()
bool operator!= (P2OSPacket p)
void Print ()
void PrintHex ()
int Receive (int fd)
int Send (int fd)

Public Attributes

unsigned char packet [PACKET_LEN]
unsigned char size
ros::Time timestamp

Detailed Description

Definition at line 33 of file packet.h.


Member Function Documentation

int P2OSPacket::Build ( unsigned char *  data,
unsigned char  datasize 
)

Definition at line 134 of file packet.cc.

Definition at line 63 of file packet.cc.

Definition at line 52 of file packet.cc.

bool P2OSPacket::operator!= ( P2OSPacket  p) [inline]

Definition at line 49 of file packet.h.

Definition at line 31 of file packet.cc.

Definition at line 41 of file packet.cc.

int P2OSPacket::Receive ( int  fd)

Definition at line 81 of file packet.cc.

int P2OSPacket::Send ( int  fd)

Definition at line 162 of file packet.cc.


Member Data Documentation

Definition at line 36 of file packet.h.

unsigned char P2OSPacket::size

Definition at line 37 of file packet.h.

Definition at line 38 of file packet.h.


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


p2os_driver
Author(s): Hunter Allen , David Feil-Seifer , Aris Synodinos , Brian Gerkey, Kasper Stoy, Richard Vaughan, Andrew Howard, Tucker Hermans, ActivMedia Robotics LLC, MobileRobots Inc.
autogenerated on Mon Oct 6 2014 03:12:45