Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
jsk_pcl_ros::PeopleDetection Class Reference

#include <people_detection.h>

Inheritance diagram for jsk_pcl_ros::PeopleDetection:
Inheritance graph
[legend]

Public Types

typedef jsk_pcl_ros::PeopleDetectionConfig Config
 

Public Member Functions

 PeopleDetection ()
 

Protected Member Functions

void configCallback (Config &config, uint32_t level)
 
virtual void detect (const sensor_msgs::PointCloud2::ConstPtr &cloud_msg)
 
virtual void ground_coeffs_callback (const jsk_recognition_msgs::ModelCoefficientsArray::ConstPtr &coefficients_msg)
 
virtual void infoCallback (const sensor_msgs::CameraInfo::ConstPtr &info_msg)
 
virtual void onInit ()
 
virtual void set_ground_coeffs (const pcl_msgs::ModelCoefficients &coefficients)
 
virtual void subscribe ()
 
virtual void unsubscribe ()
 

Protected Attributes

double box_depth_
 
double box_width_
 
Eigen::VectorXf ground_coeffs_
 
sensor_msgs::CameraInfo::ConstPtr latest_camera_info_
 
double min_confidence_
 
boost::mutex mutex_
 
pcl::people::GroundBasedPeopleDetectionApp< pcl::PointXYZRGBA > people_detector_
 
double people_height_threshold_
 
pcl::people::PersonClassifier< pcl::RGB > person_classifier_
 
ros::Publisher pub_box_
 
int queue_size_
 
boost::shared_ptr< dynamic_reconfigure::Server< Config > > srv_
 
ros::Subscriber sub_cloud_
 
ros::Subscriber sub_coefficients_
 
ros::Subscriber sub_info_
 
std::string trained_filename_
 
double voxel_size_
 

Detailed Description

Definition at line 84 of file people_detection.h.

Member Typedef Documentation

◆ Config

typedef jsk_pcl_ros::PeopleDetectionConfig jsk_pcl_ros::PeopleDetection::Config

Definition at line 120 of file people_detection.h.

Constructor & Destructor Documentation

◆ PeopleDetection()

jsk_pcl_ros::PeopleDetection::PeopleDetection ( )
inline

Definition at line 118 of file people_detection.h.

Member Function Documentation

◆ configCallback()

void jsk_pcl_ros::PeopleDetection::configCallback ( Config config,
uint32_t  level 
)
protected

Definition at line 94 of file people_detection_nodelet.cpp.

◆ detect()

void jsk_pcl_ros::PeopleDetection::detect ( const sensor_msgs::PointCloud2::ConstPtr &  cloud_msg)
protectedvirtual

Definition at line 119 of file people_detection_nodelet.cpp.

◆ ground_coeffs_callback()

void jsk_pcl_ros::PeopleDetection::ground_coeffs_callback ( const jsk_recognition_msgs::ModelCoefficientsArray::ConstPtr &  coefficients_msg)
protectedvirtual

Definition at line 161 of file people_detection_nodelet.cpp.

◆ infoCallback()

void jsk_pcl_ros::PeopleDetection::infoCallback ( const sensor_msgs::CameraInfo::ConstPtr &  info_msg)
protectedvirtual

Definition at line 177 of file people_detection_nodelet.cpp.

◆ onInit()

void jsk_pcl_ros::PeopleDetection::onInit ( )
protectedvirtual

Definition at line 44 of file people_detection_nodelet.cpp.

◆ set_ground_coeffs()

void jsk_pcl_ros::PeopleDetection::set_ground_coeffs ( const pcl_msgs::ModelCoefficients &  coefficients)
protectedvirtual

Definition at line 169 of file people_detection_nodelet.cpp.

◆ subscribe()

void jsk_pcl_ros::PeopleDetection::subscribe ( )
protectedvirtual

Definition at line 105 of file people_detection_nodelet.cpp.

◆ unsubscribe()

void jsk_pcl_ros::PeopleDetection::unsubscribe ( )
protectedvirtual

Definition at line 113 of file people_detection_nodelet.cpp.

Member Data Documentation

◆ box_depth_

double jsk_pcl_ros::PeopleDetection::box_depth_
protected

Definition at line 167 of file people_detection.h.

◆ box_width_

double jsk_pcl_ros::PeopleDetection::box_width_
protected

Definition at line 168 of file people_detection.h.

◆ ground_coeffs_

Eigen::VectorXf jsk_pcl_ros::PeopleDetection::ground_coeffs_
protected

Definition at line 165 of file people_detection.h.

◆ latest_camera_info_

sensor_msgs::CameraInfo::ConstPtr jsk_pcl_ros::PeopleDetection::latest_camera_info_
protected

Definition at line 159 of file people_detection.h.

◆ min_confidence_

double jsk_pcl_ros::PeopleDetection::min_confidence_
protected

Definition at line 169 of file people_detection.h.

◆ mutex_

boost::mutex jsk_pcl_ros::PeopleDetection::mutex_
protected

Definition at line 157 of file people_detection.h.

◆ people_detector_

pcl::people::GroundBasedPeopleDetectionApp<pcl::PointXYZRGBA> jsk_pcl_ros::PeopleDetection::people_detector_
protected

Definition at line 163 of file people_detection.h.

◆ people_height_threshold_

double jsk_pcl_ros::PeopleDetection::people_height_threshold_
protected

Definition at line 170 of file people_detection.h.

◆ person_classifier_

pcl::people::PersonClassifier<pcl::RGB> jsk_pcl_ros::PeopleDetection::person_classifier_
protected

Definition at line 161 of file people_detection.h.

◆ pub_box_

ros::Publisher jsk_pcl_ros::PeopleDetection::pub_box_
protected

Definition at line 146 of file people_detection.h.

◆ queue_size_

int jsk_pcl_ros::PeopleDetection::queue_size_
protected

Definition at line 172 of file people_detection.h.

◆ srv_

boost::shared_ptr<dynamic_reconfigure::Server<Config> > jsk_pcl_ros::PeopleDetection::srv_
protected

Definition at line 151 of file people_detection.h.

◆ sub_cloud_

ros::Subscriber jsk_pcl_ros::PeopleDetection::sub_cloud_
protected

Definition at line 142 of file people_detection.h.

◆ sub_coefficients_

ros::Subscriber jsk_pcl_ros::PeopleDetection::sub_coefficients_
protected

Definition at line 144 of file people_detection.h.

◆ sub_info_

ros::Subscriber jsk_pcl_ros::PeopleDetection::sub_info_
protected

Definition at line 143 of file people_detection.h.

◆ trained_filename_

std::string jsk_pcl_ros::PeopleDetection::trained_filename_
protected

Definition at line 173 of file people_detection.h.

◆ voxel_size_

double jsk_pcl_ros::PeopleDetection::voxel_size_
protected

Definition at line 171 of file people_detection.h.


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


jsk_pcl_ros
Author(s): Yohei Kakiuchi
autogenerated on Tue Jan 7 2025 04:05:46