Public Member Functions | Public Attributes | Protected Attributes | Private Attributes | List of all members
PointCloudToPCD Class Reference

Public Member Functions

void cloud_cb (const boost::shared_ptr< const pcl::PCLPointCloud2 > &cloud)
 
 PointCloudToPCD ()
 

Public Attributes

string cloud_topic_
 
ros::Subscriber sub_
 

Protected Attributes

ros::NodeHandle nh_
 

Private Attributes

bool binary_
 
bool compressed_
 
std::string filename_
 
std::string fixed_frame_
 
std::string prefix_
 
tf2_ros::Buffer tf_buffer_
 
tf2_ros::TransformListener tf_listener_
 

Detailed Description

Author
Radu Bogdan Rusu

pointcloud_to_pcd is a simple node that retrieves a ROS point cloud message and saves it to disk into a PCD (Point Cloud Data) file format.

Definition at line 59 of file pointcloud_to_pcd.cpp.

Constructor & Destructor Documentation

◆ PointCloudToPCD()

PointCloudToPCD::PointCloudToPCD ( )
inline

Definition at line 137 of file pointcloud_to_pcd.cpp.

Member Function Documentation

◆ cloud_cb()

void PointCloudToPCD::cloud_cb ( const boost::shared_ptr< const pcl::PCLPointCloud2 > &  cloud)
inline

Definition at line 81 of file pointcloud_to_pcd.cpp.

Member Data Documentation

◆ binary_

bool PointCloudToPCD::binary_
private

Definition at line 67 of file pointcloud_to_pcd.cpp.

◆ cloud_topic_

string PointCloudToPCD::cloud_topic_

Definition at line 74 of file pointcloud_to_pcd.cpp.

◆ compressed_

bool PointCloudToPCD::compressed_
private

Definition at line 68 of file pointcloud_to_pcd.cpp.

◆ filename_

std::string PointCloudToPCD::filename_
private

Definition at line 66 of file pointcloud_to_pcd.cpp.

◆ fixed_frame_

std::string PointCloudToPCD::fixed_frame_
private

Definition at line 69 of file pointcloud_to_pcd.cpp.

◆ nh_

ros::NodeHandle PointCloudToPCD::nh_
protected

Definition at line 62 of file pointcloud_to_pcd.cpp.

◆ prefix_

std::string PointCloudToPCD::prefix_
private

Definition at line 65 of file pointcloud_to_pcd.cpp.

◆ sub_

ros::Subscriber PointCloudToPCD::sub_

Definition at line 76 of file pointcloud_to_pcd.cpp.

◆ tf_buffer_

tf2_ros::Buffer PointCloudToPCD::tf_buffer_
private

Definition at line 70 of file pointcloud_to_pcd.cpp.

◆ tf_listener_

tf2_ros::TransformListener PointCloudToPCD::tf_listener_
private

Definition at line 71 of file pointcloud_to_pcd.cpp.


The documentation for this class was generated from the following file:


pcl_ros
Author(s): Open Perception, Julius Kammerl , William Woodall
autogenerated on Thu Feb 16 2023 03:08:03