#include <applanix.h>
Public Member Functions | |
virtual int | connect_socket (void) |
DevApplanix (void) | |
virtual int | get_packet (applanix_data_t *adata) |
virtual | ~DevApplanix () |
Protected Member Functions | |
virtual int | read_packet (ros::Time *time) |
virtual void | unpack_grp1 (applanix_data_t *adata, GRP1_MSG *msg) |
virtual void | unpack_grp4 (applanix_data_t *adata, GRP4_MSG *msg) |
Protected Attributes | |
size_t | buffer_length |
bool | have_DGPS |
char | packet_buffer [APPLANIX_MAXMSGSIZE] |
struct sockaddr_in | serveraddr |
const char * | serverhost |
struct hostent * | serverhostp |
int | sockfd |
Definition at line 142 of file applanix.h.
DevApplanix::DevApplanix | ( | void | ) | [inline] |
Definition at line 146 of file applanix.h.
virtual DevApplanix::~DevApplanix | ( | ) | [inline, virtual] |
Definition at line 152 of file applanix.h.
int DevApplanix::connect_socket | ( | void | ) | [virtual] |
Reimplemented in DevApplanixTest, and DevApplanixPCAP.
Definition at line 84 of file applanix.cc.
int DevApplanix::get_packet | ( | applanix_data_t * | adata | ) | [virtual] |
Reimplemented in DevApplanixTest.
Definition at line 181 of file applanix.cc.
int DevApplanix::read_packet | ( | ros::Time * | time | ) | [protected, virtual] |
Reimplemented in DevApplanixPCAP.
Definition at line 140 of file applanix.cc.
void DevApplanix::unpack_grp1 | ( | applanix_data_t * | adata, |
GRP1_MSG * | msg | ||
) | [protected, virtual] |
Definition at line 26 of file applanix.cc.
void DevApplanix::unpack_grp4 | ( | applanix_data_t * | adata, |
GRP4_MSG * | msg | ||
) | [protected, virtual] |
Definition at line 66 of file applanix.cc.
size_t DevApplanix::buffer_length [protected] |
Definition at line 167 of file applanix.h.
bool DevApplanix::have_DGPS [protected] |
Definition at line 158 of file applanix.h.
char DevApplanix::packet_buffer[APPLANIX_MAXMSGSIZE] [protected] |
Definition at line 166 of file applanix.h.
struct sockaddr_in DevApplanix::serveraddr [protected] |
Definition at line 162 of file applanix.h.
const char* DevApplanix::serverhost [protected] |
Definition at line 163 of file applanix.h.
struct hostent* DevApplanix::serverhostp [protected] |
Definition at line 164 of file applanix.h.
int DevApplanix::sockfd [protected] |
Definition at line 161 of file applanix.h.