Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
jsk_pcl_ros::SnapIt Class Reference

#include <snapit.h>

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

List of all members.

Public Types

typedef
message_filters::sync_policies::ExactTime
< jsk_recognition_msgs::PolygonArray,
jsk_recognition_msgs::ModelCoefficientsArray > 
SyncPolygonPolicy

Public Member Functions

 SnapIt ()

Protected Member Functions

virtual geometry_msgs::PoseStamped alignPose (Eigen::Affine3f &pose, jsk_recognition_utils::ConvexPolygon::Ptr convex)
virtual void convexAlignCallback (const geometry_msgs::PoseStamped::ConstPtr &pose_msg)
virtual void convexAlignPolygonCallback (const geometry_msgs::PolygonStamped::ConstPtr &poly_msg)
virtual std::vector
< jsk_recognition_utils::ConvexPolygon::Ptr
createConvexes (const std::string &frame_id, const ros::Time &stamp, jsk_recognition_msgs::PolygonArray::ConstPtr polygons)
virtual int findNearestConvex (const Eigen::Vector3f &pose_point, const std::vector< jsk_recognition_utils::ConvexPolygon::Ptr > &convexes)
virtual bool footstepAlignServiceCallback (jsk_recognition_msgs::SnapFootstep::Request &req, jsk_recognition_msgs::SnapFootstep::Response &res)
virtual void onInit ()
virtual void polygonAlignCallback (const geometry_msgs::PoseStamped::ConstPtr &pose_msg)
virtual void polygonCallback (const jsk_recognition_msgs::PolygonArray::ConstPtr &polygon_msg, const jsk_recognition_msgs::ModelCoefficientsArray::ConstPtr &coefficients_msg)
virtual void subscribe ()
virtual void unsubscribe ()

Protected Attributes

ros::ServiceServer align_footstep_srv_
ros::Subscriber convex_align_polygon_sub_
ros::Subscriber convex_align_sub_
ros::Publisher convex_aligned_pose_array_marker_pub_
ros::Publisher convex_aligned_pose_array_pub_
ros::Publisher convex_aligned_pub_
boost::mutex mutex_
ros::Subscriber polygon_align_sub_
ros::Publisher polygon_aligned_pub_
jsk_recognition_msgs::PolygonArray::ConstPtr polygons_
message_filters::Subscriber
< jsk_recognition_msgs::ModelCoefficientsArray > 
sub_coefficients_
message_filters::Subscriber
< jsk_recognition_msgs::PolygonArray > 
sub_polygons_
boost::shared_ptr
< message_filters::Synchronizer
< SyncPolygonPolicy > > 
sync_polygon_
tf::TransformListenertf_listener_
bool use_service_

Detailed Description

Definition at line 58 of file snapit.h.


Member Typedef Documentation

typedef message_filters::sync_policies::ExactTime< jsk_recognition_msgs::PolygonArray, jsk_recognition_msgs::ModelCoefficientsArray> jsk_pcl_ros::SnapIt::SyncPolygonPolicy

Definition at line 63 of file snapit.h.


Constructor & Destructor Documentation

Definition at line 64 of file snapit.h.


Member Function Documentation

geometry_msgs::PoseStamped jsk_pcl_ros::SnapIt::alignPose ( Eigen::Affine3f &  pose,
jsk_recognition_utils::ConvexPolygon::Ptr  convex 
) [protected, virtual]

Definition at line 277 of file snapit_nodelet.cpp.

void jsk_pcl_ros::SnapIt::convexAlignCallback ( const geometry_msgs::PoseStamped::ConstPtr &  pose_msg) [protected, virtual]

Definition at line 247 of file snapit_nodelet.cpp.

void jsk_pcl_ros::SnapIt::convexAlignPolygonCallback ( const geometry_msgs::PolygonStamped::ConstPtr &  poly_msg) [protected, virtual]

Definition at line 192 of file snapit_nodelet.cpp.

std::vector< jsk_recognition_utils::ConvexPolygon::Ptr > jsk_pcl_ros::SnapIt::createConvexes ( const std::string &  frame_id,
const ros::Time stamp,
jsk_recognition_msgs::PolygonArray::ConstPtr  polygons 
) [protected, virtual]

Definition at line 304 of file snapit_nodelet.cpp.

int jsk_pcl_ros::SnapIt::findNearestConvex ( const Eigen::Vector3f &  pose_point,
const std::vector< jsk_recognition_utils::ConvexPolygon::Ptr > &  convexes 
) [protected, virtual]

Definition at line 226 of file snapit_nodelet.cpp.

bool jsk_pcl_ros::SnapIt::footstepAlignServiceCallback ( jsk_recognition_msgs::SnapFootstep::Request &  req,
jsk_recognition_msgs::SnapFootstep::Response &  res 
) [protected, virtual]

Definition at line 155 of file snapit_nodelet.cpp.

void jsk_pcl_ros::SnapIt::onInit ( void  ) [protected, virtual]

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 59 of file snapit_nodelet.cpp.

void jsk_pcl_ros::SnapIt::polygonAlignCallback ( const geometry_msgs::PoseStamped::ConstPtr &  pose_msg) [protected, virtual]

Definition at line 116 of file snapit_nodelet.cpp.

void jsk_pcl_ros::SnapIt::polygonCallback ( const jsk_recognition_msgs::PolygonArray::ConstPtr &  polygon_msg,
const jsk_recognition_msgs::ModelCoefficientsArray::ConstPtr &  coefficients_msg 
) [protected, virtual]

Definition at line 107 of file snapit_nodelet.cpp.

void jsk_pcl_ros::SnapIt::subscribe ( ) [protected, virtual]

Implements jsk_topic_tools::ConnectionBasedNodelet.

Definition at line 78 of file snapit_nodelet.cpp.

void jsk_pcl_ros::SnapIt::unsubscribe ( ) [protected, virtual]

Implements jsk_topic_tools::ConnectionBasedNodelet.

Definition at line 96 of file snapit_nodelet.cpp.


Member Data Documentation

Definition at line 108 of file snapit.h.

Definition at line 106 of file snapit.h.

Definition at line 105 of file snapit.h.

Definition at line 103 of file snapit.h.

Definition at line 102 of file snapit.h.

Definition at line 101 of file snapit.h.

Definition at line 110 of file snapit.h.

Definition at line 104 of file snapit.h.

Definition at line 100 of file snapit.h.

jsk_recognition_msgs::PolygonArray::ConstPtr jsk_pcl_ros::SnapIt::polygons_ [protected]

Definition at line 109 of file snapit.h.

message_filters::Subscriber<jsk_recognition_msgs::ModelCoefficientsArray> jsk_pcl_ros::SnapIt::sub_coefficients_ [protected]

Definition at line 98 of file snapit.h.

message_filters::Subscriber<jsk_recognition_msgs::PolygonArray> jsk_pcl_ros::SnapIt::sub_polygons_ [protected]

Definition at line 97 of file snapit.h.

Definition at line 99 of file snapit.h.

Definition at line 96 of file snapit.h.

Definition at line 107 of file snapit.h.


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


jsk_pcl_ros
Author(s): Yohei Kakiuchi
autogenerated on Sun Oct 8 2017 02:43:51