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 Types inherited from jsk_topic_tools::DiagnosticNodelet
typedef boost::shared_ptr< DiagnosticNodeletPtr
 

Public Member Functions

 PeopleDetection ()
 
- Public Member Functions inherited from jsk_topic_tools::DiagnosticNodelet
 DiagnosticNodelet (const std::string &name)
 
- Public Member Functions inherited from jsk_topic_tools::ConnectionBasedNodelet
 ConnectionBasedNodelet ()
 
- Public Member Functions inherited from nodelet::Nodelet
void init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL)
 
 Nodelet ()
 
virtual ~Nodelet ()
 

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 Member Functions inherited from jsk_topic_tools::DiagnosticNodelet
virtual void updateDiagnostic (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
- Protected Member Functions inherited from jsk_topic_tools::ConnectionBasedNodelet
ros::Publisher advertise (ros::NodeHandle &nh, std::string topic, int queue_size)
 
image_transport::CameraPublisher advertiseCamera (ros::NodeHandle &nh, image_transport::ImageTransport &it, const std::string &topic, int queue_size)
 
image_transport::CameraPublisher advertiseCamera (ros::NodeHandle &nh, const std::string &topic, int queue_size)
 
image_transport::Publisher advertiseImage (ros::NodeHandle &nh, image_transport::ImageTransport &it, const std::string &topic, int queue_size)
 
image_transport::Publisher advertiseImage (ros::NodeHandle &nh, const std::string &topic, int queue_size)
 
virtual void cameraConnectionBaseCallback ()
 
virtual void cameraConnectionCallback (const image_transport::SingleSubscriberPublisher &pub)
 
virtual void cameraInfoConnectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void connectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void imageConnectionCallback (const image_transport::SingleSubscriberPublisher &pub)
 
virtual bool isSubscribed ()
 
virtual void onInitPostProcess ()
 
virtual void warnNeverSubscribedCallback (const ros::WallTimerEvent &event)
 
virtual void warnOnInitPostProcessCalledCallback (const ros::WallTimerEvent &event)
 
- Protected Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::stringgetName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

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_
 
- Protected Attributes inherited from jsk_topic_tools::DiagnosticNodelet
TimeredDiagnosticUpdater::Ptr diagnostic_updater_
 
const std::string name_
 
jsk_topic_tools::VitalChecker::Ptr vital_checker_
 
- Protected Attributes inherited from jsk_topic_tools::ConnectionBasedNodelet
bool always_subscribe_
 
std::vector< image_transport::CameraPublishercamera_publishers_
 
boost::mutex connection_mutex_
 
ConnectionStatus connection_status_
 
bool ever_subscribed_
 
std::vector< image_transport::Publisherimage_publishers_
 
boost::shared_ptr< ros::NodeHandlenh_
 
bool on_init_post_process_called_
 
boost::shared_ptr< ros::NodeHandlepnh_
 
std::vector< ros::Publisherpublishers_
 
bool subscribed_
 
ros::WallTimer timer_warn_never_subscribed_
 
ros::WallTimer timer_warn_on_init_post_process_called_
 
bool verbose_connection_
 

Detailed Description

Definition at line 52 of file people_detection.h.

Member Typedef Documentation

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

Definition at line 56 of file people_detection.h.

Constructor & Destructor Documentation

jsk_pcl_ros::PeopleDetection::PeopleDetection ( )
inline

Definition at line 54 of file people_detection.h.

Member Function Documentation

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

Definition at line 94 of file people_detection_nodelet.cpp.

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

Definition at line 119 of file people_detection_nodelet.cpp.

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.

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

Definition at line 177 of file people_detection_nodelet.cpp.

void jsk_pcl_ros::PeopleDetection::onInit ( void  )
protectedvirtual

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 44 of file people_detection_nodelet.cpp.

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

Definition at line 169 of file people_detection_nodelet.cpp.

void jsk_pcl_ros::PeopleDetection::subscribe ( )
protectedvirtual
void jsk_pcl_ros::PeopleDetection::unsubscribe ( )
protectedvirtual

Member Data Documentation

double jsk_pcl_ros::PeopleDetection::box_depth_
protected

Definition at line 103 of file people_detection.h.

double jsk_pcl_ros::PeopleDetection::box_width_
protected

Definition at line 104 of file people_detection.h.

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

Definition at line 101 of file people_detection.h.

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

Definition at line 95 of file people_detection.h.

double jsk_pcl_ros::PeopleDetection::min_confidence_
protected

Definition at line 105 of file people_detection.h.

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

Definition at line 93 of file people_detection.h.

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

Definition at line 99 of file people_detection.h.

double jsk_pcl_ros::PeopleDetection::people_height_threshold_
protected

Definition at line 106 of file people_detection.h.

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

Definition at line 97 of file people_detection.h.

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

Definition at line 82 of file people_detection.h.

int jsk_pcl_ros::PeopleDetection::queue_size_
protected

Definition at line 108 of file people_detection.h.

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

Definition at line 87 of file people_detection.h.

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

Definition at line 78 of file people_detection.h.

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

Definition at line 80 of file people_detection.h.

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

Definition at line 79 of file people_detection.h.

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

Definition at line 109 of file people_detection.h.

double jsk_pcl_ros::PeopleDetection::voxel_size_
protected

Definition at line 107 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 Mon May 3 2021 03:03:48