A nodelet for coloring point clouds from calibrated cameras. More...
Public Member Functions | |
void | cameraCallback (const sensor_msgs::ImageConstPtr &imageMsg, const sensor_msgs::CameraInfoConstPtr &cameraInfoMsg) |
void | onInit () |
void | onInit () |
void | pointCloudCallback (const pcl::PointCloud< PointIn >::ConstPtr &pointCloudMsg) |
PointCloudColor () | |
PointCloudColor () | |
virtual | ~PointCloudColor () |
virtual | ~PointCloudColor () |
Private Member Functions | |
void | cameraCallback (const sensor_msgs::Image::ConstPtr &imageMsg, const sensor_msgs::CameraInfo::ConstPtr &cameraInfoMsg, const int iCam) |
void | pointCloudCallback (const sensor_msgs::PointCloud2::ConstPtr &cloudMsg) |
Private Attributes | |
map< string, sensor_msgs::CameraInfoConstPtr > | cameraInfos |
std::vector < sensor_msgs::CameraInfo::ConstPtr > | cameraInfos |
std::vector< cv::Mat > | cameraMasks |
vector < image_transport::CameraSubscriber > | cameraSubscribers |
std::vector < image_transport::CameraSubscriber > | cameraSubscribers |
float | defaultColor |
string | fixedFrame |
std::string | fixedFrame |
int | imageQueueSize |
map< string, cv_bridge::CvImageConstPtr > | images |
std::vector < cv_bridge::CvImage::ConstPtr > | images |
double | maxImageAge |
int | numCameras |
ros::Publisher | pointCloud2Pub |
ros::Subscriber | pointCloud2Sub |
ros::Publisher | pointCloudPub |
int | pointCloudQueueSize |
ros::Subscriber | pointCloudSub |
string | targetFrame |
tf::TransformListener | transformListener |
bool | unrectify |
bool | useFirstValid |
double | waitForTransform |
A nodelet for coloring point clouds from calibrated cameras.
Definition at line 99 of file point_cloud2_color.cpp.
Definition at line 124 of file point_cloud2_color.cpp.
point_cloud_color::PointCloudColor::~PointCloudColor | ( | ) | [virtual] |
Definition at line 135 of file point_cloud2_color.cpp.
virtual point_cloud_color::PointCloudColor::~PointCloudColor | ( | ) | [virtual] |
void point_cloud_color::PointCloudColor::cameraCallback | ( | const sensor_msgs::ImageConstPtr & | imageMsg, |
const sensor_msgs::CameraInfoConstPtr & | cameraInfoMsg | ||
) |
Definition at line 136 of file point_cloud_color.cpp.
void point_cloud_color::PointCloudColor::cameraCallback | ( | const sensor_msgs::Image::ConstPtr & | imageMsg, |
const sensor_msgs::CameraInfo::ConstPtr & | cameraInfoMsg, | ||
const int | iCam | ||
) | [private] |
Definition at line 204 of file point_cloud2_color.cpp.
Definition at line 138 of file point_cloud2_color.cpp.
void point_cloud_color::PointCloudColor::pointCloudCallback | ( | const pcl::PointCloud< PointIn >::ConstPtr & | pointCloudMsg | ) |
Definition at line 143 of file point_cloud_color.cpp.
void point_cloud_color::PointCloudColor::pointCloudCallback | ( | const sensor_msgs::PointCloud2::ConstPtr & | cloudMsg | ) | [private] |
Definition at line 211 of file point_cloud2_color.cpp.
map<string, sensor_msgs::CameraInfoConstPtr> point_cloud_color::PointCloudColor::cameraInfos [private] |
Definition at line 53 of file point_cloud_color.cpp.
std::vector<sensor_msgs::CameraInfo::ConstPtr> point_cloud_color::PointCloudColor::cameraInfos [private] |
Definition at line 110 of file point_cloud2_color.cpp.
std::vector<cv::Mat> point_cloud_color::PointCloudColor::cameraMasks [private] |
Definition at line 111 of file point_cloud2_color.cpp.
vector<image_transport::CameraSubscriber> point_cloud_color::PointCloudColor::cameraSubscribers [private] |
Definition at line 47 of file point_cloud_color.cpp.
std::vector<image_transport::CameraSubscriber> point_cloud_color::PointCloudColor::cameraSubscribers [private] |
Definition at line 106 of file point_cloud2_color.cpp.
float point_cloud_color::PointCloudColor::defaultColor [private] |
Definition at line 112 of file point_cloud2_color.cpp.
string point_cloud_color::PointCloudColor::fixedFrame [private] |
Definition at line 55 of file point_cloud_color.cpp.
std::string point_cloud_color::PointCloudColor::fixedFrame [private] |
Definition at line 113 of file point_cloud2_color.cpp.
int point_cloud_color::PointCloudColor::imageQueueSize [private] |
Definition at line 117 of file point_cloud2_color.cpp.
map<string, cv_bridge::CvImageConstPtr> point_cloud_color::PointCloudColor::images [private] |
Definition at line 52 of file point_cloud_color.cpp.
std::vector<cv_bridge::CvImage::ConstPtr> point_cloud_color::PointCloudColor::images [private] |
Definition at line 109 of file point_cloud2_color.cpp.
double point_cloud_color::PointCloudColor::maxImageAge [private] |
Definition at line 115 of file point_cloud2_color.cpp.
int point_cloud_color::PointCloudColor::numCameras [private] |
Definition at line 114 of file point_cloud2_color.cpp.
ros::Publisher point_cloud_color::PointCloudColor::pointCloud2Pub [private] |
Definition at line 51 of file point_cloud_color.cpp.
ros::Subscriber point_cloud_color::PointCloudColor::pointCloud2Sub [private] |
Definition at line 50 of file point_cloud_color.cpp.
ros::Publisher point_cloud_color::PointCloudColor::pointCloudPub [private] |
Definition at line 108 of file point_cloud2_color.cpp.
int point_cloud_color::PointCloudColor::pointCloudQueueSize [private] |
Definition at line 118 of file point_cloud2_color.cpp.
ros::Subscriber point_cloud_color::PointCloudColor::pointCloudSub [private] |
Definition at line 107 of file point_cloud2_color.cpp.
string point_cloud_color::PointCloudColor::targetFrame [private] |
Definition at line 54 of file point_cloud_color.cpp.
tf::TransformListener point_cloud_color::PointCloudColor::transformListener [private] |
Definition at line 105 of file point_cloud2_color.cpp.
bool point_cloud_color::PointCloudColor::unrectify [private] |
Definition at line 59 of file point_cloud_color.cpp.
bool point_cloud_color::PointCloudColor::useFirstValid [private] |
Definition at line 116 of file point_cloud2_color.cpp.
double point_cloud_color::PointCloudColor::waitForTransform [private] |
Definition at line 119 of file point_cloud2_color.cpp.