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 34 of file point_cloud_xyzrgb.cpp.
typedef pcl::PointCloud<pcl::PointXYZRGB> depth_image_proc::PointCloudXyzrgbNodelet::PointCloud [private] |
Definition at line 48 of file point_cloud_xyzrgb.cpp.
typedef message_filters::Synchronizer<SyncPolicy> depth_image_proc::PointCloudXyzrgbNodelet::Synchronizer [private] |
Definition at line 43 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 42 of file point_cloud_xyzrgb.cpp.
void depth_image_proc::PointCloudXyzrgbNodelet::connectCb | ( | ) | [private] |
Definition at line 93 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 221 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 111 of file point_cloud_xyzrgb.cpp.
void depth_image_proc::PointCloudXyzrgbNodelet::onInit | ( | ) | [private, virtual] |
Implements nodelet::Nodelet.
Definition at line 68 of file point_cloud_xyzrgb.cpp.
boost::mutex depth_image_proc::PointCloudXyzrgbNodelet::connect_mutex_ [private] |
Definition at line 47 of file point_cloud_xyzrgb.cpp.
boost::shared_ptr<image_transport::ImageTransport> depth_image_proc::PointCloudXyzrgbNodelet::depth_it_ [private] |
Definition at line 37 of file point_cloud_xyzrgb.cpp.
Definition at line 51 of file point_cloud_xyzrgb.cpp.
Definition at line 49 of file point_cloud_xyzrgb.cpp.
boost::shared_ptr<image_transport::ImageTransport> depth_image_proc::PointCloudXyzrgbNodelet::rgb_it_ [private] |
Definition at line 37 of file point_cloud_xyzrgb.cpp.
Definition at line 36 of file point_cloud_xyzrgb.cpp.
Definition at line 40 of file point_cloud_xyzrgb.cpp.
message_filters::Subscriber<sensor_msgs::CameraInfo> depth_image_proc::PointCloudXyzrgbNodelet::sub_info_ [private] |
Definition at line 41 of file point_cloud_xyzrgb.cpp.
Definition at line 40 of file point_cloud_xyzrgb.cpp.
boost::shared_ptr<Synchronizer> depth_image_proc::PointCloudXyzrgbNodelet::sync_ [private] |
Definition at line 44 of file point_cloud_xyzrgb.cpp.