#include <applanix.h>
Public Member Functions | |
virtual int | connect_socket (void) |
DevApplanixPCAP (std::string filename="", bool read_once=false, bool read_fast=false, double repeat_delay=0.0) | |
virtual int | read_packet (ros::Time *time) |
Private Attributes | |
bool | empty_ |
char | errbuf_ [PCAP_ERRBUF_SIZE] |
std::string | filename_ |
FILE * | fp_ |
bool | got_data_ |
pcap_t * | pcap_ |
bool | read_fast_ |
bool | read_once_ |
double | repeat_delay_ |
Applanix input from PCAP dump file.
Dump files can be grabbed by libpcap, Velodyne's DSR software, ethereal, wireshark, or tcpdump.
Definition at line 181 of file applanix.h.
DevApplanixPCAP::DevApplanixPCAP | ( | std::string | filename = "" , |
bool | read_once = false , |
||
bool | read_fast = false , |
||
double | repeat_delay = 0.0 |
||
) | [inline] |
Definition at line 185 of file applanix.h.
int DevApplanixPCAP::connect_socket | ( | void | ) | [virtual] |
Reimplemented from DevApplanix.
Definition at line 229 of file applanix.cc.
int DevApplanixPCAP::read_packet | ( | ros::Time * | time | ) | [virtual] |
get packet from PCAP dump
Reimplemented from DevApplanix.
Definition at line 249 of file applanix.cc.
bool DevApplanixPCAP::empty_ [private] |
Definition at line 216 of file applanix.h.
char DevApplanixPCAP::errbuf_[PCAP_ERRBUF_SIZE] [private] |
Definition at line 214 of file applanix.h.
std::string DevApplanixPCAP::filename_ [private] |
Definition at line 211 of file applanix.h.
FILE* DevApplanixPCAP::fp_ [private] |
Definition at line 212 of file applanix.h.
bool DevApplanixPCAP::got_data_ [private] |
Definition at line 215 of file applanix.h.
pcap_t* DevApplanixPCAP::pcap_ [private] |
Definition at line 213 of file applanix.h.
bool DevApplanixPCAP::read_fast_ [private] |
Definition at line 218 of file applanix.h.
bool DevApplanixPCAP::read_once_ [private] |
Definition at line 217 of file applanix.h.
double DevApplanixPCAP::repeat_delay_ [private] |
Definition at line 219 of file applanix.h.