Protected Types | Protected Member Functions | Protected Attributes | List of all members
jsk_pcl_ros::DepthImageCreator Class Reference

#include <depth_image_creator.h>

Inheritance diagram for jsk_pcl_ros::DepthImageCreator:
Inheritance graph
[legend]

Protected Types

typedef pcl::PointXYZRGB Point
 
typedef pcl::PointCloud< PointPointCloud
 

Protected Member Functions

void callback_cloud (const sensor_msgs::PointCloud2ConstPtr &pcloud2)
 
void callback_info (const sensor_msgs::CameraInfoConstPtr &info)
 
void callback_sync (const sensor_msgs::CameraInfoConstPtr &info, const sensor_msgs::PointCloud2ConstPtr &pcloud2)
 
void onInit ()
 
void publish_points (const sensor_msgs::CameraInfoConstPtr &info, const sensor_msgs::PointCloud2ConstPtr &pcloud2)
 
bool service_cb (std_srvs::Empty::Request &req, std_srvs::Empty::Response &res)
 
void subscribe ()
 
void unsubscribe ()
 
- Protected Member Functions inherited from jsk_topic_tools::ConnectionBasedNodelet
ros::Publisher advertise (ros::NodeHandle &nh, std::string topic, int queue_size)
 
image_transport::CameraPublisher advertiseCamera (ros::NodeHandle &nh, image_transport::ImageTransport &it, const std::string &topic, int queue_size)
 
image_transport::CameraPublisher advertiseCamera (ros::NodeHandle &nh, const std::string &topic, int queue_size)
 
image_transport::Publisher advertiseImage (ros::NodeHandle &nh, image_transport::ImageTransport &it, const std::string &topic, int queue_size)
 
image_transport::Publisher advertiseImage (ros::NodeHandle &nh, const std::string &topic, int queue_size)
 
virtual void cameraConnectionBaseCallback ()
 
virtual void cameraConnectionCallback (const image_transport::SingleSubscriberPublisher &pub)
 
virtual void cameraInfoConnectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void connectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void imageConnectionCallback (const image_transport::SingleSubscriberPublisher &pub)
 
virtual bool isSubscribed ()
 
virtual void onInitPostProcess ()
 
virtual void warnNeverSubscribedCallback (const ros::WallTimerEvent &event)
 
virtual void warnOnInitPostProcessCalledCallback (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

float fill_value
 
tf::StampedTransform fixed_transform
 
int info_counter_
 
int info_throttle_
 
int max_pub_queue_size_
 
int max_queue_size_
 
int max_sub_queue_size_
 
boost::mutex mutex_points
 
bool organize_cloud_
 
sensor_msgs::PointCloud2ConstPtr points_ptr_
 
ros::Publisher pub_cloud_
 
ros::Publisher pub_depth_
 
ros::Publisher pub_disp_image_
 
ros::Publisher pub_image_
 
double scale_depth
 
ros::ServiceServer service_
 
ros::Subscriber sub_as_cloud_
 
ros::Subscriber sub_as_info_
 
message_filters::Subscriber< sensor_msgs::PointCloud2 > sub_cloud_
 
message_filters::Subscriber< sensor_msgs::CameraInfo > sub_info_
 
boost::shared_ptr< message_filters::Synchronizer< message_filters::sync_policies::ApproximateTime< sensor_msgs::CameraInfo, sensor_msgs::PointCloud2 > > > sync_inputs_a_
 
boost::shared_ptr< message_filters::Synchronizer< message_filters::sync_policies::ExactTime< sensor_msgs::CameraInfo, sensor_msgs::PointCloud2 > > > sync_inputs_e_
 
double tf_duration_
 
tf::TransformListenertf_listener_
 
bool use_approximate
 
bool use_asynchronous
 
bool use_fixed_transform
 
bool use_service
 
- Protected Attributes inherited from jsk_topic_tools::ConnectionBasedNodelet
bool always_subscribe_
 
std::vector< image_transport::CameraPublishercamera_publishers_
 
boost::mutex connection_mutex_
 
ConnectionStatus connection_status_
 
bool ever_subscribed_
 
std::vector< image_transport::Publisherimage_publishers_
 
boost::shared_ptr< ros::NodeHandlenh_
 
bool on_init_post_process_called_
 
boost::shared_ptr< ros::NodeHandlepnh_
 
std::vector< ros::Publisherpublishers_
 
bool subscribed_
 
ros::WallTimer timer_warn_never_subscribed_
 
ros::WallTimer timer_warn_on_init_post_process_called_
 
bool verbose_connection_
 

Additional Inherited Members

- Public Member Functions inherited from jsk_topic_tools::ConnectionBasedNodelet
 ConnectionBasedNodelet ()
 
- 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 ()
 

Detailed Description

Definition at line 68 of file depth_image_creator.h.

Member Typedef Documentation

typedef pcl::PointXYZRGB jsk_pcl_ros::DepthImageCreator::Point
protected

Definition at line 101 of file depth_image_creator.h.

typedef pcl::PointCloud< Point > jsk_pcl_ros::DepthImageCreator::PointCloud
protected

Definition at line 102 of file depth_image_creator.h.

Member Function Documentation

void jsk_pcl_ros::DepthImageCreator::callback_cloud ( const sensor_msgs::PointCloud2ConstPtr &  pcloud2)
protected

Definition at line 165 of file depth_image_creator_nodelet.cpp.

void jsk_pcl_ros::DepthImageCreator::callback_info ( const sensor_msgs::CameraInfoConstPtr &  info)
protected

Definition at line 171 of file depth_image_creator_nodelet.cpp.

void jsk_pcl_ros::DepthImageCreator::callback_sync ( const sensor_msgs::CameraInfoConstPtr &  info,
const sensor_msgs::PointCloud2ConstPtr &  pcloud2 
)
protected

Definition at line 159 of file depth_image_creator_nodelet.cpp.

void jsk_pcl_ros::DepthImageCreator::onInit ( void  )
protectedvirtual

Reimplemented from jsk_topic_tools::ConnectionBasedNodelet.

Definition at line 44 of file depth_image_creator_nodelet.cpp.

void jsk_pcl_ros::DepthImageCreator::publish_points ( const sensor_msgs::CameraInfoConstPtr &  info,
const sensor_msgs::PointCloud2ConstPtr &  pcloud2 
)
protected

Definition at line 184 of file depth_image_creator_nodelet.cpp.

bool jsk_pcl_ros::DepthImageCreator::service_cb ( std_srvs::Empty::Request &  req,
std_srvs::Empty::Response &  res 
)
protected

Definition at line 154 of file depth_image_creator_nodelet.cpp.

void jsk_pcl_ros::DepthImageCreator::subscribe ( )
protectedvirtual
void jsk_pcl_ros::DepthImageCreator::unsubscribe ( )
protectedvirtual

Member Data Documentation

float jsk_pcl_ros::DepthImageCreator::fill_value
protected

Definition at line 100 of file depth_image_creator.h.

tf::StampedTransform jsk_pcl_ros::DepthImageCreator::fixed_transform
protected

Definition at line 96 of file depth_image_creator.h.

int jsk_pcl_ros::DepthImageCreator::info_counter_
protected

Definition at line 92 of file depth_image_creator.h.

int jsk_pcl_ros::DepthImageCreator::info_throttle_
protected

Definition at line 91 of file depth_image_creator.h.

int jsk_pcl_ros::DepthImageCreator::max_pub_queue_size_
protected

Definition at line 94 of file depth_image_creator.h.

int jsk_pcl_ros::DepthImageCreator::max_queue_size_
protected

Definition at line 93 of file depth_image_creator.h.

int jsk_pcl_ros::DepthImageCreator::max_sub_queue_size_
protected

Definition at line 95 of file depth_image_creator.h.

boost::mutex jsk_pcl_ros::DepthImageCreator::mutex_points
protected

Definition at line 85 of file depth_image_creator.h.

bool jsk_pcl_ros::DepthImageCreator::organize_cloud_
protected

Definition at line 90 of file depth_image_creator.h.

sensor_msgs::PointCloud2ConstPtr jsk_pcl_ros::DepthImageCreator::points_ptr_
protected

Definition at line 81 of file depth_image_creator.h.

ros::Publisher jsk_pcl_ros::DepthImageCreator::pub_cloud_
protected

Definition at line 77 of file depth_image_creator.h.

ros::Publisher jsk_pcl_ros::DepthImageCreator::pub_depth_
protected

Definition at line 75 of file depth_image_creator.h.

ros::Publisher jsk_pcl_ros::DepthImageCreator::pub_disp_image_
protected

Definition at line 78 of file depth_image_creator.h.

ros::Publisher jsk_pcl_ros::DepthImageCreator::pub_image_
protected

Definition at line 76 of file depth_image_creator.h.

double jsk_pcl_ros::DepthImageCreator::scale_depth
protected

Definition at line 98 of file depth_image_creator.h.

ros::ServiceServer jsk_pcl_ros::DepthImageCreator::service_
protected

Definition at line 79 of file depth_image_creator.h.

ros::Subscriber jsk_pcl_ros::DepthImageCreator::sub_as_cloud_
protected

Definition at line 74 of file depth_image_creator.h.

ros::Subscriber jsk_pcl_ros::DepthImageCreator::sub_as_info_
protected

Definition at line 73 of file depth_image_creator.h.

message_filters::Subscriber<sensor_msgs::PointCloud2> jsk_pcl_ros::DepthImageCreator::sub_cloud_
protected

Definition at line 72 of file depth_image_creator.h.

message_filters::Subscriber<sensor_msgs::CameraInfo> jsk_pcl_ros::DepthImageCreator::sub_info_
protected

Definition at line 71 of file depth_image_creator.h.

boost::shared_ptr<message_filters::Synchronizer<message_filters::sync_policies::ApproximateTime<sensor_msgs::CameraInfo, sensor_msgs::PointCloud2> > > jsk_pcl_ros::DepthImageCreator::sync_inputs_a_
protected

Definition at line 84 of file depth_image_creator.h.

boost::shared_ptr<message_filters::Synchronizer<message_filters::sync_policies::ExactTime<sensor_msgs::CameraInfo, sensor_msgs::PointCloud2> > > jsk_pcl_ros::DepthImageCreator::sync_inputs_e_
protected

Definition at line 83 of file depth_image_creator.h.

double jsk_pcl_ros::DepthImageCreator::tf_duration_
protected

Definition at line 99 of file depth_image_creator.h.

tf::TransformListener* jsk_pcl_ros::DepthImageCreator::tf_listener_
protected

Definition at line 97 of file depth_image_creator.h.

bool jsk_pcl_ros::DepthImageCreator::use_approximate
protected

Definition at line 89 of file depth_image_creator.h.

bool jsk_pcl_ros::DepthImageCreator::use_asynchronous
protected

Definition at line 88 of file depth_image_creator.h.

bool jsk_pcl_ros::DepthImageCreator::use_fixed_transform
protected

Definition at line 86 of file depth_image_creator.h.

bool jsk_pcl_ros::DepthImageCreator::use_service
protected

Definition at line 87 of file depth_image_creator.h.


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


jsk_pcl_ros
Author(s): Yohei Kakiuchi
autogenerated on Mon May 3 2021 03:03:47