Public Types | Public Member Functions | Public Attributes | Protected Member Functions | Protected Attributes | List of all members
imagesift::SiftNode Class Reference

#include <imagesift.h>

Inheritance diagram for imagesift::SiftNode:
Inheritance graph
[legend]

Public Types

typedef message_filters::sync_policies::ExactTime< sensor_msgs::Image, sensor_msgs::Image > SyncPolicy
 
- Public Types inherited from jsk_topic_tools::DiagnosticNodelet
typedef boost::shared_ptr< DiagnosticNodeletPtr
 

Public Member Functions

 SiftNode ()
 
- 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 ()
 

Public Attributes

ros::WallTime lasttime
 

Protected Member Functions

bool detect (posedetection_msgs::Feature0D &features, const sensor_msgs::Image &imagemsg, const sensor_msgs::Image::ConstPtr &mask_ptr)
 
bool detectCb (posedetection_msgs::Feature0DDetect::Request &req, posedetection_msgs::Feature0DDetect::Response &res)
 
void imageCb (const sensor_msgs::ImageConstPtr &msg_ptr, const sensor_msgs::ImageConstPtr &mask_ptr)
 
void imageCb (const sensor_msgs::ImageConstPtr &msg_ptr)
 
void infoCb (const sensor_msgs::CameraInfoConstPtr &msg_ptr)
 
virtual void onInit ()
 
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::string & getName () const
 
ros::NodeHandlegetNodeHandle () const
 
ros::NodeHandlegetPrivateNodeHandle () const
 
const M_stringgetRemappingArgs () const
 
ros::CallbackQueueInterfacegetSTCallbackQueue () const
 
std::string getSuffixedName (const std::string &suffix) const
 

Protected Attributes

bool _bInfoInitialized
 
image_transport::TransportHints _hints
 
boost::shared_ptr< image_transport::ImageTransport_it
 
boost::mutex _mutex
 
ros::Publisher _pubFeatures
 
ros::Publisher _pubSift
 
posedetection_msgs::ImageFeature0D _sift_msg
 
ros::ServiceServer _srvDetect
 
image_transport::Subscriber _subImage
 
message_filters::Subscriber< sensor_msgs::Image > _subImageWithMask
 
ros::Subscriber _subInfo
 
message_filters::Subscriber< sensor_msgs::Image > _subMask
 
boost::shared_ptr< message_filters::Synchronizer< SyncPolicy > > _sync
 
bool _useMask
 
- 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 60 of file imagesift.h.

Member Typedef Documentation

typedef message_filters::sync_policies::ExactTime< sensor_msgs::Image, sensor_msgs::Image > imagesift::SiftNode::SyncPolicy

Definition at line 65 of file imagesift.h.

Constructor & Destructor Documentation

imagesift::SiftNode::SiftNode ( )
inline

Definition at line 67 of file imagesift.h.

Member Function Documentation

bool imagesift::SiftNode::detect ( posedetection_msgs::Feature0D &  features,
const sensor_msgs::Image &  imagemsg,
const sensor_msgs::Image::ConstPtr &  mask_ptr 
)
protected

Definition at line 114 of file imagesift.cpp.

bool imagesift::SiftNode::detectCb ( posedetection_msgs::Feature0DDetect::Request &  req,
posedetection_msgs::Feature0DDetect::Response &  res 
)
protected

Definition at line 108 of file imagesift.cpp.

void imagesift::SiftNode::imageCb ( const sensor_msgs::ImageConstPtr &  msg_ptr,
const sensor_msgs::ImageConstPtr &  mask_ptr 
)
protected

Definition at line 212 of file imagesift.cpp.

void imagesift::SiftNode::imageCb ( const sensor_msgs::ImageConstPtr &  msg_ptr)
protected

Definition at line 234 of file imagesift.cpp.

void imagesift::SiftNode::infoCb ( const sensor_msgs::CameraInfoConstPtr &  msg_ptr)
protected

Definition at line 101 of file imagesift.cpp.

void imagesift::SiftNode::onInit ( )
protectedvirtual

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 53 of file imagesift.cpp.

void imagesift::SiftNode::subscribe ( )
protectedvirtual

Implements jsk_topic_tools::ConnectionBasedNodelet.

Definition at line 74 of file imagesift.cpp.

void imagesift::SiftNode::unsubscribe ( )
protectedvirtual

Implements jsk_topic_tools::ConnectionBasedNodelet.

Definition at line 89 of file imagesift.cpp.

Member Data Documentation

bool imagesift::SiftNode::_bInfoInitialized
protected

Definition at line 69 of file imagesift.h.

image_transport::TransportHints imagesift::SiftNode::_hints
protected

Definition at line 73 of file imagesift.h.

boost::shared_ptr<image_transport::ImageTransport> imagesift::SiftNode::_it
protected

Definition at line 72 of file imagesift.h.

boost::mutex imagesift::SiftNode::_mutex
protected

Definition at line 71 of file imagesift.h.

ros::Publisher imagesift::SiftNode::_pubFeatures
protected

Definition at line 81 of file imagesift.h.

ros::Publisher imagesift::SiftNode::_pubSift
protected

Definition at line 82 of file imagesift.h.

posedetection_msgs::ImageFeature0D imagesift::SiftNode::_sift_msg
protected

Definition at line 83 of file imagesift.h.

ros::ServiceServer imagesift::SiftNode::_srvDetect
protected

Definition at line 79 of file imagesift.h.

image_transport::Subscriber imagesift::SiftNode::_subImage
protected

Definition at line 74 of file imagesift.h.

message_filters::Subscriber<sensor_msgs::Image> imagesift::SiftNode::_subImageWithMask
protected

Definition at line 76 of file imagesift.h.

ros::Subscriber imagesift::SiftNode::_subInfo
protected

Definition at line 80 of file imagesift.h.

message_filters::Subscriber<sensor_msgs::Image> imagesift::SiftNode::_subMask
protected

Definition at line 77 of file imagesift.h.

boost::shared_ptr<message_filters::Synchronizer<SyncPolicy> > imagesift::SiftNode::_sync
protected

Definition at line 78 of file imagesift.h.

bool imagesift::SiftNode::_useMask
protected

Definition at line 70 of file imagesift.h.

ros::WallTime imagesift::SiftNode::lasttime

Definition at line 66 of file imagesift.h.


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


imagesift
Author(s): Rosen Diankov (rdiankov@cs.cmu.edu), Kei Okada
autogenerated on Mon May 3 2021 03:03:10