Public Member Functions | |
void | cloud_cb_points (const sensor_msgs::PointCloudConstPtr &msg) |
Old format callback. | |
void | cloud_cb_points2 (const sensor_msgs::PointCloud2ConstPtr &msg) |
New format callback. | |
void | connectCb () |
void | disconnectCb () |
std::string | getFieldsList (const sensor_msgs::PointCloud2 &cloud) |
Get the available point cloud fields as a space separated string. | |
std::string | getFieldsList (const sensor_msgs::PointCloud &points) |
Get the available point cloud channels as a space separated string. | |
PointCloudConverter () | |
Private Attributes | |
boost::mutex | m_mutex_ |
ros::NodeHandle | nh_ |
int | num_subs |
string | points2_in_ |
string | points2_out_ |
string | points_in_ |
string | points_out_ |
ros::Publisher | pub_points2_ |
ros::Publisher | pub_points_ |
int | queue_size_ |
ros::Subscriber | sub_points2_ |
ros::Subscriber | sub_points_ |
Definition at line 54 of file point_cloud_converter.cpp.
PointCloudConverter::PointCloudConverter | ( | ) | [inline] |
Definition at line 69 of file point_cloud_converter.cpp.
void PointCloudConverter::cloud_cb_points | ( | const sensor_msgs::PointCloudConstPtr & | msg | ) | [inline] |
Old format callback.
Definition at line 155 of file point_cloud_converter.cpp.
void PointCloudConverter::cloud_cb_points2 | ( | const sensor_msgs::PointCloud2ConstPtr & | msg | ) | [inline] |
New format callback.
Definition at line 131 of file point_cloud_converter.cpp.
void PointCloudConverter::connectCb | ( | ) | [inline] |
Definition at line 109 of file point_cloud_converter.cpp.
void PointCloudConverter::disconnectCb | ( | ) | [inline] |
Definition at line 118 of file point_cloud_converter.cpp.
std::string PointCloudConverter::getFieldsList | ( | const sensor_msgs::PointCloud2 & | cloud | ) | [inline] |
Get the available point cloud fields as a space separated string.
points | a pointer to the PointCloud message |
Definition at line 87 of file point_cloud_converter.cpp.
std::string PointCloudConverter::getFieldsList | ( | const sensor_msgs::PointCloud & | points | ) | [inline] |
Get the available point cloud channels as a space separated string.
points | a pointer to the PointCloud message |
Definition at line 101 of file point_cloud_converter.cpp.
boost::mutex PointCloudConverter::m_mutex_ [private] |
Definition at line 57 of file point_cloud_converter.cpp.
ros::NodeHandle PointCloudConverter::nh_ [private] |
Definition at line 59 of file point_cloud_converter.cpp.
int PointCloudConverter::num_subs [private] |
Definition at line 65 of file point_cloud_converter.cpp.
string PointCloudConverter::points2_in_ [private] |
Definition at line 64 of file point_cloud_converter.cpp.
string PointCloudConverter::points2_out_ [private] |
Definition at line 64 of file point_cloud_converter.cpp.
string PointCloudConverter::points_in_ [private] |
Definition at line 64 of file point_cloud_converter.cpp.
string PointCloudConverter::points_out_ [private] |
Definition at line 64 of file point_cloud_converter.cpp.
Definition at line 61 of file point_cloud_converter.cpp.
Definition at line 61 of file point_cloud_converter.cpp.
int PointCloudConverter::queue_size_ [private] |
Definition at line 63 of file point_cloud_converter.cpp.
Definition at line 60 of file point_cloud_converter.cpp.
Definition at line 60 of file point_cloud_converter.cpp.