#include <polygon_points_sampler.h>
Public Types | |
typedef PolygonPointsSamplerConfig | Config |
typedef boost::shared_ptr < PolygonPointsSampler > | Ptr |
typedef message_filters::sync_policies::ExactTime < jsk_recognition_msgs::PolygonArray, jsk_recognition_msgs::ModelCoefficientsArray > | SyncPolicy |
Public Member Functions | |
PolygonPointsSampler () | |
Protected Member Functions | |
virtual void | configCallback (Config &config, uint32_t level) |
virtual bool | isValidMessage (const jsk_recognition_msgs::PolygonArray::ConstPtr &polygon_msg, const jsk_recognition_msgs::ModelCoefficientsArray::ConstPtr &coefficients_msg) |
virtual void | onInit () |
virtual void | sample (const jsk_recognition_msgs::PolygonArray::ConstPtr &polygon_msg, const jsk_recognition_msgs::ModelCoefficientsArray::ConstPtr &coefficients_msg) |
virtual void | subscribe () |
virtual void | unsubscribe () |
Protected Attributes | |
double | grid_size_ |
boost::mutex | mutex_ |
ros::Publisher | pub_ |
ros::Publisher | pub_xyz_ |
boost::shared_ptr < dynamic_reconfigure::Server < Config > > | srv_ |
message_filters::Subscriber < jsk_recognition_msgs::ModelCoefficientsArray > | sub_coefficients_ |
message_filters::Subscriber < jsk_recognition_msgs::PolygonArray > | sub_polygons_ |
boost::shared_ptr < message_filters::Synchronizer < SyncPolicy > > | sync_ |
Definition at line 54 of file polygon_points_sampler.h.
typedef PolygonPointsSamplerConfig jsk_pcl_ros_utils::PolygonPointsSampler::Config |
Definition at line 58 of file polygon_points_sampler.h.
typedef boost::shared_ptr<PolygonPointsSampler> jsk_pcl_ros_utils::PolygonPointsSampler::Ptr |
Reimplemented from jsk_topic_tools::DiagnosticNodelet.
Definition at line 57 of file polygon_points_sampler.h.
typedef message_filters::sync_policies::ExactTime< jsk_recognition_msgs::PolygonArray, jsk_recognition_msgs::ModelCoefficientsArray > jsk_pcl_ros_utils::PolygonPointsSampler::SyncPolicy |
Definition at line 62 of file polygon_points_sampler.h.
Definition at line 64 of file polygon_points_sampler.h.
void jsk_pcl_ros_utils::PolygonPointsSampler::configCallback | ( | Config & | config, |
uint32_t | level | ||
) | [protected, virtual] |
Definition at line 143 of file polygon_points_sampler_nodelet.cpp.
bool jsk_pcl_ros_utils::PolygonPointsSampler::isValidMessage | ( | const jsk_recognition_msgs::PolygonArray::ConstPtr & | polygon_msg, |
const jsk_recognition_msgs::ModelCoefficientsArray::ConstPtr & | coefficients_msg | ||
) | [protected, virtual] |
Definition at line 71 of file polygon_points_sampler_nodelet.cpp.
void jsk_pcl_ros_utils::PolygonPointsSampler::onInit | ( | void | ) | [protected, virtual] |
Reimplemented from jsk_topic_tools::DiagnosticNodelet.
Definition at line 42 of file polygon_points_sampler_nodelet.cpp.
void jsk_pcl_ros_utils::PolygonPointsSampler::sample | ( | const jsk_recognition_msgs::PolygonArray::ConstPtr & | polygon_msg, |
const jsk_recognition_msgs::ModelCoefficientsArray::ConstPtr & | coefficients_msg | ||
) | [protected, virtual] |
Definition at line 104 of file polygon_points_sampler_nodelet.cpp.
void jsk_pcl_ros_utils::PolygonPointsSampler::subscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 56 of file polygon_points_sampler_nodelet.cpp.
void jsk_pcl_ros_utils::PolygonPointsSampler::unsubscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 65 of file polygon_points_sampler_nodelet.cpp.
double jsk_pcl_ros_utils::PolygonPointsSampler::grid_size_ [protected] |
Definition at line 84 of file polygon_points_sampler.h.
boost::mutex jsk_pcl_ros_utils::PolygonPointsSampler::mutex_ [protected] |
Definition at line 81 of file polygon_points_sampler.h.
Definition at line 82 of file polygon_points_sampler.h.
Definition at line 83 of file polygon_points_sampler.h.
boost::shared_ptr<dynamic_reconfigure::Server<Config> > jsk_pcl_ros_utils::PolygonPointsSampler::srv_ [protected] |
Definition at line 76 of file polygon_points_sampler.h.
message_filters::Subscriber<jsk_recognition_msgs::ModelCoefficientsArray> jsk_pcl_ros_utils::PolygonPointsSampler::sub_coefficients_ [protected] |
Definition at line 79 of file polygon_points_sampler.h.
message_filters::Subscriber<jsk_recognition_msgs::PolygonArray> jsk_pcl_ros_utils::PolygonPointsSampler::sub_polygons_ [protected] |
Definition at line 78 of file polygon_points_sampler.h.
boost::shared_ptr<message_filters::Synchronizer<SyncPolicy> > jsk_pcl_ros_utils::PolygonPointsSampler::sync_ [protected] |
Definition at line 77 of file polygon_points_sampler.h.