#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_utils::StaticPolygonArrayPublisher::SyncPolicy |
Definition at line 69 of file static_polygon_array_publisher.h.
double jsk_pcl_ros_utils::StaticPolygonArrayPublisher::getXMLDoubleValue | ( | XmlRpc::XmlRpcValue | val | ) | [protected, virtual] |
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] |
Reimplemented from jsk_topic_tools::ConnectionBasedNodelet.
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.
void jsk_pcl_ros_utils::StaticPolygonArrayPublisher::subscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 100 of file static_polygon_array_publisher_nodelet.cpp.
void jsk_pcl_ros_utils::StaticPolygonArrayPublisher::timerCallback | ( | const ros::TimerEvent & | event | ) | [protected, virtual] |
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.
void jsk_pcl_ros_utils::StaticPolygonArrayPublisher::unsubscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 117 of file static_polygon_array_publisher_nodelet.cpp.
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.
double jsk_pcl_ros_utils::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_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.
message_filters::Subscriber<sensor_msgs::PointCloud2> jsk_pcl_ros_utils::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_utils::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_utils::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_utils::StaticPolygonArrayPublisher::use_message_ [protected] |
Definition at line 78 of file static_polygon_array_publisher.h.
bool jsk_pcl_ros_utils::StaticPolygonArrayPublisher::use_periodic_ [protected] |
Definition at line 77 of file static_polygon_array_publisher.h.
bool jsk_pcl_ros_utils::StaticPolygonArrayPublisher::use_trigger_ [protected] |
Definition at line 79 of file static_polygon_array_publisher.h.