Public Member Functions | Private Member Functions | Private Attributes
PoleExtractor Class Reference

List of all members.

Public Member Functions

bool cylinderSegmentation ()
 PoleExtractor ()
 ~PoleExtractor ()

Private Member Functions

void controlCallback (const std_msgs::Bool::ConstPtr &msg)
void getMinMax3DalongAxis (const PointCloud::ConstPtr &cloud, PointT *max_pt, PointT *min_pt, PointT *axis_point, tf::Vector3 *normal)
double max (double a, double b)
double min (double a, double b)
void pointCloudCallback (const PointCloud::ConstPtr &msg)

Private Attributes

pcl::PointCloud< PointT >::Ptr cloud_filtered_
pcl::PointCloud< pcl::Normal >::Ptr cloud_normals_
message_filters::Subscriber
< PointCloud
cloud_sub_
pcl::ModelCoefficients::Ptr coefficients_cylinder_
ros::Subscriber control_sub_
ros::Publisher cylinder_pub_
double distance_threshold_
pcl::ExtractIndices< PointTextract_
pcl::ExtractIndices< pcl::Normal > extract_normals_
double filter_box_size_
bool got_cloud_
std::string gripper_tag_frame_id_
pcl::PointIndices::Ptr inliers_cylinder_
ros::Publisher marker_pub_
double max_diameter_
int max_iterations_
double min_diameter_
pcl::NormalEstimation< PointT,
pcl::Normal > 
ne_
ros::NodeHandle nh_
double normal_distance_weight_
ros::NodeHandle pnh_
ros::Publisher pole_pub_
ros::Publisher roi_cloud_pub_
bool run_
pcl::SACSegmentationFromNormals
< PointT, pcl::Normal > 
seg_
tf::TransformListener tf_
tf::MessageFilter< PointCloud > * tf_filter_
pcl::KdTreeFLANN< PointT >::Ptr tree_

Detailed Description

Definition at line 64 of file pole_extractor.cpp.


Constructor & Destructor Documentation

Definition at line 128 of file pole_extractor.cpp.

Definition at line 163 of file pole_extractor.cpp.


Member Function Documentation

void PoleExtractor::controlCallback ( const std_msgs::Bool::ConstPtr &  msg) [private]

Definition at line 180 of file pole_extractor.cpp.

Definition at line 319 of file pole_extractor.cpp.

void PoleExtractor::getMinMax3DalongAxis ( const PointCloud::ConstPtr &  cloud,
PointT max_pt,
PointT min_pt,
PointT axis_point,
tf::Vector3 *  normal 
) [private]

Definition at line 285 of file pole_extractor.cpp.

double PoleExtractor::max ( double  a,
double  b 
) [private]

Definition at line 168 of file pole_extractor.cpp.

double PoleExtractor::min ( double  a,
double  b 
) [private]

Definition at line 174 of file pole_extractor.cpp.

void PoleExtractor::pointCloudCallback ( const PointCloud::ConstPtr &  msg) [private]

Definition at line 185 of file pole_extractor.cpp.


Member Data Documentation

Definition at line 115 of file pole_extractor.cpp.

pcl::PointCloud<pcl::Normal>::Ptr PoleExtractor::cloud_normals_ [private]

Definition at line 116 of file pole_extractor.cpp.

Definition at line 96 of file pole_extractor.cpp.

Definition at line 117 of file pole_extractor.cpp.

Definition at line 105 of file pole_extractor.cpp.

Definition at line 100 of file pole_extractor.cpp.

Definition at line 93 of file pole_extractor.cpp.

Definition at line 110 of file pole_extractor.cpp.

Definition at line 111 of file pole_extractor.cpp.

Definition at line 86 of file pole_extractor.cpp.

bool PoleExtractor::got_cloud_ [private]

Definition at line 120 of file pole_extractor.cpp.

std::string PoleExtractor::gripper_tag_frame_id_ [private]

Definition at line 83 of file pole_extractor.cpp.

Definition at line 118 of file pole_extractor.cpp.

Definition at line 102 of file pole_extractor.cpp.

double PoleExtractor::max_diameter_ [private]

Definition at line 89 of file pole_extractor.cpp.

Definition at line 92 of file pole_extractor.cpp.

double PoleExtractor::min_diameter_ [private]

Definition at line 88 of file pole_extractor.cpp.

Definition at line 108 of file pole_extractor.cpp.

Definition at line 79 of file pole_extractor.cpp.

Definition at line 91 of file pole_extractor.cpp.

Definition at line 80 of file pole_extractor.cpp.

Definition at line 103 of file pole_extractor.cpp.

Definition at line 101 of file pole_extractor.cpp.

bool PoleExtractor::run_ [private]

Definition at line 125 of file pole_extractor.cpp.

Definition at line 109 of file pole_extractor.cpp.

Definition at line 97 of file pole_extractor.cpp.

Definition at line 98 of file pole_extractor.cpp.

pcl::KdTreeFLANN<PointT>::Ptr PoleExtractor::tree_ [private]

Definition at line 112 of file pole_extractor.cpp.


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


pole_structure_mapper
Author(s): Gonçalo Cabrita and Mahmoud Tavakoli
autogenerated on Mon Jan 6 2014 11:26:24