62 #ifndef __RSLIDAR_INPUT_H_ 63 #define __RSLIDAR_INPUT_H_ 68 #include <netinet/in.h> 70 #include <rslidar_msgs/rslidarPacket.h> 73 #include <sys/socket.h> 74 #include <arpa/inet.h> 104 virtual int getPacket(rslidar_msgs::rslidarPacket* pkt,
const double time_offset) = 0;
120 virtual int getPacket(rslidar_msgs::rslidarPacket* pkt,
const double time_offset);
139 std::string
filename =
"",
bool read_once =
false,
bool read_fast =
false,
double repeat_delay = 0.0);
143 virtual int getPacket(rslidar_msgs::rslidarPacket* pkt,
const double time_offset);
150 char errbuf_[PCAP_ERRBUF_SIZE];
158 #endif // __RSLIDAR_INPUT_H
static uint16_t MSOP_DATA_PORT_NUMBER
static uint16_t DIFOP_DATA_PORT_NUMBER