#include <static_polygon_array_publisher.h>
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 ¶m) |
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_ |
Definition at line 63 of file static_polygon_array_publisher.h.
typedef message_filters::sync_policies::ApproximateTime< sensor_msgs::PointCloud2, jsk_recognition_msgs::Int32Stamped > jsk_pcl_ros::StaticPolygonArrayPublisher::SyncPolicy |
Definition at line 69 of file static_polygon_array_publisher.h.
double jsk_pcl_ros::StaticPolygonArrayPublisher::getXMLDoubleValue | ( | XmlRpc::XmlRpcValue | val | ) | [protected, virtual] |
Definition at line 217 of file static_polygon_array_publisher_nodelet.cpp.
void jsk_pcl_ros::StaticPolygonArrayPublisher::inputCallback | ( | const sensor_msgs::PointCloud2::ConstPtr & | msg | ) | [protected, virtual] |
Definition at line 229 of file static_polygon_array_publisher_nodelet.cpp.
void jsk_pcl_ros::StaticPolygonArrayPublisher::onInit | ( | void | ) | [protected, virtual] |
Reimplemented from jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 42 of file static_polygon_array_publisher_nodelet.cpp.
PCLModelCoefficientMsg jsk_pcl_ros::StaticPolygonArrayPublisher::polygonToModelCoefficients | ( | const geometry_msgs::PolygonStamped & | polygon | ) | [protected, virtual] |
Definition at line 134 of file static_polygon_array_publisher_nodelet.cpp.
void jsk_pcl_ros::StaticPolygonArrayPublisher::publishPolygon | ( | const ros::Time & | stamp | ) | [protected, virtual] |
Definition at line 239 of file static_polygon_array_publisher_nodelet.cpp.
bool jsk_pcl_ros::StaticPolygonArrayPublisher::readPolygonArray | ( | const std::string & | param | ) | [protected, virtual] |
Definition at line 164 of file static_polygon_array_publisher_nodelet.cpp.
void jsk_pcl_ros::StaticPolygonArrayPublisher::subscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 99 of file static_polygon_array_publisher_nodelet.cpp.
void jsk_pcl_ros::StaticPolygonArrayPublisher::timerCallback | ( | const ros::TimerEvent & | event | ) | [protected, virtual] |
Definition at line 234 of file static_polygon_array_publisher_nodelet.cpp.
void jsk_pcl_ros::StaticPolygonArrayPublisher::triggerCallback | ( | const sensor_msgs::PointCloud2::ConstPtr & | input, |
const jsk_recognition_msgs::Int32Stamped::ConstPtr & | trigger | ||
) | [protected, virtual] |
Definition at line 127 of file static_polygon_array_publisher_nodelet.cpp.
void jsk_pcl_ros::StaticPolygonArrayPublisher::unsubscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 116 of file static_polygon_array_publisher_nodelet.cpp.
jsk_recognition_msgs::ModelCoefficientsArray jsk_pcl_ros::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.
Definition at line 81 of file static_polygon_array_publisher.h.
double jsk_pcl_ros::StaticPolygonArrayPublisher::periodic_rate_ [protected] |
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::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.
message_filters::Subscriber<sensor_msgs::PointCloud2> jsk_pcl_ros::StaticPolygonArrayPublisher::sub_input_ [protected] |
Definition at line 83 of file static_polygon_array_publisher.h.
message_filters::Subscriber<jsk_recognition_msgs::Int32Stamped> jsk_pcl_ros::StaticPolygonArrayPublisher::sub_trigger_ [protected] |
Definition at line 84 of file static_polygon_array_publisher.h.
boost::shared_ptr<message_filters::Synchronizer<SyncPolicy> > jsk_pcl_ros::StaticPolygonArrayPublisher::sync_ [protected] |
Definition at line 85 of file static_polygon_array_publisher.h.
Definition at line 82 of file static_polygon_array_publisher.h.
bool jsk_pcl_ros::StaticPolygonArrayPublisher::use_message_ [protected] |
Definition at line 78 of file static_polygon_array_publisher.h.
bool jsk_pcl_ros::StaticPolygonArrayPublisher::use_periodic_ [protected] |
Definition at line 77 of file static_polygon_array_publisher.h.
bool jsk_pcl_ros::StaticPolygonArrayPublisher::use_trigger_ [protected] |
Definition at line 79 of file static_polygon_array_publisher.h.