Class PCDWriter

Inheritance Relationships

Base Type

  • public PCLNodelet

Class Documentation

class PCDWriter : public PCLNodelet

Point Cloud Data (PCD) file format writer.

Author

Radu Bogdan Rusu

Public Types

typedef sensor_msgs::PointCloud2 PointCloud2
typedef PointCloud2::Ptr PointCloud2Ptr
typedef PointCloud2::ConstPtr PointCloud2ConstPtr

Public Functions

inline PCDWriter()
virtual void onInit()
void input_callback(const PointCloud2ConstPtr &cloud)

Public Members

ros::Subscriber sub_input_

The input PointCloud subscriber.

Protected Attributes

std::string file_name_

The name of the file that contains the PointCloud data.

bool binary_mode_

Set to true if the output files should be saved in binary mode (true).