$search

visp_tracker::Tracker Class Reference

#include <tracker.hh>

List of all members.

Public Types

typedef vpImage< unsigned char > image_t
typedef boost::function< bool(visp_tracker::Init::Request
&, visp_tracker::Init::Response
&res)> 
initCallback_t
typedef
dynamic_reconfigure::Server
< visp_tracker::MovingEdgeConfig > 
reconfigureSrv_t
enum  State { WAITING_FOR_INITIALIZATION, TRACKING, LOST }

Public Member Functions

void spin ()
 Tracker (ros::NodeHandle &nh, ros::NodeHandle &privateNh, volatile bool &exiting, unsigned queueSize=5u)

Protected Member Functions

void checkInputs ()
bool initCallback (visp_tracker::Init::Request &req, visp_tracker::Init::Response &res)
void objectPositionHintCallback (const geometry_msgs::TransformStampedConstPtr &)
void updateMovingEdgeSites (visp_tracker::MovingEdgeSitesPtr sites)
void waitForImage ()

Private Member Functions

bool exiting ()
void spinOnce ()

Private Attributes

std::string cameraInfoTopic_
vpCameraParameters cameraParameters_
std::string cameraPrefix_
image_transport::CameraSubscriber cameraSubscriber_
image_proc::AdvertisementChecker checkInputs_
 Helper used to check that subscribed topics exist.
std::string childFrameId_
vpHomogeneousMatrix cMo_
bool compensateRobotMotion_
volatile bool & exiting_
std_msgs::Header header_
image_t image_
image_transport::ImageTransport imageTransport_
sensor_msgs::CameraInfoConstPtr info_
ros::ServiceServer initService_
unsigned lastTrackedImage_
tf::TransformListener listener_
vpMe movingEdge_
ros::Publisher movingEdgeSitesPublisher_
boost::recursive_mutex mutex_
ros::NodeHandlenodeHandle_
ros::NodeHandlenodeHandlePrivate_
geometry_msgs::TransformStamped objectPositionHint_
ros::Subscriber objectPositionHintSubscriber_
unsigned queueSize_
reconfigureSrv_t reconfigureSrv_
std::string rectifiedImageTopic_
ros::Publisher resultPublisher_
State state_
tf::TransformBroadcaster tfBroadcaster_
vpMbEdgeTracker tracker_
ros::Publisher transformationPublisher_
tf::TransformBroadcaster transformBroadcaster_
boost::filesystem::path vrmlPath_
std::string worldFrameId_

Detailed Description

Definition at line 31 of file tracker.hh.


Member Typedef Documentation

typedef vpImage<unsigned char> visp_tracker::Tracker::image_t

Definition at line 34 of file tracker.hh.

Definition at line 41 of file tracker.hh.

typedef dynamic_reconfigure::Server<visp_tracker::MovingEdgeConfig> visp_tracker::Tracker::reconfigureSrv_t

Definition at line 37 of file tracker.hh.


Member Enumeration Documentation

Enumerator:
WAITING_FOR_INITIALIZATION 
TRACKING 
LOST 

Definition at line 43 of file tracker.hh.


Constructor & Destructor Documentation

visp_tracker::Tracker::Tracker ( ros::NodeHandle nh,
ros::NodeHandle privateNh,
volatile bool &  exiting,
unsigned  queueSize = 5u 
)

Definition at line 167 of file libvisp_tracker/tracker.cpp.


Member Function Documentation

void visp_tracker::Tracker::checkInputs (  )  [protected]

Definition at line 160 of file libvisp_tracker/tracker.cpp.

bool visp_tracker::Tracker::exiting (  )  [inline, private]

Definition at line 68 of file tracker.hh.

bool visp_tracker::Tracker::initCallback ( visp_tracker::Init::Request req,
visp_tracker::Init::Response res 
) [protected]

Definition at line 36 of file libvisp_tracker/tracker.cpp.

void visp_tracker::Tracker::objectPositionHintCallback ( const geometry_msgs::TransformStampedConstPtr transform  )  [protected]

Definition at line 491 of file libvisp_tracker/tracker.cpp.

void visp_tracker::Tracker::spin (  ) 

Definition at line 320 of file libvisp_tracker/tracker.cpp.

void visp_tracker::Tracker::spinOnce (  )  [inline, private]

Definition at line 73 of file tracker.hh.

void visp_tracker::Tracker::updateMovingEdgeSites ( visp_tracker::MovingEdgeSitesPtr  sites  )  [protected]

Definition at line 122 of file libvisp_tracker/tracker.cpp.

void visp_tracker::Tracker::waitForImage (  )  [protected]

Definition at line 476 of file libvisp_tracker/tracker.cpp.


Member Data Documentation

Definition at line 93 of file tracker.hh.

vpCameraParameters visp_tracker::Tracker::cameraParameters_ [private]

Definition at line 113 of file tracker.hh.

std::string visp_tracker::Tracker::cameraPrefix_ [private]

Definition at line 91 of file tracker.hh.

Definition at line 97 of file tracker.hh.

Helper used to check that subscribed topics exist.

Definition at line 119 of file tracker.hh.

std::string visp_tracker::Tracker::childFrameId_ [private]

Definition at line 128 of file tracker.hh.

vpHomogeneousMatrix visp_tracker::Tracker::cMo_ [private]

Definition at line 121 of file tracker.hh.

Definition at line 125 of file tracker.hh.

volatile bool& visp_tracker::Tracker::exiting_ [private]

Definition at line 79 of file tracker.hh.

std_msgs::Header visp_tracker::Tracker::header_ [private]

Definition at line 109 of file tracker.hh.

Definition at line 89 of file tracker.hh.

Definition at line 85 of file tracker.hh.

Definition at line 110 of file tracker.hh.

Definition at line 107 of file tracker.hh.

Definition at line 116 of file tracker.hh.

Definition at line 123 of file tracker.hh.

Definition at line 112 of file tracker.hh.

Definition at line 105 of file tracker.hh.

boost::recursive_mutex visp_tracker::Tracker::mutex_ [private]

Definition at line 99 of file tracker.hh.

Definition at line 83 of file tracker.hh.

Definition at line 84 of file tracker.hh.

Definition at line 131 of file tracker.hh.

Definition at line 130 of file tracker.hh.

Definition at line 81 of file tracker.hh.

Definition at line 100 of file tracker.hh.

Definition at line 92 of file tracker.hh.

Definition at line 102 of file tracker.hh.

Definition at line 87 of file tracker.hh.

Definition at line 104 of file tracker.hh.

vpMbEdgeTracker visp_tracker::Tracker::tracker_ [private]

Definition at line 114 of file tracker.hh.

Definition at line 103 of file tracker.hh.

Definition at line 127 of file tracker.hh.

boost::filesystem::path visp_tracker::Tracker::vrmlPath_ [private]

Definition at line 95 of file tracker.hh.

std::string visp_tracker::Tracker::worldFrameId_ [private]

Definition at line 124 of file tracker.hh.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines


visp_tracker
Author(s): Thomas Moulard/thomas.moulard@gmail.com
autogenerated on Sat Mar 2 14:16:24 2013