Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
jsk_pcl_ros::SnapIt Class Reference

#include <snapit.h>

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

Public Types

typedef message_filters::sync_policies::ExactTime< jsk_recognition_msgs::PolygonArray, jsk_recognition_msgs::ModelCoefficientsArray > SyncPolygonPolicy
 
- Public Types inherited from jsk_topic_tools::DiagnosticNodelet
typedef boost::shared_ptr< DiagnosticNodeletPtr
 

Public Member Functions

 SnapIt ()
 
- Public Member Functions inherited from jsk_topic_tools::DiagnosticNodelet
 DiagnosticNodelet (const std::string &name)
 
- Public Member Functions inherited from jsk_topic_tools::ConnectionBasedNodelet
 ConnectionBasedNodelet ()
 
- Public Member Functions inherited from nodelet::Nodelet
void init (const std::string &name, const M_string &remapping_args, const V_string &my_argv, ros::CallbackQueueInterface *st_queue=NULL, ros::CallbackQueueInterface *mt_queue=NULL)
 
 Nodelet ()
 
virtual ~Nodelet ()
 

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::PtrcreateConvexes (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 Member Functions inherited from jsk_topic_tools::DiagnosticNodelet
virtual void updateDiagnostic (diagnostic_updater::DiagnosticStatusWrapper &stat)
 
- Protected Member Functions inherited from jsk_topic_tools::ConnectionBasedNodelet
ros::Publisher advertise (ros::NodeHandle &nh, std::string topic, int queue_size)
 
image_transport::CameraPublisher advertiseCamera (ros::NodeHandle &nh, image_transport::ImageTransport &it, const std::string &topic, int queue_size)
 
image_transport::CameraPublisher advertiseCamera (ros::NodeHandle &nh, const std::string &topic, int queue_size)
 
image_transport::Publisher advertiseImage (ros::NodeHandle &nh, image_transport::ImageTransport &it, const std::string &topic, int queue_size)
 
image_transport::Publisher advertiseImage (ros::NodeHandle &nh, const std::string &topic, int queue_size)
 
virtual void cameraConnectionBaseCallback ()
 
virtual void cameraConnectionCallback (const image_transport::SingleSubscriberPublisher &pub)
 
virtual void cameraInfoConnectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void connectionCallback (const ros::SingleSubscriberPublisher &pub)
 
virtual void imageConnectionCallback (const image_transport::SingleSubscriberPublisher &pub)
 
virtual bool isSubscribed ()
 
virtual void onInitPostProcess ()
 
virtual void warnNeverSubscribedCallback (const ros::WallTimerEvent &event)
 
virtual void warnOnInitPostProcessCalledCallback (const ros::WallTimerEvent &event)
 
- Protected Member Functions inherited from nodelet::Nodelet
ros::CallbackQueueInterfacegetMTCallbackQueue () const
 
ros::NodeHandlegetMTNodeHandle () const
 
ros::NodeHandlegetMTPrivateNodeHandle () const
 
const V_stringgetMyArgv () const
 
const std::stringgetName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

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_
 
- Protected Attributes inherited from jsk_topic_tools::DiagnosticNodelet
TimeredDiagnosticUpdater::Ptr diagnostic_updater_
 
const std::string name_
 
jsk_topic_tools::VitalChecker::Ptr vital_checker_
 
- Protected Attributes inherited from jsk_topic_tools::ConnectionBasedNodelet
bool always_subscribe_
 
std::vector< image_transport::CameraPublishercamera_publishers_
 
boost::mutex connection_mutex_
 
ConnectionStatus connection_status_
 
bool ever_subscribed_
 
std::vector< image_transport::Publisherimage_publishers_
 
boost::shared_ptr< ros::NodeHandlenh_
 
bool on_init_post_process_called_
 
boost::shared_ptr< ros::NodeHandlepnh_
 
std::vector< ros::Publisherpublishers_
 
bool subscribed_
 
ros::WallTimer timer_warn_never_subscribed_
 
ros::WallTimer timer_warn_on_init_post_process_called_
 
bool verbose_connection_
 

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

jsk_pcl_ros::SnapIt::SnapIt ( )
inline

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 
)
protectedvirtual

Definition at line 277 of file snapit_nodelet.cpp.

void jsk_pcl_ros::SnapIt::convexAlignCallback ( const geometry_msgs::PoseStamped::ConstPtr &  pose_msg)
protectedvirtual

Definition at line 247 of file snapit_nodelet.cpp.

void jsk_pcl_ros::SnapIt::convexAlignPolygonCallback ( const geometry_msgs::PolygonStamped::ConstPtr &  poly_msg)
protectedvirtual

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 
)
protectedvirtual

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 
)
protectedvirtual

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 
)
protectedvirtual

Definition at line 155 of file snapit_nodelet.cpp.

void jsk_pcl_ros::SnapIt::onInit ( void  )
protectedvirtual

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)
protectedvirtual

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 
)
protectedvirtual

Definition at line 107 of file snapit_nodelet.cpp.

void jsk_pcl_ros::SnapIt::subscribe ( )
protectedvirtual

Implements jsk_topic_tools::ConnectionBasedNodelet.

Definition at line 78 of file snapit_nodelet.cpp.

void jsk_pcl_ros::SnapIt::unsubscribe ( )
protectedvirtual

Implements jsk_topic_tools::ConnectionBasedNodelet.

Definition at line 96 of file snapit_nodelet.cpp.

Member Data Documentation

ros::ServiceServer jsk_pcl_ros::SnapIt::align_footstep_srv_
protected

Definition at line 108 of file snapit.h.

ros::Subscriber jsk_pcl_ros::SnapIt::convex_align_polygon_sub_
protected

Definition at line 106 of file snapit.h.

ros::Subscriber jsk_pcl_ros::SnapIt::convex_align_sub_
protected

Definition at line 105 of file snapit.h.

ros::Publisher jsk_pcl_ros::SnapIt::convex_aligned_pose_array_marker_pub_
protected

Definition at line 103 of file snapit.h.

ros::Publisher jsk_pcl_ros::SnapIt::convex_aligned_pose_array_pub_
protected

Definition at line 102 of file snapit.h.

ros::Publisher jsk_pcl_ros::SnapIt::convex_aligned_pub_
protected

Definition at line 101 of file snapit.h.

boost::mutex jsk_pcl_ros::SnapIt::mutex_
protected

Definition at line 110 of file snapit.h.

ros::Subscriber jsk_pcl_ros::SnapIt::polygon_align_sub_
protected

Definition at line 104 of file snapit.h.

ros::Publisher jsk_pcl_ros::SnapIt::polygon_aligned_pub_
protected

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.

boost::shared_ptr<message_filters::Synchronizer<SyncPolygonPolicy> > jsk_pcl_ros::SnapIt::sync_polygon_
protected

Definition at line 99 of file snapit.h.

tf::TransformListener* jsk_pcl_ros::SnapIt::tf_listener_
protected

Definition at line 96 of file snapit.h.

bool jsk_pcl_ros::SnapIt::use_service_
protected

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 Mon May 3 2021 03:03:48