#include <line_segment_detector.h>
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 Member Functions | |
LineSegmentDetector () | |
~LineSegmentDetector () | |
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 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< PointT > | seg_ |
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_ |
Definition at line 122 of file line_segment_detector.h.
typedef message_filters::sync_policies::ApproximateTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::ClusterPointIndices> jsk_pcl_ros::LineSegmentDetector::ApproximateSyncPolicy |
Definition at line 145 of file line_segment_detector.h.
typedef jsk_pcl_ros::LineSegmentDetectorConfig jsk_pcl_ros::LineSegmentDetector::Config |
Definition at line 147 of file line_segment_detector.h.
typedef pcl::PointXYZ jsk_pcl_ros::LineSegmentDetector::PointT |
Definition at line 146 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 142 of file line_segment_detector.h.
|
inline |
Definition at line 125 of file line_segment_detector.h.
|
inline |
Definition at line 128 of file line_segment_detector.h.
|
protectedvirtual |
Definition at line 188 of file line_segment_detector_nodelet.cpp.
|
protectedvirtual |
Definition at line 164 of file line_segment_detector_nodelet.cpp.
|
protectedvirtual |
Definition at line 235 of file line_segment_detector_nodelet.cpp.
|
protectedvirtual |
Definition at line 310 of file line_segment_detector_nodelet.cpp.
|
protectedvirtual |
Definition at line 275 of file line_segment_detector_nodelet.cpp.
|
protectedvirtual |
Definition at line 211 of file line_segment_detector_nodelet.cpp.
|
protectedvirtual |
Definition at line 229 of file line_segment_detector_nodelet.cpp.
|
protected |
Definition at line 184 of file line_segment_detector.h.
|
protected |
Definition at line 174 of file line_segment_detector.h.
|
protected |
Definition at line 179 of file line_segment_detector.h.
|
protected |
Definition at line 189 of file line_segment_detector.h.
|
protected |
Definition at line 186 of file line_segment_detector.h.
|
protected |
Definition at line 187 of file line_segment_detector.h.
|
protected |
Definition at line 188 of file line_segment_detector.h.
|
protected |
Definition at line 178 of file line_segment_detector.h.
|
protected |
Definition at line 185 of file line_segment_detector.h.
|
protected |
Definition at line 172 of file line_segment_detector.h.
|
protected |
Definition at line 171 of file line_segment_detector.h.
|
protected |
Definition at line 170 of file line_segment_detector.h.
|
protected |
Definition at line 191 of file line_segment_detector.h.
|
protected |
Definition at line 177 of file line_segment_detector.h.
|
protected |
Definition at line 176 of file line_segment_detector.h.
|
protected |
Definition at line 175 of file line_segment_detector.h.
|
protected |
Definition at line 173 of file line_segment_detector.h.