Public Member Functions | Static Public Member Functions | Public Attributes | List of all members
robot_calibration::Chain3dToChain3d Struct Reference

Error block for computing the residual error between two 3d data sources. This can be used to calibrate 3d cameras to arms, or 3d cameras to other 3d cameras. More...

#include <chain3d_to_chain3d_error.h>

Public Member Functions

 Chain3dToChain3d (ChainModel *a_model, ChainModel *b_model, CalibrationOffsetParser *offsets, robot_calibration_msgs::CalibrationData &data)
 This function is not used direcly, instead use the Create() function. More...
 
bool operator() (double const *const *free_params, double *residuals) const
 Operator called by CERES optimizer. More...
 
virtual ~Chain3dToChain3d ()
 

Static Public Member Functions

static ceres::CostFunction * Create (ChainModel *a_model, ChainModel *b_model, CalibrationOffsetParser *offsets, robot_calibration_msgs::CalibrationData &data)
 Helper factory function to create a new error block. Parameters are described in the class constructor, which this function calls. More...
 

Public Attributes

ChainModela_model_
 
ChainModelb_model_
 
robot_calibration_msgs::CalibrationData data_
 
CalibrationOffsetParseroffsets_
 

Detailed Description

Error block for computing the residual error between two 3d data sources. This can be used to calibrate 3d cameras to arms, or 3d cameras to other 3d cameras.

Definition at line 40 of file chain3d_to_chain3d_error.h.

Constructor & Destructor Documentation

robot_calibration::Chain3dToChain3d::Chain3dToChain3d ( ChainModel a_model,
ChainModel b_model,
CalibrationOffsetParser offsets,
robot_calibration_msgs::CalibrationData &  data 
)
inline

This function is not used direcly, instead use the Create() function.

Parameters
a_modelThe model for the first chain, used for reprojection.
b_modelThe model for the second chain, used for reprojection.
offsetsEasy access to the free parameters.
dataThe calibration data collected.

Definition at line 49 of file chain3d_to_chain3d_error.h.

virtual robot_calibration::Chain3dToChain3d::~Chain3dToChain3d ( )
inlinevirtual

Definition at line 60 of file chain3d_to_chain3d_error.h.

Member Function Documentation

static ceres::CostFunction* robot_calibration::Chain3dToChain3d::Create ( ChainModel a_model,
ChainModel b_model,
CalibrationOffsetParser offsets,
robot_calibration_msgs::CalibrationData &  data 
)
inlinestatic

Helper factory function to create a new error block. Parameters are described in the class constructor, which this function calls.

Definition at line 102 of file chain3d_to_chain3d_error.h.

bool robot_calibration::Chain3dToChain3d::operator() ( double const *const *  free_params,
double *  residuals 
) const
inline

Operator called by CERES optimizer.

Parameters
free_paramsThe offsets to be applied to joints/transforms.
residualsThe residuals computed, to be returned to the optimizer.

Definition at line 67 of file chain3d_to_chain3d_error.h.

Member Data Documentation

ChainModel* robot_calibration::Chain3dToChain3d::a_model_

Definition at line 124 of file chain3d_to_chain3d_error.h.

ChainModel* robot_calibration::Chain3dToChain3d::b_model_

Definition at line 125 of file chain3d_to_chain3d_error.h.

robot_calibration_msgs::CalibrationData robot_calibration::Chain3dToChain3d::data_

Definition at line 127 of file chain3d_to_chain3d_error.h.

CalibrationOffsetParser* robot_calibration::Chain3dToChain3d::offsets_

Definition at line 126 of file chain3d_to_chain3d_error.h.


The documentation for this struct was generated from the following file:


robot_calibration
Author(s): Michael Ferguson
autogenerated on Tue Nov 3 2020 17:30:30