rslidar input from PCAP dump file. More...
#include <input.h>
Public Member Functions | |
virtual int | getPacket (rslidar_msgs::rslidarPacket *pkt, const double time_offset) |
Get one rslidar packet. More... | |
InputPCAP (ros::NodeHandle private_nh, uint16_t port=MSOP_DATA_PORT_NUMBER, double packet_rate=0.0, std::string filename="", bool read_once=false, bool read_fast=false, double repeat_delay=0.0) | |
constructor More... | |
virtual | ~InputPCAP () |
Public Member Functions inherited from rslidar_driver::Input | |
Input (ros::NodeHandle private_nh, uint16_t port) | |
constructor More... | |
virtual | ~Input () |
Private Attributes | |
bool | empty_ |
char | errbuf_ [PCAP_ERRBUF_SIZE] |
std::string | filename_ |
ros::Rate | packet_rate_ |
pcap_t * | pcap_ |
bpf_program | pcap_packet_filter_ |
bool | read_fast_ |
bool | read_once_ |
double | repeat_delay_ |
Additional Inherited Members | |
Protected Attributes inherited from rslidar_driver::Input | |
std::string | devip_str_ |
uint16_t | port_ |
ros::NodeHandle | private_nh_ |
rslidar input from PCAP dump file.
Dump files can be grabbed by libpcap
rslidar_driver::InputPCAP::InputPCAP | ( | ros::NodeHandle | private_nh, |
uint16_t | port = MSOP_DATA_PORT_NUMBER , |
||
double | packet_rate = 0.0 , |
||
std::string | filename = "" , |
||
bool | read_once = false , |
||
bool | read_fast = false , |
||
double | repeat_delay = 0.0 |
||
) |
|
virtual |
|
virtual |
|
private |
|
private |