lidar_imager_node.hpp
Go to the documentation of this file.
1 
3 
4 // Original Author of FLOAM: Wang Han
5 // Email wh200720041@gmail.com
6 // Homepage https://wanghan.pro
7 #ifndef FLOAM__LIDAR_IMAGER_NODE_HPP_
8 #define FLOAM__LIDAR_IMAGER_NODE_HPP_
9 
10 #include <ros/ros.h>
11 #include <nodelet/nodelet.h>
12 #include <sensor_msgs/PointCloud2.h>
13 
15 #include <pcl/point_cloud.h>
16 #include <pcl/point_types.h>
17 
18 #include "floam/lidar.hpp"
19 #include "floam/lidar_utils.hpp"
20 
21 
22 namespace floam
23 {
24 namespace lidar
25 {
26 
27 
29 {
30 public:
33 
34  void onInit();
35 
36  void handlePoints(const sensor_msgs::PointCloud2ConstPtr &lidarCloudMsg);
37 
39 
40 private:
42 
44 
48 
49  std::queue<sensor_msgs::PointCloud2ConstPtr> m_points;
50 
51 };
52 
53 } // namespace lidar
54 } // namespace floam
55 
56 #endif // FLOAM__LIDAR_IMAGER_NODE_HPP_
Lidar< floam::lidar::Imager > m_lidar
std::queue< sensor_msgs::PointCloud2ConstPtr > m_points
void handlePoints(const sensor_msgs::PointCloud2ConstPtr &lidarCloudMsg)
Major rewrite Author: Evan Flynn.
Definition: lidar.hpp:15


floam
Author(s): Han Wang
autogenerated on Mon Feb 28 2022 22:25:11