Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
jsk_pcl_ros_utils::PointCloudToPCD Class Reference

#include <pointcloud_to_pcd.h>

Inheritance diagram for jsk_pcl_ros_utils::PointCloudToPCD:
Inheritance graph
[legend]

Public Types

typedef PointCloudToPCDConfig Config
 
- Public Types inherited from pcl_ros::PCLNodelet
typedef pcl::IndicesConstPtr IndicesConstPtr
 
typedef pcl::IndicesPtr IndicesPtr
 
typedef pcl_msgs::ModelCoefficients ModelCoefficients
 
typedef ModelCoefficients::ConstPtr ModelCoefficientsConstPtr
 
typedef ModelCoefficients::Ptr ModelCoefficientsPtr
 
typedef pcl::PointCloud< pcl::PointXYZ > PointCloud
 
typedef sensor_msgs::PointCloud2 PointCloud2
 
typedef boost::shared_ptr< const PointCloudPointCloudConstPtr
 
typedef boost::shared_ptr< PointCloudPointCloudPtr
 
typedef pcl_msgs::PointIndices PointIndices
 
typedef PointIndices::ConstPtr PointIndicesConstPtr
 
typedef PointIndices::Ptr PointIndicesPtr
 

Public Member Functions

virtual ~PointCloudToPCD ()
 
- Public Member Functions inherited from pcl_ros::PCLNodelet
 PCLNodelet ()
 
- Public Member Functions inherited from nodelet_topic_tools::NodeletLazy
 NodeletLazy ()
 
- Public Member Functions inherited from nodelet::Nodelet
void init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL)
 
 Nodelet ()
 
virtual ~Nodelet ()
 

Protected Member Functions

virtual void configCallback (Config &config, uint32_t level)
 
virtual void onInit ()
 
void savePCD ()
 
bool savePCDCallback (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res)
 
virtual void timerCallback (const ros::TimerEvent &event)
 
- Protected Member Functions inherited from pcl_ros::PCLNodelet
bool isValid (const ModelCoefficientsConstPtr &, const std::string &="model")
 
bool isValid (const PointCloud2::ConstPtr &cloud, const std::string &topic_name="input")
 
bool isValid (const PointCloudConstPtr &cloud, const std::string &topic_name="input")
 
bool isValid (const PointIndicesConstPtr &, const std::string &="indices")
 
virtual void subscribe ()
 
virtual void unsubscribe ()
 
- Protected Member Functions inherited from nodelet_topic_tools::NodeletLazy
ros::Publisher advertise (ros::NodeHandle &nh, std::string topic, int queue_size, bool latch=false)
 
virtual void connectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void onInitPostProcess ()
 
virtual void warnNeverSubscribedCallback (const ros::WallTimerEvent &event)
 
- Protected Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::stringgetName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

Protected Attributes

bool binary_
 
bool compressed_
 
double duration_
 
std::string ext_
 
std::string filename_
 
std::string fixed_frame_
 
boost::mutex mutex_
 
std::string prefix_
 
boost::shared_ptr< dynamic_reconfigure::Server< Config > > srv_
 
ros::ServiceServer srv_save_pcd_server_
 
tf::TransformListenertf_listener_
 
ros::Timer timer_
 
- Protected Attributes inherited from pcl_ros::PCLNodelet
bool approximate_sync_
 
bool latched_indices_
 
int max_queue_size_
 
ros::Publisher pub_output_
 
message_filters::Subscriber< PointIndicessub_indices_filter_
 
message_filters::Subscriber< PointCloudsub_input_filter_
 
tf::TransformListener tf_listener_
 
bool use_indices_
 
- Protected Attributes inherited from nodelet_topic_tools::NodeletLazy
boost::mutex connection_mutex_
 
ConnectionStatus connection_status_
 
bool ever_subscribed_
 
bool lazy_
 
boost::shared_ptr< ros::NodeHandlenh_
 
boost::shared_ptr< ros::NodeHandlepnh_
 
std::vector< ros::Publisherpublishers_
 
ros::WallTimer timer_ever_subscribed_
 
bool verbose_connection_
 

Detailed Description

Definition at line 82 of file pointcloud_to_pcd.h.

Member Typedef Documentation

◆ Config

typedef PointCloudToPCDConfig jsk_pcl_ros_utils::PointCloudToPCD::Config

Definition at line 118 of file pointcloud_to_pcd.h.

Constructor & Destructor Documentation

◆ ~PointCloudToPCD()

PointCloudToPCD::~PointCloudToPCD ( )
virtual

Definition at line 79 of file pointcloud_to_pcd_nodelet.cpp.

Member Function Documentation

◆ configCallback()

void PointCloudToPCD::configCallback ( Config config,
uint32_t  level 
)
protectedvirtual

Definition at line 170 of file pointcloud_to_pcd_nodelet.cpp.

◆ onInit()

void PointCloudToPCD::onInit ( )
protectedvirtual

Reimplemented from pcl_ros::PCLNodelet.

Definition at line 145 of file pointcloud_to_pcd_nodelet.cpp.

◆ savePCD()

void PointCloudToPCD::savePCD ( )
protected

Definition at line 93 of file pointcloud_to_pcd_nodelet.cpp.

◆ savePCDCallback()

bool PointCloudToPCD::savePCDCallback ( std_srvs::Empty::Request &  req,
std_srvs::Empty::Response &  res 
)
protected

Definition at line 88 of file pointcloud_to_pcd_nodelet.cpp.

◆ timerCallback()

void PointCloudToPCD::timerCallback ( const ros::TimerEvent event)
protectedvirtual

Definition at line 84 of file pointcloud_to_pcd_nodelet.cpp.

Member Data Documentation

◆ binary_

bool jsk_pcl_ros_utils::PointCloudToPCD::binary_
protected

Definition at line 132 of file pointcloud_to_pcd.h.

◆ compressed_

bool jsk_pcl_ros_utils::PointCloudToPCD::compressed_
protected

Definition at line 133 of file pointcloud_to_pcd.h.

◆ duration_

double jsk_pcl_ros_utils::PointCloudToPCD::duration_
protected

Definition at line 130 of file pointcloud_to_pcd.h.

◆ ext_

std::string jsk_pcl_ros_utils::PointCloudToPCD::ext_
protected

Definition at line 129 of file pointcloud_to_pcd.h.

◆ filename_

std::string jsk_pcl_ros_utils::PointCloudToPCD::filename_
protected

Definition at line 128 of file pointcloud_to_pcd.h.

◆ fixed_frame_

std::string jsk_pcl_ros_utils::PointCloudToPCD::fixed_frame_
protected

Definition at line 134 of file pointcloud_to_pcd.h.

◆ mutex_

boost::mutex jsk_pcl_ros_utils::PointCloudToPCD::mutex_
protected

Definition at line 125 of file pointcloud_to_pcd.h.

◆ prefix_

std::string jsk_pcl_ros_utils::PointCloudToPCD::prefix_
protected

Definition at line 131 of file pointcloud_to_pcd.h.

◆ srv_

boost::shared_ptr<dynamic_reconfigure::Server<Config> > jsk_pcl_ros_utils::PointCloudToPCD::srv_
protected

Definition at line 126 of file pointcloud_to_pcd.h.

◆ srv_save_pcd_server_

ros::ServiceServer jsk_pcl_ros_utils::PointCloudToPCD::srv_save_pcd_server_
protected

Definition at line 136 of file pointcloud_to_pcd.h.

◆ tf_listener_

tf::TransformListener* jsk_pcl_ros_utils::PointCloudToPCD::tf_listener_
protected

Definition at line 135 of file pointcloud_to_pcd.h.

◆ timer_

ros::Timer jsk_pcl_ros_utils::PointCloudToPCD::timer_
protected

Definition at line 127 of file pointcloud_to_pcd.h.


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


jsk_pcl_ros_utils
Author(s): Yohei Kakiuchi
autogenerated on Fri May 16 2025 03:11:44