Public Types | Protected Member Functions | Protected Attributes
jsk_pcl_ros_utils::StaticPolygonArrayPublisher Class Reference

#include <static_polygon_array_publisher.h>

List of all members.

Public Types

typedef
message_filters::sync_policies::ApproximateTime
< sensor_msgs::PointCloud2,
jsk_recognition_msgs::Int32Stamped > 
SyncPolicy

Protected Member Functions

virtual double getXMLDoubleValue (XmlRpc::XmlRpcValue val)
virtual void inputCallback (const sensor_msgs::PointCloud2::ConstPtr &msg)
virtual void onInit ()
virtual PCLModelCoefficientMsg polygonToModelCoefficients (const geometry_msgs::PolygonStamped &polygon)
virtual void publishPolygon (const ros::Time &stamp)
virtual bool readPolygonArray (const std::string &param)
virtual void subscribe ()
virtual void timerCallback (const ros::TimerEvent &event)
virtual void triggerCallback (const sensor_msgs::PointCloud2::ConstPtr &input, const jsk_recognition_msgs::Int32Stamped::ConstPtr &trigger)
virtual void unsubscribe ()

Protected Attributes

jsk_recognition_msgs::ModelCoefficientsArray coefficients_
ros::Publisher coefficients_pub_
std::vector< std::string > frame_ids_
double periodic_rate_
ros::Timer periodic_timer_
ros::Publisher polygon_pub_
jsk_recognition_msgs::PolygonArray polygons_
ros::Subscriber sub_
message_filters::Subscriber
< sensor_msgs::PointCloud2 > 
sub_input_
message_filters::Subscriber
< jsk_recognition_msgs::Int32Stamped > 
sub_trigger_
boost::shared_ptr
< message_filters::Synchronizer
< SyncPolicy > > 
sync_
ros::Timer timer_
bool use_message_
bool use_periodic_
bool use_trigger_

Detailed Description

Definition at line 63 of file static_polygon_array_publisher.h.


Member Typedef Documentation

typedef message_filters::sync_policies::ApproximateTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::Int32Stamped > jsk_pcl_ros_utils::StaticPolygonArrayPublisher::SyncPolicy

Definition at line 69 of file static_polygon_array_publisher.h.


Member Function Documentation

Definition at line 218 of file static_polygon_array_publisher_nodelet.cpp.

void jsk_pcl_ros_utils::StaticPolygonArrayPublisher::inputCallback ( const sensor_msgs::PointCloud2::ConstPtr &  msg) [protected, virtual]

Definition at line 230 of file static_polygon_array_publisher_nodelet.cpp.

void jsk_pcl_ros_utils::StaticPolygonArrayPublisher::onInit ( void  ) [protected, virtual]

Definition at line 42 of file static_polygon_array_publisher_nodelet.cpp.

PCLModelCoefficientMsg jsk_pcl_ros_utils::StaticPolygonArrayPublisher::polygonToModelCoefficients ( const geometry_msgs::PolygonStamped &  polygon) [protected, virtual]

Definition at line 135 of file static_polygon_array_publisher_nodelet.cpp.

void jsk_pcl_ros_utils::StaticPolygonArrayPublisher::publishPolygon ( const ros::Time stamp) [protected, virtual]

Definition at line 240 of file static_polygon_array_publisher_nodelet.cpp.

bool jsk_pcl_ros_utils::StaticPolygonArrayPublisher::readPolygonArray ( const std::string &  param) [protected, virtual]

Definition at line 165 of file static_polygon_array_publisher_nodelet.cpp.

Definition at line 100 of file static_polygon_array_publisher_nodelet.cpp.

Definition at line 235 of file static_polygon_array_publisher_nodelet.cpp.

void jsk_pcl_ros_utils::StaticPolygonArrayPublisher::triggerCallback ( const sensor_msgs::PointCloud2::ConstPtr &  input,
const jsk_recognition_msgs::Int32Stamped::ConstPtr &  trigger 
) [protected, virtual]

Definition at line 128 of file static_polygon_array_publisher_nodelet.cpp.

Definition at line 117 of file static_polygon_array_publisher_nodelet.cpp.


Member Data Documentation

jsk_recognition_msgs::ModelCoefficientsArray jsk_pcl_ros_utils::StaticPolygonArrayPublisher::coefficients_ [protected]

Definition at line 75 of file static_polygon_array_publisher.h.

Definition at line 72 of file static_polygon_array_publisher.h.

std::vector<std::string> jsk_pcl_ros_utils::StaticPolygonArrayPublisher::frame_ids_ [protected]

Definition at line 81 of file static_polygon_array_publisher.h.

Definition at line 80 of file static_polygon_array_publisher.h.

Definition at line 76 of file static_polygon_array_publisher.h.

Definition at line 72 of file static_polygon_array_publisher.h.

jsk_recognition_msgs::PolygonArray jsk_pcl_ros_utils::StaticPolygonArrayPublisher::polygons_ [protected]

Definition at line 74 of file static_polygon_array_publisher.h.

Definition at line 73 of file static_polygon_array_publisher.h.

Definition at line 83 of file static_polygon_array_publisher.h.

Definition at line 84 of file static_polygon_array_publisher.h.

Definition at line 85 of file static_polygon_array_publisher.h.

Definition at line 82 of file static_polygon_array_publisher.h.

Definition at line 78 of file static_polygon_array_publisher.h.

Definition at line 77 of file static_polygon_array_publisher.h.

Definition at line 79 of file static_polygon_array_publisher.h.


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


jsk_pcl_ros_utils
Author(s): Yohei Kakiuchi
autogenerated on Tue Jul 2 2019 19:40:52