#include <snapit.h>
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, 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 < 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< ConvexPolygon::Ptr > &convexes) |
virtual bool | footstepAlignServiceCallback (jsk_pcl_ros::SnapFootstep::Request &req, jsk_pcl_ros::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::TransformListener * | tf_listener_ |
bool | use_service_ |
typedef message_filters::sync_policies::ExactTime< jsk_recognition_msgs::PolygonArray, jsk_recognition_msgs::ModelCoefficientsArray> jsk_pcl_ros::SnapIt::SyncPolygonPolicy |
jsk_pcl_ros::SnapIt::SnapIt | ( | ) | [inline] |
geometry_msgs::PoseStamped jsk_pcl_ros::SnapIt::alignPose | ( | Eigen::Affine3f & | pose, |
ConvexPolygon::Ptr | convex | ||
) | [protected, virtual] |
Definition at line 276 of file snapit_nodelet.cpp.
void jsk_pcl_ros::SnapIt::convexAlignCallback | ( | const geometry_msgs::PoseStamped::ConstPtr & | pose_msg | ) | [protected, virtual] |
Definition at line 246 of file snapit_nodelet.cpp.
void jsk_pcl_ros::SnapIt::convexAlignPolygonCallback | ( | const geometry_msgs::PolygonStamped::ConstPtr & | poly_msg | ) | [protected, virtual] |
Definition at line 191 of file snapit_nodelet.cpp.
std::vector< 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 303 of file snapit_nodelet.cpp.
int jsk_pcl_ros::SnapIt::findNearestConvex | ( | const Eigen::Vector3f & | pose_point, |
const std::vector< ConvexPolygon::Ptr > & | convexes | ||
) | [protected, virtual] |
Definition at line 225 of file snapit_nodelet.cpp.
bool jsk_pcl_ros::SnapIt::footstepAlignServiceCallback | ( | jsk_pcl_ros::SnapFootstep::Request & | req, |
jsk_pcl_ros::SnapFootstep::Response & | res | ||
) | [protected, virtual] |
Definition at line 154 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 115 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 106 of file snapit_nodelet.cpp.
void jsk_pcl_ros::SnapIt::subscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 77 of file snapit_nodelet.cpp.
void jsk_pcl_ros::SnapIt::unsubscribe | ( | ) | [protected, virtual] |
Implements jsk_topic_tools::ConnectionBasedNodelet.
Definition at line 95 of file snapit_nodelet.cpp.
boost::mutex jsk_pcl_ros::SnapIt::mutex_ [protected] |
jsk_recognition_msgs::PolygonArray::ConstPtr jsk_pcl_ros::SnapIt::polygons_ [protected] |
message_filters::Subscriber<jsk_recognition_msgs::ModelCoefficientsArray> jsk_pcl_ros::SnapIt::sub_coefficients_ [protected] |
message_filters::Subscriber<jsk_recognition_msgs::PolygonArray> jsk_pcl_ros::SnapIt::sub_polygons_ [protected] |
boost::shared_ptr<message_filters::Synchronizer<SyncPolygonPolicy> > jsk_pcl_ros::SnapIt::sync_polygon_ [protected] |
tf::TransformListener* jsk_pcl_ros::SnapIt::tf_listener_ [protected] |
bool jsk_pcl_ros::SnapIt::use_service_ [protected] |