Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
jsk_pcl_ros_utils::PolygonPointsSampler Class Reference

#include <polygon_points_sampler.h>

Inheritance diagram for jsk_pcl_ros_utils::PolygonPointsSampler:
Inheritance graph
[legend]

Public Types

typedef PolygonPointsSamplerConfig Config
 
typedef boost::shared_ptr< PolygonPointsSamplerPtr
 
typedef message_filters::sync_policies::ExactTime< jsk_recognition_msgs::PolygonArray, jsk_recognition_msgs::ModelCoefficientsArray > SyncPolicy
 

Public Member Functions

 PolygonPointsSampler ()
 
virtual ~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_
 

Detailed Description

Definition at line 86 of file polygon_points_sampler.h.

Member Typedef Documentation

◆ Config

typedef PolygonPointsSamplerConfig jsk_pcl_ros_utils::PolygonPointsSampler::Config

Definition at line 122 of file polygon_points_sampler.h.

◆ Ptr

Definition at line 121 of file polygon_points_sampler.h.

◆ SyncPolicy

typedef message_filters::sync_policies::ExactTime< jsk_recognition_msgs::PolygonArray, jsk_recognition_msgs::ModelCoefficientsArray > jsk_pcl_ros_utils::PolygonPointsSampler::SyncPolicy

Definition at line 126 of file polygon_points_sampler.h.

Constructor & Destructor Documentation

◆ PolygonPointsSampler()

jsk_pcl_ros_utils::PolygonPointsSampler::PolygonPointsSampler ( )
inline

Definition at line 128 of file polygon_points_sampler.h.

◆ ~PolygonPointsSampler()

jsk_pcl_ros_utils::PolygonPointsSampler::~PolygonPointsSampler ( )
virtual

Definition at line 56 of file polygon_points_sampler_nodelet.cpp.

Member Function Documentation

◆ configCallback()

void jsk_pcl_ros_utils::PolygonPointsSampler::configCallback ( Config config,
uint32_t  level 
)
protectedvirtual

Definition at line 154 of file polygon_points_sampler_nodelet.cpp.

◆ isValidMessage()

bool jsk_pcl_ros_utils::PolygonPointsSampler::isValidMessage ( const jsk_recognition_msgs::PolygonArray::ConstPtr &  polygon_msg,
const jsk_recognition_msgs::ModelCoefficientsArray::ConstPtr &  coefficients_msg 
)
protectedvirtual

Definition at line 82 of file polygon_points_sampler_nodelet.cpp.

◆ onInit()

void jsk_pcl_ros_utils::PolygonPointsSampler::onInit ( )
protectedvirtual

Definition at line 42 of file polygon_points_sampler_nodelet.cpp.

◆ sample()

void jsk_pcl_ros_utils::PolygonPointsSampler::sample ( const jsk_recognition_msgs::PolygonArray::ConstPtr &  polygon_msg,
const jsk_recognition_msgs::ModelCoefficientsArray::ConstPtr &  coefficients_msg 
)
protectedvirtual

Definition at line 115 of file polygon_points_sampler_nodelet.cpp.

◆ subscribe()

void jsk_pcl_ros_utils::PolygonPointsSampler::subscribe ( )
protectedvirtual

Definition at line 67 of file polygon_points_sampler_nodelet.cpp.

◆ unsubscribe()

void jsk_pcl_ros_utils::PolygonPointsSampler::unsubscribe ( )
protectedvirtual

Definition at line 76 of file polygon_points_sampler_nodelet.cpp.

Member Data Documentation

◆ grid_size_

double jsk_pcl_ros_utils::PolygonPointsSampler::grid_size_
protected

Definition at line 149 of file polygon_points_sampler.h.

◆ mutex_

boost::mutex jsk_pcl_ros_utils::PolygonPointsSampler::mutex_
protected

Definition at line 146 of file polygon_points_sampler.h.

◆ pub_

ros::Publisher jsk_pcl_ros_utils::PolygonPointsSampler::pub_
protected

Definition at line 147 of file polygon_points_sampler.h.

◆ pub_xyz_

ros::Publisher jsk_pcl_ros_utils::PolygonPointsSampler::pub_xyz_
protected

Definition at line 148 of file polygon_points_sampler.h.

◆ srv_

boost::shared_ptr<dynamic_reconfigure::Server<Config> > jsk_pcl_ros_utils::PolygonPointsSampler::srv_
protected

Definition at line 141 of file polygon_points_sampler.h.

◆ sub_coefficients_

message_filters::Subscriber<jsk_recognition_msgs::ModelCoefficientsArray> jsk_pcl_ros_utils::PolygonPointsSampler::sub_coefficients_
protected

Definition at line 144 of file polygon_points_sampler.h.

◆ sub_polygons_

message_filters::Subscriber<jsk_recognition_msgs::PolygonArray> jsk_pcl_ros_utils::PolygonPointsSampler::sub_polygons_
protected

Definition at line 143 of file polygon_points_sampler.h.

◆ sync_

boost::shared_ptr<message_filters::Synchronizer<SyncPolicy> > jsk_pcl_ros_utils::PolygonPointsSampler::sync_
protected

Definition at line 142 of file polygon_points_sampler.h.


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


jsk_pcl_ros_utils
Author(s): Yohei Kakiuchi
autogenerated on Fri May 16 2025 03:11:44