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

#include <line_segment_detector.h>

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

Public Types

typedef message_filters::sync_policies::ApproximateTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::ClusterPointIndices > ApproximateSyncPolicy
 
typedef jsk_pcl_ros::LineSegmentDetectorConfig Config
 
typedef pcl::PointXYZ PointT
 
typedef message_filters::sync_policies::ExactTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::ClusterPointIndices > SyncPolicy
 
- Public Types inherited from jsk_topic_tools::DiagnosticNodelet
typedef boost::shared_ptr< DiagnosticNodeletPtr
 

Public Member Functions

 LineSegmentDetector ()
 
 ~LineSegmentDetector ()
 
- 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 onInit ()
 
virtual void publishResult (const std_msgs::Header &header, const pcl::PointCloud< PointT >::Ptr &cloud, const std::vector< LineSegment::Ptr > &segments)
 
virtual void segment (const sensor_msgs::PointCloud2::ConstPtr &cloud_msg, const jsk_recognition_msgs::ClusterPointIndices::ConstPtr &cluster_msg)
 
virtual void segmentLines (const pcl::PointCloud< PointT >::Ptr &cloud, const pcl::PointIndices::Ptr &indices, std::vector< pcl::PointIndices::Ptr > &line_indices, std::vector< pcl::ModelCoefficients::Ptr > &line_coefficients)
 
virtual void subscribe ()
 
virtual void unsubscribe ()
 
- Protected Member Functions inherited from jsk_topic_tools::DiagnosticNodelet
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

bool approximate_sync_
 
boost::shared_ptr< message_filters::Synchronizer< ApproximateSyncPolicy > > async_
 
boost::recursive_mutex config_mutex_
 
double line_width_
 
int max_iterations_
 
int min_indices_
 
double min_length_
 
boost::mutex mutex_
 
double outlier_threshold_
 
ros::Publisher pub_coefficients_
 
ros::Publisher pub_indices_
 
ros::Publisher pub_line_marker_
 
pcl::SACSegmentation< PointTseg_
 
boost::shared_ptr< dynamic_reconfigure::Server< Config > > srv_
 
message_filters::Subscriber< jsk_recognition_msgs::ClusterPointIndices > sub_indices_
 
message_filters::Subscriber< sensor_msgs::PointCloud2 > sub_input_
 
boost::shared_ptr< message_filters::Synchronizer< SyncPolicy > > sync_
 
- 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 90 of file line_segment_detector.h.

Member Typedef Documentation

typedef message_filters::sync_policies::ApproximateTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::ClusterPointIndices> jsk_pcl_ros::LineSegmentDetector::ApproximateSyncPolicy

Definition at line 106 of file line_segment_detector.h.

typedef jsk_pcl_ros::LineSegmentDetectorConfig jsk_pcl_ros::LineSegmentDetector::Config

Definition at line 108 of file line_segment_detector.h.

Definition at line 107 of file line_segment_detector.h.

typedef message_filters::sync_policies::ExactTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::ClusterPointIndices> jsk_pcl_ros::LineSegmentDetector::SyncPolicy

Definition at line 103 of file line_segment_detector.h.

Constructor & Destructor Documentation

jsk_pcl_ros::LineSegmentDetector::LineSegmentDetector ( )
inline

Definition at line 93 of file line_segment_detector.h.

jsk_pcl_ros::LineSegmentDetector::~LineSegmentDetector ( )
inline

Definition at line 96 of file line_segment_detector.h.

Member Function Documentation

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

Definition at line 156 of file line_segment_detector_nodelet.cpp.

void jsk_pcl_ros::LineSegmentDetector::onInit ( void  )
protectedvirtual

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 132 of file line_segment_detector_nodelet.cpp.

void jsk_pcl_ros::LineSegmentDetector::publishResult ( const std_msgs::Header header,
const pcl::PointCloud< PointT >::Ptr cloud,
const std::vector< LineSegment::Ptr > &  segments 
)
protectedvirtual

Definition at line 203 of file line_segment_detector_nodelet.cpp.

void jsk_pcl_ros::LineSegmentDetector::segment ( const sensor_msgs::PointCloud2::ConstPtr &  cloud_msg,
const jsk_recognition_msgs::ClusterPointIndices::ConstPtr &  cluster_msg 
)
protectedvirtual

Definition at line 278 of file line_segment_detector_nodelet.cpp.

void jsk_pcl_ros::LineSegmentDetector::segmentLines ( const pcl::PointCloud< PointT >::Ptr cloud,
const pcl::PointIndices::Ptr &  indices,
std::vector< pcl::PointIndices::Ptr > &  line_indices,
std::vector< pcl::ModelCoefficients::Ptr > &  line_coefficients 
)
protectedvirtual

Definition at line 243 of file line_segment_detector_nodelet.cpp.

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

Member Data Documentation

bool jsk_pcl_ros::LineSegmentDetector::approximate_sync_
protected

Definition at line 145 of file line_segment_detector.h.

boost::shared_ptr<message_filters::Synchronizer<ApproximateSyncPolicy> > jsk_pcl_ros::LineSegmentDetector::async_
protected

Definition at line 135 of file line_segment_detector.h.

boost::recursive_mutex jsk_pcl_ros::LineSegmentDetector::config_mutex_
protected

Definition at line 140 of file line_segment_detector.h.

double jsk_pcl_ros::LineSegmentDetector::line_width_
protected

Definition at line 150 of file line_segment_detector.h.

int jsk_pcl_ros::LineSegmentDetector::max_iterations_
protected

Definition at line 147 of file line_segment_detector.h.

int jsk_pcl_ros::LineSegmentDetector::min_indices_
protected

Definition at line 148 of file line_segment_detector.h.

double jsk_pcl_ros::LineSegmentDetector::min_length_
protected

Definition at line 149 of file line_segment_detector.h.

boost::mutex jsk_pcl_ros::LineSegmentDetector::mutex_
protected

Definition at line 139 of file line_segment_detector.h.

double jsk_pcl_ros::LineSegmentDetector::outlier_threshold_
protected

Definition at line 146 of file line_segment_detector.h.

ros::Publisher jsk_pcl_ros::LineSegmentDetector::pub_coefficients_
protected

Definition at line 133 of file line_segment_detector.h.

ros::Publisher jsk_pcl_ros::LineSegmentDetector::pub_indices_
protected

Definition at line 132 of file line_segment_detector.h.

ros::Publisher jsk_pcl_ros::LineSegmentDetector::pub_line_marker_
protected

Definition at line 131 of file line_segment_detector.h.

pcl::SACSegmentation<PointT> jsk_pcl_ros::LineSegmentDetector::seg_
protected

Definition at line 152 of file line_segment_detector.h.

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

Definition at line 138 of file line_segment_detector.h.

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

Definition at line 137 of file line_segment_detector.h.

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

Definition at line 136 of file line_segment_detector.h.

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

Definition at line 134 of file line_segment_detector.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