#include <tracker-client.hh>
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 (unsigned queueSize=5u) | |
Protected Member Functions | |
void | checkInputs () |
Make sure the topics we subscribe already exist. | |
void | initClick () |
void | initPoint (unsigned &i, points_t &points, imagePoints_t &imagePoints, ros::Rate &rate, vpPose &pose) |
points_t | loadInitializationPoints () |
vpHomogeneousMatrix | loadInitialPose () |
void | loadModel () |
void | saveInitialPose (const vpHomogeneousMatrix &cMo) |
void | sendcMo (const vpHomogeneousMatrix &cMo) |
void | waitForImage () |
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_ |
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_ |
ros::NodeHandle | nodeHandle_ |
unsigned | queueSize_ |
reconfigureSrv_t | reconfigureSrv_ |
std::string | rectifiedImageTopic_ |
bool | startFromSavedPose_ |
vpMbEdgeTracker | tracker_ |
boost::filesystem::path | vrmlPath_ |
Definition at line 32 of file tracker-client.hh.
typedef vpImage<unsigned char> visp_tracker::TrackerClient::image_t |
Definition at line 35 of file tracker-client.hh.
typedef std::vector<vpImagePoint> visp_tracker::TrackerClient::imagePoints_t |
Definition at line 37 of file tracker-client.hh.
typedef std::vector<vpPoint> visp_tracker::TrackerClient::points_t |
Definition at line 36 of file tracker-client.hh.
typedef dynamic_reconfigure::Server<visp_tracker::MovingEdgeConfig>::CallbackType visp_tracker::TrackerClient::reconfigureCallback_t |
Definition at line 44 of file tracker-client.hh.
typedef dynamic_reconfigure::Server<visp_tracker::MovingEdgeConfig> visp_tracker::TrackerClient::reconfigureSrv_t |
Definition at line 40 of file tracker-client.hh.
visp_tracker::TrackerClient::TrackerClient | ( | unsigned | queueSize = 5u |
) |
Definition at line 35 of file tracker-client.cpp.
void visp_tracker::TrackerClient::checkInputs | ( | ) | [protected] |
Make sure the topics we subscribe already exist.
Definition at line 167 of file tracker-client.cpp.
void visp_tracker::TrackerClient::initClick | ( | ) | [protected] |
Definition at line 450 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 410 of file tracker-client.cpp.
TrackerClient::points_t visp_tracker::TrackerClient::loadInitializationPoints | ( | ) | [protected] |
Definition at line 377 of file tracker-client.cpp.
vpHomogeneousMatrix visp_tracker::TrackerClient::loadInitialPose | ( | ) | [protected] |
Definition at line 332 of file tracker-client.cpp.
void visp_tracker::TrackerClient::loadModel | ( | ) | [protected] |
Definition at line 305 of file tracker-client.cpp.
void visp_tracker::TrackerClient::saveInitialPose | ( | const vpHomogeneousMatrix & | cMo | ) | [protected] |
Definition at line 361 of file tracker-client.cpp.
void visp_tracker::TrackerClient::sendcMo | ( | const vpHomogeneousMatrix & | cMo | ) | [protected] |
Definition at line 264 of file tracker-client.cpp.
void visp_tracker::TrackerClient::spin | ( | ) |
Definition at line 176 of file tracker-client.cpp.
void visp_tracker::TrackerClient::waitForImage | ( | ) | [protected] |
Definition at line 544 of file tracker-client.cpp.
std::string visp_tracker::TrackerClient::cameraInfoTopic_ [private] |
Definition at line 84 of file tracker-client.hh.
vpCameraParameters visp_tracker::TrackerClient::cameraParameters_ [private] |
Definition at line 97 of file tracker-client.hh.
std::string visp_tracker::TrackerClient::cameraPrefix_ [private] |
Definition at line 82 of file tracker-client.hh.
image_transport::CameraSubscriber visp_tracker::TrackerClient::cameraSubscriber_ [private] |
Definition at line 89 of file tracker-client.hh.
image_proc::AdvertisementChecker visp_tracker::TrackerClient::checkInputs_ [private] |
Helper used to check that subscribed topics exist.
Definition at line 104 of file tracker-client.hh.
bool visp_tracker::TrackerClient::confirmInit_ [private] |
Definition at line 101 of file tracker-client.hh.
std_msgs::Header visp_tracker::TrackerClient::header_ [private] |
Definition at line 93 of file tracker-client.hh.
image_t visp_tracker::TrackerClient::image_ [private] |
Definition at line 77 of file tracker-client.hh.
image_transport::ImageTransport visp_tracker::TrackerClient::imageTransport_ [private] |
Definition at line 75 of file tracker-client.hh.
sensor_msgs::CameraInfoConstPtr visp_tracker::TrackerClient::info_ [private] |
Definition at line 94 of file tracker-client.hh.
boost::filesystem::path visp_tracker::TrackerClient::initPath_ [private] |
Definition at line 87 of file tracker-client.hh.
std::string visp_tracker::TrackerClient::modelName_ [private] |
Definition at line 80 of file tracker-client.hh.
std::string visp_tracker::TrackerClient::modelPath_ [private] |
Definition at line 79 of file tracker-client.hh.
vpMe visp_tracker::TrackerClient::movingEdge_ [private] |
Definition at line 96 of file tracker-client.hh.
ros::NodeHandle visp_tracker::TrackerClient::nodeHandle_ [private] |
Definition at line 74 of file tracker-client.hh.
unsigned visp_tracker::TrackerClient::queueSize_ [private] |
Definition at line 72 of file tracker-client.hh.
Definition at line 91 of file tracker-client.hh.
std::string visp_tracker::TrackerClient::rectifiedImageTopic_ [private] |
Definition at line 83 of file tracker-client.hh.
bool visp_tracker::TrackerClient::startFromSavedPose_ [private] |
Definition at line 100 of file tracker-client.hh.
vpMbEdgeTracker visp_tracker::TrackerClient::tracker_ [private] |
Definition at line 98 of file tracker-client.hh.
boost::filesystem::path visp_tracker::TrackerClient::vrmlPath_ [private] |
Definition at line 86 of file tracker-client.hh.