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

Error block for computing the fit between a set of projected points and a plane (aX + bY + cZ + d = 0). Typically used to align sensor with the ground, but could be used to align with a flat robot base, etc. More...

#include <chain3d_to_plane_error.h>

Public Member Functions

 Chain3dToPlane (ChainModel *chain_model, CalibrationOffsetParser *offsets, robot_calibration_msgs::CalibrationData &data, double a, double b, double c, double d, double scale)
 This function is not used direcly, instead use the Create() function. More...
 
bool operator() (double const *const *free_params, double *residuals) const
 
virtual ~Chain3dToPlane ()
 

Static Public Member Functions

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

Public Attributes

double a_
 
double b_
 
double c_
 
ChainModelchain_model_
 
double d_
 
robot_calibration_msgs::CalibrationData data_
 
double denom_
 
CalibrationOffsetParseroffsets_
 
double scale_
 

Detailed Description

Error block for computing the fit between a set of projected points and a plane (aX + bY + cZ + d = 0). Typically used to align sensor with the ground, but could be used to align with a flat robot base, etc.

Definition at line 40 of file chain3d_to_plane_error.h.

Constructor & Destructor Documentation

robot_calibration::Chain3dToPlane::Chain3dToPlane ( ChainModel chain_model,
CalibrationOffsetParser offsets,
robot_calibration_msgs::CalibrationData &  data,
double  a,
double  b,
double  c,
double  d,
double  scale 
)
inline

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

Parameters
chain_modelThe model for the chain, used for reprojection.
offsetsEasy access to the free parameters.
dataThe calibration data collected.
aThe plane parameter a.
bThe plane parameter b.
cThe plane parameter c.
dThe plane parameter d.
scaleThe scaling factor to apply to residual of distance to plane.

Definition at line 53 of file chain3d_to_plane_error.h.

virtual robot_calibration::Chain3dToPlane::~Chain3dToPlane ( )
inlinevirtual

Definition at line 77 of file chain3d_to_plane_error.h.

Member Function Documentation

static ceres::CostFunction* robot_calibration::Chain3dToPlane::Create ( ChainModel a_model,
CalibrationOffsetParser offsets,
robot_calibration_msgs::CalibrationData &  data,
double  a,
double  b,
double  c,
double  d,
double  scale 
)
inlinestatic

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

Definition at line 103 of file chain3d_to_plane_error.h.

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

Definition at line 79 of file chain3d_to_plane_error.h.

Member Data Documentation

double robot_calibration::Chain3dToPlane::a_

Definition at line 129 of file chain3d_to_plane_error.h.

double robot_calibration::Chain3dToPlane::b_

Definition at line 129 of file chain3d_to_plane_error.h.

double robot_calibration::Chain3dToPlane::c_

Definition at line 129 of file chain3d_to_plane_error.h.

ChainModel* robot_calibration::Chain3dToPlane::chain_model_

Definition at line 126 of file chain3d_to_plane_error.h.

double robot_calibration::Chain3dToPlane::d_

Definition at line 129 of file chain3d_to_plane_error.h.

robot_calibration_msgs::CalibrationData robot_calibration::Chain3dToPlane::data_

Definition at line 128 of file chain3d_to_plane_error.h.

double robot_calibration::Chain3dToPlane::denom_

Definition at line 130 of file chain3d_to_plane_error.h.

CalibrationOffsetParser* robot_calibration::Chain3dToPlane::offsets_

Definition at line 127 of file chain3d_to_plane_error.h.

double robot_calibration::Chain3dToPlane::scale_

Definition at line 130 of file chain3d_to_plane_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