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

#include <linemod.h>

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

Public Types

typedef LINEMODDetectorConfig Config
 
- Public Types inherited from jsk_topic_tools::DiagnosticNodelet
typedef boost::shared_ptr< DiagnosticNodeletPtr
 

Public Member Functions

 LINEMODDetector ()
 
- 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

virtual void computeCenterOfTemplate (pcl::PointCloud< pcl::PointXYZRGBA >::Ptr cloud, const pcl::SparseQuantizedMultiModTemplate &linemod_template, const pcl::LINEMODDetection &linemod_detection, Eigen::Vector3f &center)
 
virtual void configCallback (Config &config, uint32_t level)
 
virtual void detect (const sensor_msgs::PointCloud2::ConstPtr &cloud_msg)
 
virtual void onInit ()
 
virtual void setTemplate (YAML::Node doc)
 
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

pcl::ColorGradientModality< pcl::PointXYZRGBA > color_gradient_mod_
 
double detection_threshold_
 
double gradient_magnitude_threshold_
 
pcl::LINEMOD linemod_
 
boost::mutex mutex_
 
ros::Publisher pub_cloud_
 
ros::Publisher pub_detect_mask_
 
ros::Publisher pub_original_template_cloud_
 
ros::Publisher pub_pose_
 
boost::shared_ptr< dynamic_reconfigure::Server< Config > > srv_
 
ros::Subscriber sub_cloud_
 
pcl::SurfaceNormalModality< pcl::PointXYZRGBA > surface_normal_mod_
 
std::vector< jsk_recognition_msgs::BoundingBox > template_bboxes_
 
pcl::PointCloud< pcl::PointXYZRGBA >::Ptr template_cloud_
 
std::string template_file_
 
std::vector< Eigen::Affine3f > template_poses_
 
- 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 66 of file linemod.h.

Member Typedef Documentation

typedef LINEMODDetectorConfig jsk_pcl_ros::LINEMODDetector::Config

Definition at line 69 of file linemod.h.

Constructor & Destructor Documentation

jsk_pcl_ros::LINEMODDetector::LINEMODDetector ( )
inline

Definition at line 70 of file linemod.h.

Member Function Documentation

void jsk_pcl_ros::LINEMODDetector::computeCenterOfTemplate ( pcl::PointCloud< pcl::PointXYZRGBA >::Ptr  cloud,
const pcl::SparseQuantizedMultiModTemplate &  linemod_template,
const pcl::LINEMODDetection &  linemod_detection,
Eigen::Vector3f &  center 
)
protectedvirtual

Definition at line 638 of file linemod_nodelet.cpp.

void jsk_pcl_ros::LINEMODDetector::configCallback ( Config config,
uint32_t  level 
)
protectedvirtual

Definition at line 622 of file linemod_nodelet.cpp.

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

Definition at line 667 of file linemod_nodelet.cpp.

void jsk_pcl_ros::LINEMODDetector::onInit ( void  )
protectedvirtual

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 553 of file linemod_nodelet.cpp.

void jsk_pcl_ros::LINEMODDetector::setTemplate ( YAML::Node  doc)
protectedvirtual

Definition at line 603 of file linemod_nodelet.cpp.

void jsk_pcl_ros::LINEMODDetector::subscribe ( )
protectedvirtual

Implements jsk_topic_tools::ConnectionBasedNodelet.

Definition at line 593 of file linemod_nodelet.cpp.

void jsk_pcl_ros::LINEMODDetector::unsubscribe ( )
protectedvirtual

Implements jsk_topic_tools::ConnectionBasedNodelet.

Definition at line 598 of file linemod_nodelet.cpp.

Member Data Documentation

pcl::ColorGradientModality<pcl::PointXYZRGBA> jsk_pcl_ros::LINEMODDetector::color_gradient_mod_
protected

Definition at line 110 of file linemod.h.

double jsk_pcl_ros::LINEMODDetector::detection_threshold_
protected

Definition at line 104 of file linemod.h.

double jsk_pcl_ros::LINEMODDetector::gradient_magnitude_threshold_
protected

Definition at line 103 of file linemod.h.

pcl::LINEMOD jsk_pcl_ros::LINEMODDetector::linemod_
protected

Definition at line 106 of file linemod.h.

boost::mutex jsk_pcl_ros::LINEMODDetector::mutex_
protected

Definition at line 96 of file linemod.h.

ros::Publisher jsk_pcl_ros::LINEMODDetector::pub_cloud_
protected

Definition at line 92 of file linemod.h.

ros::Publisher jsk_pcl_ros::LINEMODDetector::pub_detect_mask_
protected

Definition at line 93 of file linemod.h.

ros::Publisher jsk_pcl_ros::LINEMODDetector::pub_original_template_cloud_
protected

Definition at line 95 of file linemod.h.

ros::Publisher jsk_pcl_ros::LINEMODDetector::pub_pose_
protected

Definition at line 94 of file linemod.h.

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

Definition at line 97 of file linemod.h.

ros::Subscriber jsk_pcl_ros::LINEMODDetector::sub_cloud_
protected

Definition at line 91 of file linemod.h.

pcl::SurfaceNormalModality<pcl::PointXYZRGBA> jsk_pcl_ros::LINEMODDetector::surface_normal_mod_
protected

Definition at line 111 of file linemod.h.

std::vector<jsk_recognition_msgs::BoundingBox> jsk_pcl_ros::LINEMODDetector::template_bboxes_
protected

Definition at line 109 of file linemod.h.

pcl::PointCloud<pcl::PointXYZRGBA>::Ptr jsk_pcl_ros::LINEMODDetector::template_cloud_
protected

Definition at line 107 of file linemod.h.

std::string jsk_pcl_ros::LINEMODDetector::template_file_
protected

Definition at line 102 of file linemod.h.

std::vector<Eigen::Affine3f> jsk_pcl_ros::LINEMODDetector::template_poses_
protected

Definition at line 108 of file linemod.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