keypoints_publisher.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <ros/ros.h>
4 
5 #include <pcl/point_types.h>
6 #include <pcl_ros/pcl_nodelet.h>
7 #include <pcl/point_cloud.h>
8 #include <jsk_topic_tools/connection_based_nodelet.h>
9 
10 namespace jsk_pcl_ros
11 {
12  class KeypointsPublisher: public jsk_topic_tools::ConnectionBasedNodelet
13  {
14  public:
15  virtual void onInit();
16  protected:
17  virtual void inputCallback(const sensor_msgs::PointCloud2::ConstPtr& input);
18  virtual void extractKeypoints(pcl::PointCloud<pcl::PointXYZ>::Ptr cloud);
19  virtual void subscribe();
20  virtual void unsubscribe();
23  pcl::PointCloud<pcl::PointXYZ>::Ptr input_;
24  std_msgs::Header input_header_;
25  };
26 }
jsk_pcl_ros::KeypointsPublisher::onInit
virtual void onInit()
Definition: keypoints_publisher_nodelet.cpp:80
ros::Publisher
jsk_pcl_ros::KeypointsPublisher::input_header_
std_msgs::Header input_header_
Definition: keypoints_publisher.h:24
ros.h
cloud
cloud
pcl_nodelet.h
jsk_pcl_ros::KeypointsPublisher::inputCallback
virtual void inputCallback(const sensor_msgs::PointCloud2::ConstPtr &input)
Definition: keypoints_publisher_nodelet.cpp:100
jsk_pcl_ros::KeypointsPublisher::sub_input_
ros::Subscriber sub_input_
Definition: keypoints_publisher.h:21
jsk_pcl_ros::KeypointsPublisher::unsubscribe
virtual void unsubscribe()
Definition: keypoints_publisher_nodelet.cpp:95
jsk_pcl_ros
Definition: add_color_from_image.h:51
jsk_pcl_ros::KeypointsPublisher::keypoints_pub_
ros::Publisher keypoints_pub_
Definition: keypoints_publisher.h:22
jsk_pcl_ros::KeypointsPublisher::subscribe
virtual void subscribe()
Definition: keypoints_publisher_nodelet.cpp:90
jsk_pcl_ros::KeypointsPublisher::extractKeypoints
virtual void extractKeypoints(pcl::PointCloud< pcl::PointXYZ >::Ptr cloud)
Definition: keypoints_publisher_nodelet.cpp:107
jsk_pcl_ros::KeypointsPublisher
Definition: keypoints_publisher.h:12
jsk_pcl_ros::KeypointsPublisher::input_
pcl::PointCloud< pcl::PointXYZ >::Ptr input_
Definition: keypoints_publisher.h:23
depth_error_calibration.input
input
Definition: depth_error_calibration.py:43
ros::Subscriber


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