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

#include <multi_plane_extraction.h>

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

Public Types

typedef message_filters::sync_policies::ApproximateTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::ClusterPointIndices, jsk_recognition_msgs::ModelCoefficientsArray, jsk_recognition_msgs::PolygonArray > ASyncPolicy
 
typedef jsk_pcl_ros::MultiPlaneExtractionConfig Config
 
typedef message_filters::sync_policies::ExactTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::ClusterPointIndices, jsk_recognition_msgs::ModelCoefficientsArray, jsk_recognition_msgs::PolygonArray > SyncPolicy
 
- Public Types inherited from jsk_topic_tools::DiagnosticNodelet
typedef boost::shared_ptr< DiagnosticNodeletPtr
 

Public Member Functions

 MultiPlaneExtraction ()
 
- Public Member Functions inherited from jsk_topic_tools::DiagnosticNodelet
 DiagnosticNodelet (const std::string &name)
 
- 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 ()
 

Protected Member Functions

virtual void configCallback (Config &config, uint32_t level)
 
virtual void extract (const sensor_msgs::PointCloud2::ConstPtr &input, const jsk_recognition_msgs::ClusterPointIndices::ConstPtr &indices, const jsk_recognition_msgs::ModelCoefficientsArray::ConstPtr &coefficients, const jsk_recognition_msgs::PolygonArray::ConstPtr &polygons)
 
virtual void fillEmptyCoefficients (const jsk_recognition_msgs::PolygonArray::ConstPtr &polygons)
 
virtual void fillEmptyIndices (const jsk_recognition_msgs::PolygonArray::ConstPtr &polygons)
 
virtual void onInit ()
 
virtual void subscribe ()
 
virtual void unsubscribe ()
 
virtual void updateDiagnostic (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
- 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

boost::shared_ptr< message_filters::Synchronizer< ASyncPolicy > > async_
 
bool keep_organized_
 
double magnify_
 
double max_height_
 
int maximum_queue_size_
 
double min_height_
 
boost::mutex mutex_
 
ros::Publisher nonplane_pub_
 
message_filters::PassThrough< jsk_recognition_msgs::ModelCoefficientsArray > null_coefficients_
 
message_filters::PassThrough< jsk_recognition_msgs::ClusterPointIndices > null_indices_
 
jsk_recognition_utils::Counter plane_counter_
 
ros::Publisher pub_
 
ros::Publisher pub_indices_
 
std::string sensor_frame_
 
boost::shared_ptr< dynamic_reconfigure::Server< Config > > srv_
 
message_filters::Subscriber< jsk_recognition_msgs::ModelCoefficientsArray > sub_coefficients_
 
message_filters::Subscriber< jsk_recognition_msgs::ClusterPointIndices > sub_indices_
 
message_filters::Subscriber< sensor_msgs::PointCloud2 > sub_input_
 
message_filters::Subscriber< jsk_recognition_msgs::PolygonArray > sub_polygons_
 
boost::shared_ptr< message_filters::Synchronizer< SyncPolicy > > sync_
 
tf::TransformListenertf_listener_
 
bool use_async_
 
bool use_coefficients_
 
bool use_indices_
 
bool use_sensor_frame_
 
- Protected Attributes inherited from jsk_topic_tools::DiagnosticNodelet
TimeredDiagnosticUpdater::Ptr diagnostic_updater_
 
const std::string name_
 
jsk_topic_tools::VitalChecker::Ptr vital_checker_
 
- 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_
 

Detailed Description

Definition at line 60 of file multi_plane_extraction.h.

Member Typedef Documentation

typedef message_filters::sync_policies::ApproximateTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::ClusterPointIndices, jsk_recognition_msgs::ModelCoefficientsArray, jsk_recognition_msgs::PolygonArray> jsk_pcl_ros::MultiPlaneExtraction::ASyncPolicy

Definition at line 73 of file multi_plane_extraction.h.

typedef jsk_pcl_ros::MultiPlaneExtractionConfig jsk_pcl_ros::MultiPlaneExtraction::Config

Definition at line 74 of file multi_plane_extraction.h.

typedef message_filters::sync_policies::ExactTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::ClusterPointIndices, jsk_recognition_msgs::ModelCoefficientsArray, jsk_recognition_msgs::PolygonArray> jsk_pcl_ros::MultiPlaneExtraction::SyncPolicy

Definition at line 68 of file multi_plane_extraction.h.

Constructor & Destructor Documentation

jsk_pcl_ros::MultiPlaneExtraction::MultiPlaneExtraction ( )
inline

Definition at line 76 of file multi_plane_extraction.h.

Member Function Documentation

void jsk_pcl_ros::MultiPlaneExtraction::configCallback ( Config config,
uint32_t  level 
)
protectedvirtual

Definition at line 161 of file multi_plane_extraction_nodelet.cpp.

void jsk_pcl_ros::MultiPlaneExtraction::extract ( const sensor_msgs::PointCloud2::ConstPtr &  input,
const jsk_recognition_msgs::ClusterPointIndices::ConstPtr &  indices,
const jsk_recognition_msgs::ModelCoefficientsArray::ConstPtr &  coefficients,
const jsk_recognition_msgs::PolygonArray::ConstPtr &  polygons 
)
protectedvirtual

Definition at line 214 of file multi_plane_extraction_nodelet.cpp.

void jsk_pcl_ros::MultiPlaneExtraction::fillEmptyCoefficients ( const jsk_recognition_msgs::PolygonArray::ConstPtr &  polygons)
protectedvirtual

Definition at line 204 of file multi_plane_extraction_nodelet.cpp.

void jsk_pcl_ros::MultiPlaneExtraction::fillEmptyIndices ( const jsk_recognition_msgs::PolygonArray::ConstPtr &  polygons)
protectedvirtual

Definition at line 194 of file multi_plane_extraction_nodelet.cpp.

void jsk_pcl_ros::MultiPlaneExtraction::onInit ( void  )
protectedvirtual

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 49 of file multi_plane_extraction_nodelet.cpp.

void jsk_pcl_ros::MultiPlaneExtraction::subscribe ( )
protectedvirtual
void jsk_pcl_ros::MultiPlaneExtraction::unsubscribe ( )
protectedvirtual
void jsk_pcl_ros::MultiPlaneExtraction::updateDiagnostic ( diagnostic_updater::DiagnosticStatusWrapper stat)
protectedvirtual

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 181 of file multi_plane_extraction_nodelet.cpp.

Member Data Documentation

boost::shared_ptr<message_filters::Synchronizer<ASyncPolicy> > jsk_pcl_ros::MultiPlaneExtraction::async_
protected

Definition at line 114 of file multi_plane_extraction.h.

bool jsk_pcl_ros::MultiPlaneExtraction::keep_organized_
protected

Definition at line 127 of file multi_plane_extraction.h.

double jsk_pcl_ros::MultiPlaneExtraction::magnify_
protected

Definition at line 131 of file multi_plane_extraction.h.

double jsk_pcl_ros::MultiPlaneExtraction::max_height_
protected

Definition at line 129 of file multi_plane_extraction.h.

int jsk_pcl_ros::MultiPlaneExtraction::maximum_queue_size_
protected

Definition at line 128 of file multi_plane_extraction.h.

double jsk_pcl_ros::MultiPlaneExtraction::min_height_
protected

Definition at line 129 of file multi_plane_extraction.h.

boost::mutex jsk_pcl_ros::MultiPlaneExtraction::mutex_
protected

Definition at line 103 of file multi_plane_extraction.h.

ros::Publisher jsk_pcl_ros::MultiPlaneExtraction::nonplane_pub_
protected

Definition at line 104 of file multi_plane_extraction.h.

message_filters::PassThrough<jsk_recognition_msgs::ModelCoefficientsArray> jsk_pcl_ros::MultiPlaneExtraction::null_coefficients_
protected

Definition at line 112 of file multi_plane_extraction.h.

message_filters::PassThrough<jsk_recognition_msgs::ClusterPointIndices> jsk_pcl_ros::MultiPlaneExtraction::null_indices_
protected

Definition at line 111 of file multi_plane_extraction.h.

jsk_recognition_utils::Counter jsk_pcl_ros::MultiPlaneExtraction::plane_counter_
protected

Definition at line 120 of file multi_plane_extraction.h.

ros::Publisher jsk_pcl_ros::MultiPlaneExtraction::pub_
protected

Definition at line 104 of file multi_plane_extraction.h.

ros::Publisher jsk_pcl_ros::MultiPlaneExtraction::pub_indices_
protected

Definition at line 105 of file multi_plane_extraction.h.

std::string jsk_pcl_ros::MultiPlaneExtraction::sensor_frame_
protected

Definition at line 133 of file multi_plane_extraction.h.

boost::shared_ptr<dynamic_reconfigure::Server<Config> > jsk_pcl_ros::MultiPlaneExtraction::srv_
protected

Definition at line 106 of file multi_plane_extraction.h.

message_filters::Subscriber<jsk_recognition_msgs::ModelCoefficientsArray> jsk_pcl_ros::MultiPlaneExtraction::sub_coefficients_
protected

Definition at line 108 of file multi_plane_extraction.h.

message_filters::Subscriber<jsk_recognition_msgs::ClusterPointIndices> jsk_pcl_ros::MultiPlaneExtraction::sub_indices_
protected

Definition at line 110 of file multi_plane_extraction.h.

message_filters::Subscriber<sensor_msgs::PointCloud2> jsk_pcl_ros::MultiPlaneExtraction::sub_input_
protected

Definition at line 107 of file multi_plane_extraction.h.

message_filters::Subscriber<jsk_recognition_msgs::PolygonArray> jsk_pcl_ros::MultiPlaneExtraction::sub_polygons_
protected

Definition at line 109 of file multi_plane_extraction.h.

boost::shared_ptr<message_filters::Synchronizer<SyncPolicy> > jsk_pcl_ros::MultiPlaneExtraction::sync_
protected

Definition at line 113 of file multi_plane_extraction.h.

tf::TransformListener* jsk_pcl_ros::MultiPlaneExtraction::tf_listener_
protected

Definition at line 125 of file multi_plane_extraction.h.

bool jsk_pcl_ros::MultiPlaneExtraction::use_async_
protected

Definition at line 126 of file multi_plane_extraction.h.

bool jsk_pcl_ros::MultiPlaneExtraction::use_coefficients_
protected

Definition at line 134 of file multi_plane_extraction.h.

bool jsk_pcl_ros::MultiPlaneExtraction::use_indices_
protected

Definition at line 130 of file multi_plane_extraction.h.

bool jsk_pcl_ros::MultiPlaneExtraction::use_sensor_frame_
protected

Definition at line 132 of file multi_plane_extraction.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:48