Public Types | Public Member Functions | Private Member Functions | Private Attributes
visp_camera_calibration::Calibrator Class Reference

#include <calibrator.h>

List of all members.

Public Types

typedef boost::function< bool(visp_camera_calibration::calibrate::Request
&, visp_camera_calibration::calibrate::Response
&res)> 
calibrate_service_callback_t
 service type declaration for calibrate service
typedef boost::function< void(const
visp_camera_calibration::CalibPointArray::ConstPtr &)> 
point_correspondence_subscriber_callback_t
 subscriber type declaration for raw_image topic subscriber

Public Member Functions

 Calibrator ()
void spin ()
virtual ~Calibrator ()

Private Member Functions

bool calibrateCallback (visp_camera_calibration::calibrate::Request &req, visp_camera_calibration::calibrate::Response &res)
 service performing the calibration from all previously computed calibration objects.
void pointCorrespondenceCallback (const visp_camera_calibration::CalibPointArray::ConstPtr &point_correspondence)
 callback corresponding to the point_correspondence topic. Adds the obtained calibration pairs objects to an internal calibration list.

Private Attributes

ros::ServiceServer calibrate_service_
std::vector< vpCalibration > calibrations_
std::vector< vpPoint > model_points_
ros::NodeHandle n_
ros::Subscriber point_correspondence_subscriber_
unsigned long queue_size_
std::vector< vpPoint > selected_points_
ros::ServiceClient set_camera_info_bis_service_
ros::ServiceClient set_camera_info_service_

Detailed Description

Definition at line 62 of file calibrator.h.


Member Typedef Documentation

typedef boost::function<bool (visp_camera_calibration::calibrate::Request&,visp_camera_calibration::calibrate::Response& res)> visp_camera_calibration::Calibrator::calibrate_service_callback_t

service type declaration for calibrate service

Definition at line 97 of file calibrator.h.

typedef boost::function<void (const visp_camera_calibration::CalibPointArray::ConstPtr& )> visp_camera_calibration::Calibrator::point_correspondence_subscriber_callback_t

subscriber type declaration for raw_image topic subscriber

Definition at line 93 of file calibrator.h.


Constructor & Destructor Documentation

Definition at line 62 of file calibrator.cpp.

Definition at line 155 of file calibrator.cpp.


Member Function Documentation

bool visp_camera_calibration::Calibrator::calibrateCallback ( visp_camera_calibration::calibrate::Request &  req,
visp_camera_calibration::calibrate::Response &  res 
) [private]

service performing the calibration from all previously computed calibration objects.

Definition at line 96 of file calibrator.cpp.

void visp_camera_calibration::Calibrator::pointCorrespondenceCallback ( const visp_camera_calibration::CalibPointArray::ConstPtr &  point_correspondence) [private]

callback corresponding to the point_correspondence topic. Adds the obtained calibration pairs objects to an internal calibration list.

Parameters:
image_and_points,:image of the grid and selected keypoints to compute on

Definition at line 81 of file calibrator.cpp.

Definition at line 151 of file calibrator.cpp.


Member Data Documentation

Definition at line 72 of file calibrator.h.

std::vector<vpCalibration> visp_camera_calibration::Calibrator::calibrations_ [private]

Definition at line 76 of file calibrator.h.

Definition at line 75 of file calibrator.h.

Definition at line 65 of file calibrator.h.

Definition at line 69 of file calibrator.h.

Definition at line 67 of file calibrator.h.

Definition at line 74 of file calibrator.h.

Definition at line 71 of file calibrator.h.

Definition at line 70 of file calibrator.h.


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


visp_camera_calibration
Author(s): Filip Novotny
autogenerated on Sun Feb 19 2017 03:28:38