#include <multi_plane_extraction.h>
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 Member Functions | |
MultiPlaneExtraction () | |
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 Attributes | |
boost::shared_ptr < message_filters::Synchronizer < ASyncPolicy > > | async_ |
bool | keep_organized_ |
double | maginify_ |
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::TransformListener * | tf_listener_ |
bool | use_async_ |
bool | use_coefficients_ |
bool | use_indices_ |
bool | use_sensor_frame_ |
Definition at line 60 of file multi_plane_extraction.h.
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.
Definition at line 76 of file multi_plane_extraction.h.
void jsk_pcl_ros::MultiPlaneExtraction::configCallback | ( | Config & | config, |
uint32_t | level | ||
) | [protected, virtual] |
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 | ||
) | [protected, virtual] |
Definition at line 206 of file multi_plane_extraction_nodelet.cpp.
void jsk_pcl_ros::MultiPlaneExtraction::fillEmptyCoefficients | ( | const jsk_recognition_msgs::PolygonArray::ConstPtr & | polygons | ) | [protected, virtual] |
Definition at line 196 of file multi_plane_extraction_nodelet.cpp.
void jsk_pcl_ros::MultiPlaneExtraction::fillEmptyIndices | ( | const jsk_recognition_msgs::PolygonArray::ConstPtr & | polygons | ) | [protected, virtual] |
Definition at line 186 of file multi_plane_extraction_nodelet.cpp.
void jsk_pcl_ros::MultiPlaneExtraction::onInit | ( | void | ) | [protected, virtual] |
Reimplemented from jsk_topic_tools::DiagnosticNodelet.
Definition at line 49 of file multi_plane_extraction_nodelet.cpp.
void jsk_pcl_ros::MultiPlaneExtraction::subscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 91 of file multi_plane_extraction_nodelet.cpp.
void jsk_pcl_ros::MultiPlaneExtraction::unsubscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 149 of file multi_plane_extraction_nodelet.cpp.
void jsk_pcl_ros::MultiPlaneExtraction::updateDiagnostic | ( | diagnostic_updater::DiagnosticStatusWrapper & | stat | ) | [protected, virtual] |
Reimplemented from jsk_topic_tools::DiagnosticNodelet.
Definition at line 170 of file multi_plane_extraction_nodelet.cpp.
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::maginify_ [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.
Definition at line 103 of file multi_plane_extraction.h.
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.
Definition at line 120 of file multi_plane_extraction.h.
Definition at line 104 of file multi_plane_extraction.h.
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.
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.