Public Member Functions | Protected Attributes | List of all members
rslidar_driver::Input Class Referenceabstract

The Input class,. More...

#include <input.h>

Inheritance diagram for rslidar_driver::Input:
Inheritance graph
[legend]

Public Member Functions

virtual int getPacket (rslidar_msgs::rslidarPacket *pkt, const double time_offset)=0
 
 Input (ros::NodeHandle private_nh, uint16_t port)
 constructor More...
 
virtual ~Input ()
 

Protected Attributes

std::string devip_str_
 
uint16_t port_
 
ros::NodeHandle private_nh_
 

Detailed Description

The Input class,.

从在线的网络数据或离线的网络抓包数据(pcap文件)中提取出lidar的原始数据,即packet数据包

Parameters
private_nh一个NodeHandled,用于通过节点传递参数
port
Returns
0 if successful, -1 if end of file >0 if incomplete packet (is this possible?)

Definition at line 95 of file input.h.

Constructor & Destructor Documentation

rslidar_driver::Input::Input ( ros::NodeHandle  private_nh,
uint16_t  port 
)

constructor

Parameters
private_nhROS private handle for calling node.
portUDP port number.

Definition at line 76 of file input.cc.

virtual rslidar_driver::Input::~Input ( )
inlinevirtual

Definition at line 100 of file input.h.

Member Function Documentation

virtual int rslidar_driver::Input::getPacket ( rslidar_msgs::rslidarPacket *  pkt,
const double  time_offset 
)
pure virtual

Member Data Documentation

std::string rslidar_driver::Input::devip_str_
protected

Definition at line 109 of file input.h.

uint16_t rslidar_driver::Input::port_
protected

Definition at line 108 of file input.h.

ros::NodeHandle rslidar_driver::Input::private_nh_
protected

Definition at line 107 of file input.h.


The documentation for this class was generated from the following files:


rslidar_driver
Author(s): Tony Zhang , Tony Zhang
autogenerated on Mon Jun 10 2019 14:41:07