#include <plane_concatenator.h>
Public Types | |
typedef PlaneConcatenatorConfig | Config |
typedef pcl::PointXYZRGB | PointT |
typedef boost::shared_ptr < PlaneConcatenator > | Ptr |
typedef message_filters::sync_policies::ExactTime < sensor_msgs::PointCloud2, jsk_recognition_msgs::ClusterPointIndices, jsk_recognition_msgs::PolygonArray, jsk_recognition_msgs::ModelCoefficientsArray > | SyncPolicy |
Public Member Functions | |
PlaneConcatenator () | |
Protected Member Functions | |
virtual void | concatenate (const sensor_msgs::PointCloud2::ConstPtr &cloud_msg, const jsk_recognition_msgs::ClusterPointIndices::ConstPtr &indices_msg, const jsk_recognition_msgs::PolygonArray::ConstPtr &polygon_array_msg, const jsk_recognition_msgs::ModelCoefficientsArray::ConstPtr &coefficients_array_msg) |
virtual void | configCallback (Config &config, uint32_t level) |
virtual bool | isNearPointCloud (pcl::KdTreeFLANN< PointT > &kdtree, pcl::PointCloud< PointT >::Ptr cloud, Plane::Ptr target_plane) |
virtual void | onInit () |
virtual pcl::ModelCoefficients::Ptr | refinement (pcl::PointCloud< PointT >::Ptr cloud, pcl::PointIndices::Ptr indices, pcl::ModelCoefficients::Ptr original_coefficients) |
virtual void | subscribe () |
virtual void | unsubscribe () |
virtual void | updateDiagnostic (diagnostic_updater::DiagnosticStatusWrapper &stat) |
Protected Attributes | |
double | connect_angular_threshold_ |
double | connect_distance_threshold_ |
double | connect_perpendicular_distance_threshold_ |
int | min_size_ |
boost::mutex | mutex_ |
ros::Publisher | pub_coefficients_ |
ros::Publisher | pub_indices_ |
ros::Publisher | pub_polygon_ |
double | ransac_refinement_eps_angle_ |
double | ransac_refinement_eps_distance_ |
int | ransac_refinement_max_iteration_ |
double | ransac_refinement_outlier_threshold_ |
boost::shared_ptr < dynamic_reconfigure::Server < Config > > | srv_ |
message_filters::Subscriber < sensor_msgs::PointCloud2 > | sub_cloud_ |
message_filters::Subscriber < jsk_recognition_msgs::ModelCoefficientsArray > | sub_coefficients_ |
message_filters::Subscriber < jsk_recognition_msgs::ClusterPointIndices > | sub_indices_ |
message_filters::Subscriber < jsk_recognition_msgs::PolygonArray > | sub_polygon_ |
boost::shared_ptr < message_filters::Synchronizer < SyncPolicy > > | sync_ |
Definition at line 55 of file plane_concatenator.h.
typedef PlaneConcatenatorConfig jsk_pcl_ros::PlaneConcatenator::Config |
Definition at line 59 of file plane_concatenator.h.
typedef pcl::PointXYZRGB jsk_pcl_ros::PlaneConcatenator::PointT |
Definition at line 60 of file plane_concatenator.h.
typedef boost::shared_ptr<PlaneConcatenator> jsk_pcl_ros::PlaneConcatenator::Ptr |
Reimplemented from jsk_topic_tools::DiagnosticNodelet.
Definition at line 58 of file plane_concatenator.h.
typedef message_filters::sync_policies::ExactTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::ClusterPointIndices, jsk_recognition_msgs::PolygonArray, jsk_recognition_msgs::ModelCoefficientsArray > jsk_pcl_ros::PlaneConcatenator::SyncPolicy |
Definition at line 66 of file plane_concatenator.h.
jsk_pcl_ros::PlaneConcatenator::PlaneConcatenator | ( | ) | [inline] |
Definition at line 67 of file plane_concatenator.h.
void jsk_pcl_ros::PlaneConcatenator::concatenate | ( | const sensor_msgs::PointCloud2::ConstPtr & | cloud_msg, |
const jsk_recognition_msgs::ClusterPointIndices::ConstPtr & | indices_msg, | ||
const jsk_recognition_msgs::PolygonArray::ConstPtr & | polygon_array_msg, | ||
const jsk_recognition_msgs::ModelCoefficientsArray::ConstPtr & | coefficients_array_msg | ||
) | [protected, virtual] |
Definition at line 85 of file plane_concatenator_nodelet.cpp.
void jsk_pcl_ros::PlaneConcatenator::configCallback | ( | Config & | config, |
uint32_t | level | ||
) | [protected, virtual] |
Definition at line 241 of file plane_concatenator_nodelet.cpp.
bool jsk_pcl_ros::PlaneConcatenator::isNearPointCloud | ( | pcl::KdTreeFLANN< PointT > & | kdtree, |
pcl::PointCloud< PointT >::Ptr | cloud, | ||
Plane::Ptr | target_plane | ||
) | [protected, virtual] |
Definition at line 214 of file plane_concatenator_nodelet.cpp.
void jsk_pcl_ros::PlaneConcatenator::onInit | ( | void | ) | [protected, virtual] |
Reimplemented from jsk_topic_tools::DiagnosticNodelet.
Definition at line 46 of file plane_concatenator_nodelet.cpp.
pcl::ModelCoefficients::Ptr jsk_pcl_ros::PlaneConcatenator::refinement | ( | pcl::PointCloud< PointT >::Ptr | cloud, |
pcl::PointIndices::Ptr | indices, | ||
pcl::ModelCoefficients::Ptr | original_coefficients | ||
) | [protected, virtual] |
Definition at line 180 of file plane_concatenator_nodelet.cpp.
void jsk_pcl_ros::PlaneConcatenator::subscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 64 of file plane_concatenator_nodelet.cpp.
void jsk_pcl_ros::PlaneConcatenator::unsubscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 77 of file plane_concatenator_nodelet.cpp.
void jsk_pcl_ros::PlaneConcatenator::updateDiagnostic | ( | diagnostic_updater::DiagnosticStatusWrapper & | stat | ) | [protected, virtual] |
Reimplemented from jsk_topic_tools::DiagnosticNodelet.
Definition at line 255 of file plane_concatenator_nodelet.cpp.
double jsk_pcl_ros::PlaneConcatenator::connect_angular_threshold_ [protected] |
Definition at line 108 of file plane_concatenator.h.
double jsk_pcl_ros::PlaneConcatenator::connect_distance_threshold_ [protected] |
Definition at line 109 of file plane_concatenator.h.
double jsk_pcl_ros::PlaneConcatenator::connect_perpendicular_distance_threshold_ [protected] |
Definition at line 110 of file plane_concatenator.h.
int jsk_pcl_ros::PlaneConcatenator::min_size_ [protected] |
Definition at line 115 of file plane_concatenator.h.
boost::mutex jsk_pcl_ros::PlaneConcatenator::mutex_ [protected] |
Definition at line 100 of file plane_concatenator.h.
Definition at line 104 of file plane_concatenator.h.
Definition at line 102 of file plane_concatenator.h.
Definition at line 103 of file plane_concatenator.h.
double jsk_pcl_ros::PlaneConcatenator::ransac_refinement_eps_angle_ [protected] |
Definition at line 114 of file plane_concatenator.h.
double jsk_pcl_ros::PlaneConcatenator::ransac_refinement_eps_distance_ [protected] |
Definition at line 113 of file plane_concatenator.h.
int jsk_pcl_ros::PlaneConcatenator::ransac_refinement_max_iteration_ [protected] |
Definition at line 111 of file plane_concatenator.h.
double jsk_pcl_ros::PlaneConcatenator::ransac_refinement_outlier_threshold_ [protected] |
Definition at line 112 of file plane_concatenator.h.
boost::shared_ptr<dynamic_reconfigure::Server<Config> > jsk_pcl_ros::PlaneConcatenator::srv_ [protected] |
Definition at line 101 of file plane_concatenator.h.
message_filters::Subscriber<sensor_msgs::PointCloud2> jsk_pcl_ros::PlaneConcatenator::sub_cloud_ [protected] |
Definition at line 95 of file plane_concatenator.h.
message_filters::Subscriber<jsk_recognition_msgs::ModelCoefficientsArray> jsk_pcl_ros::PlaneConcatenator::sub_coefficients_ [protected] |
Definition at line 98 of file plane_concatenator.h.
message_filters::Subscriber<jsk_recognition_msgs::ClusterPointIndices> jsk_pcl_ros::PlaneConcatenator::sub_indices_ [protected] |
Definition at line 96 of file plane_concatenator.h.
message_filters::Subscriber<jsk_recognition_msgs::PolygonArray> jsk_pcl_ros::PlaneConcatenator::sub_polygon_ [protected] |
Definition at line 97 of file plane_concatenator.h.
boost::shared_ptr<message_filters::Synchronizer<SyncPolicy> > jsk_pcl_ros::PlaneConcatenator::sync_ [protected] |
Definition at line 99 of file plane_concatenator.h.