38 #ifndef PCL_ROS_IO_PCD_IO_H_ 39 #define PCL_ROS_IO_PCD_IO_H_ 41 #include <pcl/io/pcd_io.h> 95 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
112 void input_callback (
const PointCloud2ConstPtr &cloud);
128 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
132 #endif //#ifndef PCL_ROS_IO_PCD_IO_H_ PointCloud2Ptr output_
The output point cloud dataset containing the points loaded from the file.
pcl_ros::PCDWriter PCDWriter
std::string file_name_
The name of the file that contains the PointCloud data.
double getPublishRate()
Get the publishing rate in seconds.
Point Cloud Data (PCD) file format reader.
bool binary_mode_
Set to true if the output files should be saved in binary mode (true).
void setPublishRate(double publish_rate)
Set the publishing rate in seconds.
double publish_rate_
The publishing interval in seconds. Set to 0 to only publish once (default).
PointCloud2::Ptr PointCloud2Ptr
sensor_msgs::PointCloud2 PointCloud2
std::string getTFframe()
Get the TF frame the PointCloud is published in.
PointCloud2::ConstPtr PointCloud2ConstPtr
PointCloud2::Ptr PointCloud2Ptr
pcl_ros::PCDReader PCDReader
PCLNodelet represents the base PCL Nodelet class. All PCL nodelets should inherit from this class...
std::string tf_frame_
The TF frame the data should be published in ("/base_link" by default).
virtual void onInit()
Nodelet initialization routine. Reads in global parameters used by all nodelets.
ros::Subscriber sub_input_
The input PointCloud subscriber.
sensor_msgs::PointCloud2 PointCloud2
std::string file_name_
The name of the file that contains the PointCloud data.
Point Cloud Data (PCD) file format writer.
pcl::PCDReader impl_
The PCL implementation used.
void setTFframe(std::string tf_frame)
Set the TF frame the PointCloud will be published in.
PointCloud2::ConstPtr PointCloud2ConstPtr
pcl::PCDWriter impl_
The PCL implementation used.
PCDReader()
Empty constructor.