Public Types | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
jsk_perception::ConsensusTracking Class Reference

#include <consensus_tracking.h>

Inheritance diagram for jsk_perception::ConsensusTracking:
Inheritance graph
[legend]

Public Types

typedef message_filters::sync_policies::ApproximateTime< sensor_msgs::Image, geometry_msgs::PolygonStamped > ApproximateSyncPolicy
 
typedef message_filters::sync_policies::ExactTime< sensor_msgs::Image, geometry_msgs::PolygonStamped > ExactSyncPolicy
 
- Public Types inherited from jsk_topic_tools::DiagnosticNodelet
typedef boost::shared_ptr< DiagnosticNodeletPtr
 

Public Member Functions

 ConsensusTracking ()
 
- 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 void getTrackingResult (const sensor_msgs::Image::ConstPtr &image_msg)
 
virtual void onInit ()
 
void setInitialWindow (const sensor_msgs::Image::ConstPtr &img_msg, const geometry_msgs::PolygonStamped::ConstPtr &poly_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

bool approximate_sync_
 
boost::shared_ptr< message_filters::Synchronizer< ApproximateSyncPolicy > > async_
 
CMT cmt
 
boost::mutex mutex_
 
ros::Publisher pub_debug_image_
 
ros::Publisher pub_mask_image_
 
int queue_size_
 
ros::Subscriber sub_image_
 
message_filters::Subscriber< sensor_msgs::Image > sub_image_to_init_
 
message_filters::Subscriber< geometry_msgs::PolygonStamped > sub_polygon_to_init_
 
boost::shared_ptr< message_filters::Synchronizer< ExactSyncPolicy > > sync_
 
bool window_initialized_
 
- 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 50 of file consensus_tracking.h.

Member Typedef Documentation

Definition at line 58 of file consensus_tracking.h.

typedef message_filters::sync_policies::ExactTime< sensor_msgs::Image, geometry_msgs::PolygonStamped> jsk_perception::ConsensusTracking::ExactSyncPolicy

Definition at line 61 of file consensus_tracking.h.

Constructor & Destructor Documentation

jsk_perception::ConsensusTracking::ConsensusTracking ( )
inline

Definition at line 53 of file consensus_tracking.h.

Member Function Documentation

void jsk_perception::ConsensusTracking::getTrackingResult ( const sensor_msgs::Image::ConstPtr &  image_msg)
protectedvirtual

Definition at line 111 of file consensus_tracking.cpp.

void jsk_perception::ConsensusTracking::onInit ( )
protectedvirtual

Reimplemented from jsk_topic_tools::DiagnosticNodelet.

Definition at line 50 of file consensus_tracking.cpp.

void jsk_perception::ConsensusTracking::setInitialWindow ( const sensor_msgs::Image::ConstPtr &  img_msg,
const geometry_msgs::PolygonStamped::ConstPtr &  poly_msg 
)
protected

Definition at line 90 of file consensus_tracking.cpp.

void jsk_perception::ConsensusTracking::subscribe ( )
protectedvirtual

Implements jsk_topic_tools::ConnectionBasedNodelet.

Definition at line 79 of file consensus_tracking.cpp.

void jsk_perception::ConsensusTracking::unsubscribe ( )
protectedvirtual

Implements jsk_topic_tools::ConnectionBasedNodelet.

Definition at line 85 of file consensus_tracking.cpp.

Member Data Documentation

bool jsk_perception::ConsensusTracking::approximate_sync_
protected

Definition at line 83 of file consensus_tracking.h.

boost::shared_ptr<message_filters::Synchronizer<ApproximateSyncPolicy> > jsk_perception::ConsensusTracking::async_
protected

Definition at line 75 of file consensus_tracking.h.

CMT jsk_perception::ConsensusTracking::cmt
protected

Definition at line 79 of file consensus_tracking.h.

boost::mutex jsk_perception::ConsensusTracking::mutex_
protected

Definition at line 81 of file consensus_tracking.h.

ros::Publisher jsk_perception::ConsensusTracking::pub_debug_image_
protected

Definition at line 71 of file consensus_tracking.h.

ros::Publisher jsk_perception::ConsensusTracking::pub_mask_image_
protected

Definition at line 70 of file consensus_tracking.h.

int jsk_perception::ConsensusTracking::queue_size_
protected

Definition at line 84 of file consensus_tracking.h.

ros::Subscriber jsk_perception::ConsensusTracking::sub_image_
protected

Definition at line 73 of file consensus_tracking.h.

message_filters::Subscriber<sensor_msgs::Image> jsk_perception::ConsensusTracking::sub_image_to_init_
protected

Definition at line 76 of file consensus_tracking.h.

message_filters::Subscriber<geometry_msgs::PolygonStamped> jsk_perception::ConsensusTracking::sub_polygon_to_init_
protected

Definition at line 77 of file consensus_tracking.h.

boost::shared_ptr<message_filters::Synchronizer<ExactSyncPolicy> > jsk_perception::ConsensusTracking::sync_
protected

Definition at line 74 of file consensus_tracking.h.

bool jsk_perception::ConsensusTracking::window_initialized_
protected

Definition at line 82 of file consensus_tracking.h.


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


jsk_perception
Author(s): Manabu Saito, Ryohei Ueda
autogenerated on Mon May 3 2021 03:03:27