Relative error between two poses.
More...
#include <RelativePoseError.hpp>
|
typedef Eigen::Matrix< double, 6, 6 > | information_t |
| The information matrix type (6x6). More...
|
|
typedef Eigen::Matrix< double, 6, 6 > | covariance_t |
| The covariance matrix type (same as information). More...
|
|
|
EIGEN_MAKE_ALIGNED_OPERATOR_NEW
typedef::ceres::SizedCostFunction< 6, 7, 7 > | base_t |
| The base class type. More...
|
|
Relative error between two poses.
The covariance matrix type (same as information).
The information matrix type (6x6).
okvis::ceres::RelativePoseError::RelativePoseError |
( |
| ) |
|
okvis::ceres::RelativePoseError::RelativePoseError |
( |
const Eigen::Matrix< double, 6, 6 > & |
information | ) |
|
Construct with measurement and information matrix.
- Parameters
-
[in] | information | The information (weight) matrix. |
okvis::ceres::RelativePoseError::RelativePoseError |
( |
double |
translationVariance, |
|
|
double |
rotationVariance |
|
) |
| |
Construct with measurement and variance.
- Parameters
-
[in] | translationVariance | The (relative) translation variance. |
[in] | rotationVariance | The (relative) rotation variance. |
virtual okvis::ceres::RelativePoseError::~RelativePoseError |
( |
| ) |
|
|
inlinevirtual |
const information_t& okvis::ceres::RelativePoseError::covariance |
( |
| ) |
const |
|
inline |
Get the covariance matrix.
- Returns
- The inverse information (covariance) matrix.
bool okvis::ceres::RelativePoseError::Evaluate |
( |
double const *const * |
parameters, |
|
|
double * |
residuals, |
|
|
double ** |
jacobians |
|
) |
| const |
|
virtual |
This evaluates the error term and additionally computes the Jacobians.
- Parameters
-
parameters | Pointer to the parameters (see ceres) |
residuals | Pointer to the residual vector (see ceres) |
jacobians | Pointer to the Jacobians (see ceres) |
- Returns
- success of th evaluation.
bool okvis::ceres::RelativePoseError::EvaluateWithMinimalJacobians |
( |
double const *const * |
parameters, |
|
|
double * |
residuals, |
|
|
double ** |
jacobians, |
|
|
double ** |
jacobiansMinimal |
|
) |
| const |
|
virtual |
This evaluates the error term and additionally computes the Jacobians in the minimal internal representation.
- Parameters
-
parameters | Pointer to the parameters (see ceres) |
residuals | Pointer to the residual vector (see ceres) |
jacobians | Pointer to the Jacobians (see ceres) |
jacobiansMinimal | Pointer to the minimal Jacobians (equivalent to jacobians). |
- Returns
- Success of the evaluation.
Implements okvis::ceres::ErrorInterface.
const information_t& okvis::ceres::RelativePoseError::information |
( |
| ) |
const |
|
inline |
Get the information matrix.
- Returns
- The information (weight) matrix.
size_t okvis::ceres::RelativePoseError::parameterBlockDim |
( |
size_t |
parameterBlockId | ) |
const |
|
inlinevirtual |
size_t okvis::ceres::RelativePoseError::parameterBlocks |
( |
| ) |
const |
|
inlinevirtual |
size_t okvis::ceres::RelativePoseError::residualDim |
( |
| ) |
const |
|
inlinevirtual |
void okvis::ceres::RelativePoseError::setInformation |
( |
const information_t & |
information | ) |
|
Set the information.
- Parameters
-
[in] | information | The information (weight) matrix. |
virtual std::string okvis::ceres::RelativePoseError::typeInfo |
( |
| ) |
const |
|
inlinevirtual |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW typedef ::ceres::SizedCostFunction<6, 7, 7> okvis::ceres::RelativePoseError::base_t |
The 6x6 covariance matrix.
The 6x6 information matrix.
const int okvis::ceres::RelativePoseError::kNumResiduals = 6 |
|
static |
information_t okvis::ceres::RelativePoseError::squareRootInformation_ |
|
protected |
The 6x6 square root information matrix.
The documentation for this class was generated from the following files: