lslidar_c16_driver_nodelet.h
Go to the documentation of this file.
1 /*
2  * This file is part of lslidar_n301 driver.
3  *
4  * The driver is free software: you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation, either version 3 of the License, or
7  * (at your option) any later version.
8  *
9  * The driver is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with the driver. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 #include <string>
19 #include <boost/thread.hpp>
20 
21 #include <ros/ros.h>
23 #include <nodelet/nodelet.h>
24 
26 
27 namespace lslidar_c16_driver
28 {
29 
31 {
32 public:
33 
36 
37 private:
38 
39  virtual void onInit(void);
40  virtual void devicePoll(void);
41 
42  volatile bool running;
44 
46 };
47 
48 } // namespace lslidar_driver
virtual void devicePoll(void)
Device poll thread main loop.
volatile bool running
device thread is running
boost::shared_ptr< boost::thread > device_thread
LslidarC16DriverPtr lslidar_c16_driver
driver implementation class


lslidar_c16_driver
Author(s): Yutong
autogenerated on Thu Aug 22 2019 03:51:43