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 64 of file packet.cc.

Definition at line 53 of file packet.cc.

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

Definition at line 49 of file packet.h.

Definition at line 32 of file packet.cc.

Definition at line 42 of file packet.cc.

int P2OSPacket::Receive ( int  fd)

Definition at line 82 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 L. Allen , David Feil-Seifer , Aris Synodinos , Brian Gerkey, Kasper Stoy, Richard Vaughan, Andrew Howard, Tucker Hermans, ActivMedia Robotics LLC, MobileRobots Inc.
autogenerated on Sat Aug 5 2017 02:20:17