Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
lslidar_n301_driver::LslidarN301Driver Class Reference

#include <lslidar_n301_driver.h>

Public Types

typedef boost::shared_ptr< const LslidarN301DriverLslidarN301DriverConstPtr
 
typedef boost::shared_ptr< LslidarN301DriverLslidarN301DriverPtr
 

Public Member Functions

bool initialize ()
 
 LslidarN301Driver (ros::NodeHandle &n, ros::NodeHandle &pn)
 
bool polling ()
 
 ~LslidarN301Driver ()
 

Private Member Functions

bool createRosIO ()
 
int getPacket (lslidar_n301_msgs::LslidarN301PacketPtr &msg)
 
bool loadParameters ()
 
bool openUDPPort ()
 

Private Attributes

in_addr device_ip
 
std::string device_ip_string
 
double diag_max_freq
 
double diag_min_freq
 
boost::shared_ptr< diagnostic_updater::TopicDiagnosticdiag_topic
 
diagnostic_updater::Updater diagnostics
 
std::string frame_id
 
ros::NodeHandle nh
 
ros::Publisher packet_pub
 
ros::NodeHandle pnh
 
int socket_id
 
int UDP_PORT_NUMBER
 

Detailed Description

Definition at line 39 of file lslidar_n301_driver.h.

Member Typedef Documentation

Definition at line 49 of file lslidar_n301_driver.h.

Definition at line 48 of file lslidar_n301_driver.h.

Constructor & Destructor Documentation

lslidar_n301_driver::LslidarN301Driver::LslidarN301Driver ( ros::NodeHandle n,
ros::NodeHandle pn 
)

Definition at line 35 of file lslidar_n301_driver.cc.

lslidar_n301_driver::LslidarN301Driver::~LslidarN301Driver ( )

Definition at line 43 of file lslidar_n301_driver.cc.

Member Function Documentation

bool lslidar_n301_driver::LslidarN301Driver::createRosIO ( )
private

Definition at line 59 of file lslidar_n301_driver.cc.

int lslidar_n301_driver::LslidarN301Driver::getPacket ( lslidar_n301_msgs::LslidarN301PacketPtr &  msg)
private

Definition at line 131 of file lslidar_n301_driver.cc.

bool lslidar_n301_driver::LslidarN301Driver::initialize ( )

Definition at line 112 of file lslidar_n301_driver.cc.

bool lslidar_n301_driver::LslidarN301Driver::loadParameters ( )
private

Definition at line 48 of file lslidar_n301_driver.cc.

bool lslidar_n301_driver::LslidarN301Driver::openUDPPort ( )
private

Definition at line 85 of file lslidar_n301_driver.cc.

bool lslidar_n301_driver::LslidarN301Driver::polling ( )

Definition at line 227 of file lslidar_n301_driver.cc.

Member Data Documentation

in_addr lslidar_n301_driver::LslidarN301Driver::device_ip
private

Definition at line 60 of file lslidar_n301_driver.h.

std::string lslidar_n301_driver::LslidarN301Driver::device_ip_string
private

Definition at line 59 of file lslidar_n301_driver.h.

double lslidar_n301_driver::LslidarN301Driver::diag_max_freq
private

Definition at line 75 of file lslidar_n301_driver.h.

double lslidar_n301_driver::LslidarN301Driver::diag_min_freq
private

Definition at line 74 of file lslidar_n301_driver.h.

boost::shared_ptr<diagnostic_updater::TopicDiagnostic> lslidar_n301_driver::LslidarN301Driver::diag_topic
private

Definition at line 73 of file lslidar_n301_driver.h.

diagnostic_updater::Updater lslidar_n301_driver::LslidarN301Driver::diagnostics
private

Definition at line 72 of file lslidar_n301_driver.h.

std::string lslidar_n301_driver::LslidarN301Driver::frame_id
private

Definition at line 68 of file lslidar_n301_driver.h.

ros::NodeHandle lslidar_n301_driver::LslidarN301Driver::nh
private

Definition at line 65 of file lslidar_n301_driver.h.

ros::Publisher lslidar_n301_driver::LslidarN301Driver::packet_pub
private

Definition at line 69 of file lslidar_n301_driver.h.

ros::NodeHandle lslidar_n301_driver::LslidarN301Driver::pnh
private

Definition at line 66 of file lslidar_n301_driver.h.

int lslidar_n301_driver::LslidarN301Driver::socket_id
private

Definition at line 62 of file lslidar_n301_driver.h.

int lslidar_n301_driver::LslidarN301Driver::UDP_PORT_NUMBER
private

Definition at line 61 of file lslidar_n301_driver.h.


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


lslidar_n301_driver
Author(s): Nick Shu
autogenerated on Thu Sep 26 2019 03:58:32