$search

visp_tracker::TrackerClient Class Reference

#include <tracker-client.hh>

List of all members.

Public Types

typedef vpImage< unsigned char > image_t
typedef std::vector< vpImagePoint > imagePoints_t
typedef std::vector< vpPoint > points_t
typedef
dynamic_reconfigure::Server
< visp_tracker::MovingEdgeConfig >
::CallbackType 
reconfigureCallback_t
typedef
dynamic_reconfigure::Server
< visp_tracker::MovingEdgeConfig > 
reconfigureSrv_t

Public Member Functions

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

Protected Member Functions

void checkInputs ()
 Make sure the topics we subscribe already exist.
std::string fetchResource (const std::string &)
void init ()
void initPoint (unsigned &i, points_t &points, imagePoints_t &imagePoints, ros::Rate &rate, vpPose &pose)
points_t loadInitializationPoints ()
vpHomogeneousMatrix loadInitialPose ()
void loadModel ()
bool makeModelFile (boost::filesystem::ofstream &modelStream, const std::string &resourcePath, std::string &fullModelPath)
void saveInitialPose (const vpHomogeneousMatrix &cMo)
void sendcMo (const vpHomogeneousMatrix &cMo)
bool validatePose (const vpHomogeneousMatrix &cMo)
void waitForImage ()

Private Member Functions

bool exiting ()

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.
bool confirmInit_
volatile bool & exiting_
std_msgs::Header header_
image_t image_
image_transport::ImageTransport imageTransport_
sensor_msgs::CameraInfoConstPtr info_
boost::filesystem::path initPath_
std::string modelName_
std::string modelPath_
vpMe movingEdge_
boost::recursive_mutex mutex_
ros::NodeHandlenodeHandle_
ros::NodeHandlenodeHandlePrivate_
unsigned queueSize_
reconfigureSrv_t reconfigureSrv_
std::string rectifiedImageTopic_
resource_retriever::Retriever resourceRetriever_
bool startFromSavedPose_
vpMbEdgeTracker tracker_
boost::filesystem::path vrmlPath_

Detailed Description

Definition at line 35 of file tracker-client.hh.


Member Typedef Documentation

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

Definition at line 38 of file tracker-client.hh.

typedef std::vector<vpImagePoint> visp_tracker::TrackerClient::imagePoints_t

Definition at line 40 of file tracker-client.hh.

typedef std::vector<vpPoint> visp_tracker::TrackerClient::points_t

Definition at line 39 of file tracker-client.hh.

typedef dynamic_reconfigure::Server<visp_tracker::MovingEdgeConfig>::CallbackType visp_tracker::TrackerClient::reconfigureCallback_t

Definition at line 47 of file tracker-client.hh.

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

Definition at line 43 of file tracker-client.hh.


Constructor & Destructor Documentation

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

Definition at line 38 of file tracker-client.cpp.


Member Function Documentation

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

Make sure the topics we subscribe already exist.

Definition at line 177 of file tracker-client.cpp.

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

Definition at line 85 of file tracker-client.hh.

std::string visp_tracker::TrackerClient::fetchResource ( const std::string &  s  )  [protected]

Definition at line 587 of file tracker-client.cpp.

void visp_tracker::TrackerClient::init (  )  [protected]

Definition at line 481 of file tracker-client.cpp.

void visp_tracker::TrackerClient::initPoint ( unsigned &  i,
points_t points,
imagePoints_t imagePoints,
ros::Rate rate,
vpPose &  pose 
) [protected]

Definition at line 534 of file tracker-client.cpp.

TrackerClient::points_t visp_tracker::TrackerClient::loadInitializationPoints (  )  [protected]

Definition at line 416 of file tracker-client.cpp.

vpHomogeneousMatrix visp_tracker::TrackerClient::loadInitialPose (  )  [protected]

Definition at line 352 of file tracker-client.cpp.

void visp_tracker::TrackerClient::loadModel (  )  [protected]

Definition at line 314 of file tracker-client.cpp.

bool visp_tracker::TrackerClient::makeModelFile ( boost::filesystem::ofstream &  modelStream,
const std::string &  resourcePath,
std::string &  fullModelPath 
) [protected]

Definition at line 600 of file tracker-client.cpp.

void visp_tracker::TrackerClient::saveInitialPose ( const vpHomogeneousMatrix &  cMo  )  [protected]

Definition at line 395 of file tracker-client.cpp.

void visp_tracker::TrackerClient::sendcMo ( const vpHomogeneousMatrix &  cMo  )  [protected]

Definition at line 279 of file tracker-client.cpp.

void visp_tracker::TrackerClient::spin (  ) 

Definition at line 186 of file tracker-client.cpp.

bool visp_tracker::TrackerClient::validatePose ( const vpHomogeneousMatrix &  cMo  )  [protected]

Definition at line 452 of file tracker-client.cpp.

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

Definition at line 574 of file tracker-client.cpp.


Member Data Documentation

Definition at line 106 of file tracker-client.hh.

vpCameraParameters visp_tracker::TrackerClient::cameraParameters_ [private]

Definition at line 120 of file tracker-client.hh.

Definition at line 104 of file tracker-client.hh.

Definition at line 111 of file tracker-client.hh.

Helper used to check that subscribed topics exist.

Definition at line 127 of file tracker-client.hh.

Definition at line 124 of file tracker-client.hh.

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

Definition at line 90 of file tracker-client.hh.

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

Definition at line 116 of file tracker-client.hh.

Definition at line 99 of file tracker-client.hh.

Definition at line 97 of file tracker-client.hh.

Definition at line 117 of file tracker-client.hh.

boost::filesystem::path visp_tracker::TrackerClient::initPath_ [private]

Definition at line 109 of file tracker-client.hh.

Definition at line 102 of file tracker-client.hh.

Definition at line 101 of file tracker-client.hh.

Definition at line 119 of file tracker-client.hh.

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

Definition at line 113 of file tracker-client.hh.

Definition at line 94 of file tracker-client.hh.

Definition at line 95 of file tracker-client.hh.

Definition at line 92 of file tracker-client.hh.

Definition at line 114 of file tracker-client.hh.

Definition at line 105 of file tracker-client.hh.

Definition at line 129 of file tracker-client.hh.

Definition at line 123 of file tracker-client.hh.

vpMbEdgeTracker visp_tracker::TrackerClient::tracker_ [private]

Definition at line 121 of file tracker-client.hh.

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

Definition at line 108 of file tracker-client.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