This class represent the base class for a general element of the MSCEqF state. This include the index of the variable (index in the residual, and in the covariance), and the degrees of freedom.
More...
#include <state_elements.hpp>
|
const uint & | getIndex () |
| Get the starting index of the state element in the residual, and in the covariance.
|
|
const uint & | getDof () |
| Get the degrees of freedom of the state element (dimension of relative covariance and residual block)
|
|
void | updateIndex (const uint &new_idx) |
| Update index.
|
|
virtual void | updateRight (const VectorX &delta)=0 |
| update function to update the value of the state element by right multiplication
|
|
virtual void | updateLeft (const VectorX &delta)=0 |
| update function to update the value of the state element by left multiplication
|
|
virtual std::unique_ptr< MSCEqFStateElement > | clone () const =0 |
| Clone.
|
|
|
uint | idx_ |
| Starting index of the element in the residual, and in the covariance.
|
|
uint | dof_ |
| Degrees of freedom of the element (dimension of relative covariance and residual block)
|
|
This class represent the base class for a general element of the MSCEqF state. This include the index of the variable (index in the residual, and in the covariance), and the degrees of freedom.
- Note
- Type-based index system inspired by: Geneva, Patrick, et al. "Openvins: A research platform for visual-inertial
estimation." 2020 IEEE International Conference on Robotics and Automation (ICRA). IEEE,
- https://ieeexplore.ieee.org/document/9196524
◆ MSCEqFStateElement()
msceqf::MSCEqFStateElement::MSCEqFStateElement |
( |
const uint & | idx, |
|
|
const uint & | dof ) |
|
inlineprotected |
Construct a MSCEqFStateElement object.
- Parameters
-
idx | Starting index of the element in the residual, and in the covariance |
dof | Degrees of freedom of the element (dimension of relative covariance and residual block) |
◆ clone()
◆ getDof()
const uint & msceqf::MSCEqFStateElement::getDof |
( |
| ) |
|
|
inlinenodiscard |
Get the degrees of freedom of the state element (dimension of relative covariance and residual block)
- Returns
- Degrees of freedom
◆ getIndex()
const uint & msceqf::MSCEqFStateElement::getIndex |
( |
| ) |
|
|
inlinenodiscard |
Get the starting index of the state element in the residual, and in the covariance.
- Returns
- Starting index
◆ updateIndex()
void msceqf::MSCEqFStateElement::updateIndex |
( |
const uint & | new_idx | ) |
|
|
inline |
◆ updateLeft()
virtual void msceqf::MSCEqFStateElement::updateLeft |
( |
const VectorX & | delta | ) |
|
|
pure virtual |
◆ updateRight()
virtual void msceqf::MSCEqFStateElement::updateRight |
( |
const VectorX & | delta | ) |
|
|
pure virtual |
The documentation for this class was generated from the following file: