Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
visp_camera_calibration::Calibrator Class Reference

#include <calibrator.h>

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 More...
 
typedef boost::function< void(const visp_camera_calibration::CalibPointArray::ConstPtr &)> point_correspondence_subscriber_callback_t
 subscriber type declaration for raw_image topic subscriber More...
 

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. More...
 
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. More...
 

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

visp_camera_calibration::Calibrator::Calibrator ( )

Definition at line 62 of file calibrator.cpp.

visp_camera_calibration::Calibrator::~Calibrator ( )
virtual

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_pointsimage of the grid and selected keypoints to compute on

Definition at line 81 of file calibrator.cpp.

void visp_camera_calibration::Calibrator::spin ( )

Definition at line 151 of file calibrator.cpp.

Member Data Documentation

ros::ServiceServer visp_camera_calibration::Calibrator::calibrate_service_
private

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.

std::vector<vpPoint> visp_camera_calibration::Calibrator::model_points_
private

Definition at line 75 of file calibrator.h.

ros::NodeHandle visp_camera_calibration::Calibrator::n_
private

Definition at line 65 of file calibrator.h.

ros::Subscriber visp_camera_calibration::Calibrator::point_correspondence_subscriber_
private

Definition at line 69 of file calibrator.h.

unsigned long visp_camera_calibration::Calibrator::queue_size_
private

Definition at line 67 of file calibrator.h.

std::vector<vpPoint> visp_camera_calibration::Calibrator::selected_points_
private

Definition at line 74 of file calibrator.h.

ros::ServiceClient visp_camera_calibration::Calibrator::set_camera_info_bis_service_
private

Definition at line 71 of file calibrator.h.

ros::ServiceClient visp_camera_calibration::Calibrator::set_camera_info_service_
private

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 Wed Jul 3 2019 19:48:03