Private Types | |
typedef pcl::PointCloud < pcl::PointXYZRGB > | PointCloud |
typedef message_filters::Synchronizer < SyncPolicy > | Synchronizer |
typedef ApproximateTime < sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo > | SyncPolicy |
Private Member Functions | |
void | connectCb () |
template<typename T > | |
void | convert (const sensor_msgs::ImageConstPtr &depth_msg, const sensor_msgs::ImageConstPtr &rgb_msg, const PointCloud::Ptr &cloud_msg, int red_offset, int green_offset, int blue_offset, int color_step) |
void | imageCb (const sensor_msgs::ImageConstPtr &depth_msg, const sensor_msgs::ImageConstPtr &rgb_msg, const sensor_msgs::CameraInfoConstPtr &info_msg) |
virtual void | onInit () |
Private Attributes | |
boost::mutex | connect_mutex_ |
boost::shared_ptr < image_transport::ImageTransport > | depth_it_ |
image_geometry::PinholeCameraModel | model_ |
ros::Publisher | pub_point_cloud_ |
boost::shared_ptr < image_transport::ImageTransport > | rgb_it_ |
ros::NodeHandlePtr | rgb_nh_ |
image_transport::SubscriberFilter | sub_depth_ |
message_filters::Subscriber < sensor_msgs::CameraInfo > | sub_info_ |
image_transport::SubscriberFilter | sub_rgb_ |
boost::shared_ptr< Synchronizer > | sync_ |
Definition at line 72 of file point_cloud_xyzrgb.cpp.
typedef pcl::PointCloud<pcl::PointXYZRGB> depth_image_proc::PointCloudXyzrgbNodelet::PointCloud [private] |
Definition at line 86 of file point_cloud_xyzrgb.cpp.
typedef message_filters::Synchronizer<SyncPolicy> depth_image_proc::PointCloudXyzrgbNodelet::Synchronizer [private] |
Definition at line 81 of file point_cloud_xyzrgb.cpp.
typedef ApproximateTime<sensor_msgs::Image, sensor_msgs::Image, sensor_msgs::CameraInfo> depth_image_proc::PointCloudXyzrgbNodelet::SyncPolicy [private] |
Definition at line 80 of file point_cloud_xyzrgb.cpp.
void depth_image_proc::PointCloudXyzrgbNodelet::connectCb | ( | ) | [private] |
Definition at line 131 of file point_cloud_xyzrgb.cpp.
void depth_image_proc::PointCloudXyzrgbNodelet::convert | ( | const sensor_msgs::ImageConstPtr & | depth_msg, |
const sensor_msgs::ImageConstPtr & | rgb_msg, | ||
const PointCloud::Ptr & | cloud_msg, | ||
int | red_offset, | ||
int | green_offset, | ||
int | blue_offset, | ||
int | color_step | ||
) | [private] |
Definition at line 281 of file point_cloud_xyzrgb.cpp.
void depth_image_proc::PointCloudXyzrgbNodelet::imageCb | ( | const sensor_msgs::ImageConstPtr & | depth_msg, |
const sensor_msgs::ImageConstPtr & | rgb_msg, | ||
const sensor_msgs::CameraInfoConstPtr & | info_msg | ||
) | [private] |
Definition at line 157 of file point_cloud_xyzrgb.cpp.
void depth_image_proc::PointCloudXyzrgbNodelet::onInit | ( | ) | [private, virtual] |
Implements nodelet::Nodelet.
Definition at line 106 of file point_cloud_xyzrgb.cpp.
boost::mutex depth_image_proc::PointCloudXyzrgbNodelet::connect_mutex_ [private] |
Definition at line 85 of file point_cloud_xyzrgb.cpp.
boost::shared_ptr<image_transport::ImageTransport> depth_image_proc::PointCloudXyzrgbNodelet::depth_it_ [private] |
Definition at line 75 of file point_cloud_xyzrgb.cpp.
Definition at line 89 of file point_cloud_xyzrgb.cpp.
Definition at line 87 of file point_cloud_xyzrgb.cpp.
boost::shared_ptr<image_transport::ImageTransport> depth_image_proc::PointCloudXyzrgbNodelet::rgb_it_ [private] |
Definition at line 75 of file point_cloud_xyzrgb.cpp.
Definition at line 74 of file point_cloud_xyzrgb.cpp.
Definition at line 78 of file point_cloud_xyzrgb.cpp.
message_filters::Subscriber<sensor_msgs::CameraInfo> depth_image_proc::PointCloudXyzrgbNodelet::sub_info_ [private] |
Definition at line 79 of file point_cloud_xyzrgb.cpp.
Definition at line 78 of file point_cloud_xyzrgb.cpp.
boost::shared_ptr<Synchronizer> depth_image_proc::PointCloudXyzrgbNodelet::sync_ [private] |
Definition at line 82 of file point_cloud_xyzrgb.cpp.