Public Member Functions | |
RgbdAssembler () | |
~RgbdAssembler () | |
Private Types | |
typedef geometry_msgs::Point32 | Point |
Private Member Functions | |
bool | assembleRgbd () |
bool | assembleSensorData (ros::Duration time_out) |
void | extractRgbVals (sensor_msgs::PointCloud2 &point_cloud, const sensor_msgs::Image &wide_img, const sensor_msgs::Image &narrow_img) |
void | getPixel (const sensor_msgs::PointCloud2 &point_cloud, int i, Point &p) |
void | getPointCloudFromIm (sensor_msgs::PointCloud2 &point_cloud, const stereo_msgs::DisparityImage &disparity_image, const sensor_msgs::CameraInfo &narrow_cam_info) |
void | projectPointCloud (sensor_msgs::PointCloud2 &point_cloud, const sensor_msgs::CameraInfo &cam_info) |
bool | rgbdServiceCallback (RgbdAssembly::Request &request, RgbdAssembly::Response &response) |
Callback for service calls. | |
Private Attributes | |
stereo_msgs::DisparityImage | disparity_image_ |
tf::TransformListener | listener_ |
sensor_msgs::CameraInfo | narrow_cam_info_ |
sensor_msgs::Image | narrow_image_ |
sensor_msgs::PointCloud2 | point_cloud_ |
ros::NodeHandle | priv_nh_ |
Node handle in the private namespace. | |
ros::ServiceServer | rgbd_srv_ |
ros::NodeHandle | root_nh_ |
The node handle. | |
sensor_msgs::CameraInfo | wide_cam_info_ |
sensor_msgs::Image | wide_image_ |
Definition at line 45 of file rgbd_assembler_node.cpp.
typedef geometry_msgs::Point32 rgbd_assembler::RgbdAssembler::Point [private] |
Definition at line 45 of file rgbd_assembler_node.cpp.
rgbd_assembler::RgbdAssembler::RgbdAssembler | ( | ) | [inline] |
Definition at line 97 of file rgbd_assembler_node.cpp.
rgbd_assembler::RgbdAssembler::~RgbdAssembler | ( | ) | [inline] |
Definition at line 107 of file rgbd_assembler_node.cpp.
bool rgbd_assembler::RgbdAssembler::assembleRgbd | ( | ) | [private] |
Definition at line 185 of file rgbd_assembler_node.cpp.
bool rgbd_assembler::RgbdAssembler::assembleSensorData | ( | ros::Duration | time_out | ) | [private] |
Definition at line 140 of file rgbd_assembler_node.cpp.
void rgbd_assembler::RgbdAssembler::extractRgbVals | ( | sensor_msgs::PointCloud2 & | point_cloud, | |
const sensor_msgs::Image & | wide_img, | |||
const sensor_msgs::Image & | narrow_img | |||
) | [private] |
Definition at line 336 of file rgbd_assembler_node.cpp.
void rgbd_assembler::RgbdAssembler::getPixel | ( | const sensor_msgs::PointCloud2 & | point_cloud, | |
int | i, | |||
Point & | p | |||
) | [private] |
Definition at line 324 of file rgbd_assembler_node.cpp.
void rgbd_assembler::RgbdAssembler::getPointCloudFromIm | ( | sensor_msgs::PointCloud2 & | point_cloud, | |
const stereo_msgs::DisparityImage & | disparity_image, | |||
const sensor_msgs::CameraInfo & | narrow_cam_info | |||
) | [private] |
Definition at line 233 of file rgbd_assembler_node.cpp.
void rgbd_assembler::RgbdAssembler::projectPointCloud | ( | sensor_msgs::PointCloud2 & | point_cloud, | |
const sensor_msgs::CameraInfo & | cam_info | |||
) | [private] |
Definition at line 287 of file rgbd_assembler_node.cpp.
bool rgbd_assembler::RgbdAssembler::rgbdServiceCallback | ( | RgbdAssembly::Request & | request, | |
RgbdAssembly::Response & | response | |||
) | [private] |
Callback for service calls.
Definition at line 114 of file rgbd_assembler_node.cpp.
stereo_msgs::DisparityImage rgbd_assembler::RgbdAssembler::disparity_image_ [private] |
Definition at line 90 of file rgbd_assembler_node.cpp.
tf::TransformListener rgbd_assembler::RgbdAssembler::listener_ [private] |
Definition at line 55 of file rgbd_assembler_node.cpp.
sensor_msgs::CameraInfo rgbd_assembler::RgbdAssembler::narrow_cam_info_ [private] |
Definition at line 91 of file rgbd_assembler_node.cpp.
sensor_msgs::Image rgbd_assembler::RgbdAssembler::narrow_image_ [private] |
Definition at line 88 of file rgbd_assembler_node.cpp.
sensor_msgs::PointCloud2 rgbd_assembler::RgbdAssembler::point_cloud_ [private] |
Definition at line 93 of file rgbd_assembler_node.cpp.
ros::NodeHandle rgbd_assembler::RgbdAssembler::priv_nh_ [private] |
Node handle in the private namespace.
Definition at line 51 of file rgbd_assembler_node.cpp.
ros::ServiceServer rgbd_assembler::RgbdAssembler::rgbd_srv_ [private] |
Definition at line 53 of file rgbd_assembler_node.cpp.
ros::NodeHandle rgbd_assembler::RgbdAssembler::root_nh_ [private] |
The node handle.
Definition at line 49 of file rgbd_assembler_node.cpp.
sensor_msgs::CameraInfo rgbd_assembler::RgbdAssembler::wide_cam_info_ [private] |
Definition at line 92 of file rgbd_assembler_node.cpp.
sensor_msgs::Image rgbd_assembler::RgbdAssembler::wide_image_ [private] |
Definition at line 89 of file rgbd_assembler_node.cpp.