#include <packet.h>
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 |
int P2OSPacket::Build | ( | unsigned char * | data, |
unsigned char | datasize | ||
) |
int P2OSPacket::CalcChkSum | ( | ) |
bool P2OSPacket::Check | ( | ) |
bool P2OSPacket::operator!= | ( | P2OSPacket | p | ) | [inline] |
void P2OSPacket::Print | ( | ) |
void P2OSPacket::PrintHex | ( | ) |
int P2OSPacket::Receive | ( | int | fd | ) |
int P2OSPacket::Send | ( | int | fd | ) |
unsigned char P2OSPacket::packet[PACKET_LEN] |
unsigned char P2OSPacket::size |