Public Member Functions | |
PcdPublisher (std::string pcd_files_dir) | |
Protected Member Functions | |
int | listPcdFiles (std::string dir, std::vector< std::string > &files) |
void | readAndPublish () |
Private Attributes | |
ros::NodeHandle | nh_ |
ros::NodeHandle | nh_private_ |
unsigned int | pcd_counter_ |
std::vector< std::string > | pcd_files_ |
std::string | pcd_files_dir_ |
ros::Publisher | point_cloud_pub_ |
ros::WallTimer | timer_ |
Definition at line 18 of file pcd_publisher.cpp.
PcdPublisher::PcdPublisher | ( | std::string | pcd_files_dir | ) | [inline] |
Class constructor
Definition at line 40 of file pcd_publisher.cpp.
int PcdPublisher::listPcdFiles | ( | std::string | dir, |
std::vector< std::string > & | files | ||
) | [inline, protected] |
List PCD files into directory
Definition at line 82 of file pcd_publisher.cpp.
void PcdPublisher::readAndPublish | ( | ) | [inline, protected] |
Read and publish every point cloud
Definition at line 117 of file pcd_publisher.cpp.
ros::NodeHandle PcdPublisher::nh_ [private] |
Definition at line 21 of file pcd_publisher.cpp.
ros::NodeHandle PcdPublisher::nh_private_ [private] |
Definition at line 22 of file pcd_publisher.cpp.
unsigned int PcdPublisher::pcd_counter_ [private] |
Definition at line 33 of file pcd_publisher.cpp.
std::vector<std::string> PcdPublisher::pcd_files_ [private] |
Definition at line 32 of file pcd_publisher.cpp.
std::string PcdPublisher::pcd_files_dir_ [private] |
Definition at line 31 of file pcd_publisher.cpp.
ros::Publisher PcdPublisher::point_cloud_pub_ [private] |
Definition at line 25 of file pcd_publisher.cpp.
ros::WallTimer PcdPublisher::timer_ [private] |
Definition at line 28 of file pcd_publisher.cpp.