OKVIS ROS
|
Simple interface class the errors implemented here should inherit from. More...
#include <ErrorInterface.hpp>
Public Member Functions | |
EIGEN_MAKE_ALIGNED_OPERATOR_NEW | ErrorInterface () |
Constructor. More... | |
virtual | ~ErrorInterface () |
Destructor (does nothing). More... | |
virtual bool | EvaluateWithMinimalJacobians (double const *const *parameters, double *residuals, double **jacobians, double **jacobiansMinimal) const =0 |
This evaluates the error term and additionally computes the Jacobians in the minimal internal representation. More... | |
virtual std::string | typeInfo () const =0 |
Residual block type as string. More... | |
Sizes | |
virtual size_t | residualDim () const =0 |
Get dimension of residuals. More... | |
virtual size_t | parameterBlocks () const =0 |
Get the number of parameter blocks this is connected to. More... | |
virtual size_t | parameterBlockDim (size_t parameterBlockId) const =0 |
get the dimension of a parameter block this is connected to. More... | |
Simple interface class the errors implemented here should inherit from.
|
inline |
Constructor.
|
inlinevirtual |
Destructor (does nothing).
|
pure virtual |
This evaluates the error term and additionally computes the Jacobians in the minimal internal representation.
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). |
Implemented in okvis::ceres::ImuError, okvis::ceres::MarginalizationError, okvis::ceres::ReprojectionError< GEOMETRY_TYPE >, okvis::ceres::PoseError, okvis::ceres::SpeedAndBiasError, okvis::ceres::HomogeneousPointError, and okvis::ceres::RelativePoseError.
|
pure virtual |
get the dimension of a parameter block this is connected to.
parameterBlockId | The ID of the parameter block of interest. |
Implemented in okvis::ceres::ImuError, okvis::ceres::MarginalizationError, okvis::ceres::ReprojectionError< GEOMETRY_TYPE >, okvis::ceres::PoseError, okvis::ceres::SpeedAndBiasError, okvis::ceres::HomogeneousPointError, and okvis::ceres::RelativePoseError.
|
pure virtual |
Get the number of parameter blocks this is connected to.
Implemented in okvis::ceres::ImuError, okvis::ceres::MarginalizationError, okvis::ceres::ReprojectionError< GEOMETRY_TYPE >, okvis::ceres::PoseError, okvis::ceres::SpeedAndBiasError, okvis::ceres::HomogeneousPointError, and okvis::ceres::RelativePoseError.
|
pure virtual |
Get dimension of residuals.
Implemented in okvis::ceres::ImuError, okvis::ceres::MarginalizationError, okvis::ceres::ReprojectionError< GEOMETRY_TYPE >, okvis::ceres::PoseError, okvis::ceres::SpeedAndBiasError, okvis::ceres::HomogeneousPointError, and okvis::ceres::RelativePoseError.
|
pure virtual |
Residual block type as string.
Implemented in okvis::ceres::ImuError, okvis::ceres::MarginalizationError, okvis::ceres::ReprojectionError< GEOMETRY_TYPE >, okvis::ceres::PoseError, okvis::ceres::SpeedAndBiasError, okvis::ceres::HomogeneousPointError, and okvis::ceres::RelativePoseError.