Error block to restrict the offsets generated by ceres-solver from becoming outrageously large.
More...
#include <outrageous_error.h>
Error block to restrict the offsets generated by ceres-solver from becoming outrageously large.
Definition at line 34 of file outrageous_error.h.
◆ OutrageousError()
| robot_calibration::OutrageousError::OutrageousError |
( |
CalibrationOffsetParser * |
offsets, |
|
|
std::string |
name, |
|
|
double |
joint_scaling, |
|
|
double |
position_scaling, |
|
|
double |
rotation_scaling |
|
) |
| |
|
inline |
Constructor for an error functor.
- Parameters
-
| offsets | The calibration offset parser instance |
| name | The name of the joint or frame which we are restricting. |
| joint_scaling | The error scalar to multiply the joint offset by. |
| position_scaling | The error scalar to multiply each of the position offsets by. |
| rotation_scaling | The error scalar to multiply each of the rotation offsets by (in their angle-axis form). |
Definition at line 46 of file outrageous_error.h.
◆ ~OutrageousError()
| virtual robot_calibration::OutrageousError::~OutrageousError |
( |
| ) |
|
|
inlinevirtual |
◆ Create()
| static ceres::CostFunction* robot_calibration::OutrageousError::Create |
( |
CalibrationOffsetParser * |
offsets, |
|
|
std::string |
name, |
|
|
double |
joint_scaling, |
|
|
double |
position_scaling, |
|
|
double |
rotation_scaling |
|
) |
| |
|
inlinestatic |
◆ operator()()
| bool robot_calibration::OutrageousError::operator() |
( |
double const *const * |
free_params, |
|
|
double * |
residuals |
|
) |
| const |
|
inline |
Operator for ceres-solver to call.
- Parameters
-
| free_params | Double pointer leading only to the offsets vector. |
| residuals | This functor returns 7 residuals. |
Definition at line 66 of file outrageous_error.h.
◆ joint_
| double robot_calibration::OutrageousError::joint_ |
◆ name_
| std::string robot_calibration::OutrageousError::name_ |
◆ offsets_
◆ position_
| double robot_calibration::OutrageousError::position_ |
◆ rotation_
| double robot_calibration::OutrageousError::rotation_ |
The documentation for this struct was generated from the following file: