Public Member Functions | Public Attributes | Static Public Attributes
P2OSPacket Class Reference

#include <packet.hpp>

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 size
ros::Time timestamp

Static Public Attributes

unsigned char packet [packet_len]

Detailed Description

Definition at line 33 of file packet.hpp.


Member Function Documentation

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

Definition at line 128 of file packet.cpp.

Definition at line 60 of file packet.cpp.

Definition at line 54 of file packet.cpp.

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

Definition at line 49 of file packet.hpp.

Definition at line 31 of file packet.cpp.

Definition at line 42 of file packet.cpp.

int P2OSPacket::Receive ( int  fd)

Definition at line 79 of file packet.cpp.

int P2OSPacket::Send ( int  fd)

Definition at line 157 of file packet.cpp.


Member Data Documentation

unsigned char P2OSPacket::packet[packet_len] [static]

Definition at line 36 of file packet.hpp.

unsigned char P2OSPacket::size

Definition at line 37 of file packet.hpp.

Definition at line 38 of file packet.hpp.


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 Wed Mar 27 2019 02:34:57