8 #ifndef POINT_CLOUD_XYZ_H 9 #define POINT_CLOUD_XYZ_H 11 #include <nodelet/nodelet.h> 12 #include <image_transport/image_transport.h> 13 #include <sensor_msgs/Image.h> 14 #include <boost/thread.hpp> 16 #include <pcl_ros/point_cloud.h> 18 #include <sensor_msgs/PointCloud2.h> 19 #include <image_geometry/pinhole_camera_model.h> 59 boost::shared_ptr<image_transport::ImageTransport>
it_;
80 void depthCb(
const sensor_msgs::ImageConstPtr& depth_msg,
81 const sensor_msgs::CameraInfoConstPtr& info_msg);
85 #endif // POINT_CLOUD_XYZ_H PointCloudMsg::Ptr current_cloud_
image_geometry::PinholeCameraModel camera_model_
boost::mutex connect_mutex_
Class of the PointCloudXYZNodelet nodelet, which converts a depth image into a point cloud containing...
virtual void onInit()
This function is called by the initialization of the nodelet and acts as a constructor.
image_transport::CameraSubscriber sub_depth_
void depthCb(const sensor_msgs::ImageConstPtr &depth_msg, const sensor_msgs::CameraInfoConstPtr &info_msg)
Callback function that is called whenever a new depth image is received.
DepthConvPtr pcl_conversion_
std::string cl_file_path_
ros::Publisher pub_cloud_
void connectCb()
Callback function that is called whenever anyone is subscribed to the output point cloud...
boost::shared_ptr< image_transport::ImageTransport > it_
sensor_msgs::PointCloud2 PointCloudMsg
Shortcut for a PointCloud2 ROS message.
std::shared_ptr< DepthImageToPCL > DepthConvPtr
Shortcut for a Pointer to a DepthImageToPCL Object.
This namespace is used by the nodelets inside our package pses_kinect_utilities.