5 #pragma GCC diagnostic push 6 #pragma GCC diagnostic ignored "-Wfloat-equal" 7 #pragma GCC diagnostic ignored "-Wdouble-promotion" 8 #include <laser_geometry/laser_geometry.h> 9 #include <tf/transform_listener.h> 10 #pragma GCC diagnostic pop 30 ros::NodeHandle m_node_handle;
31 ros::Subscriber m_laserscan_subscriber;
32 ros::Publisher m_pointcloud_publisher;
33 laser_geometry::LaserProjection m_projector;
34 tf::TransformListener m_listener;
36 void scanCallback(
const sensor_msgs::LaserScan::ConstPtr& laserscan);