class to store the projected residuals and the corresponding jacobian as well as the covariance matrix in the system of residuals
More...
#include <Projection.h>
|
| Projection (int dimP, int dimC) |
| constructor
|
|
virtual | ~Projection () |
| destructor
|
|
Eigen::Matrix< double, -1, -1, 0, 7, MAX_MATRIX_SIZE > & | getH () |
| get projection matrix
|
|
const Eigen::Matrix< double, -1, -1, 0, 7, MAX_MATRIX_SIZE > | getH () const |
| get projection matrix
|
|
Eigen::Matrix< double, -1, 1, 0, 7, 1 > & | getResiduals () |
| get residuals
|
|
const Eigen::Matrix< double, -1, 1, 0, 7, 1 > | getResiduals () const |
| get residuals
|
|
double | getElementInResiduals (int row) |
| ge element in residuals
|
|
Eigen::Matrix< double, -1, -1, 0, 7, 7 > & | getV () |
| get residuals cov matrix
|
|
const Eigen::Matrix< double, -1, -1, 0, 7, 7 > & | getV () const |
| get residuals cov matrix
|
|
void | resetProjection () |
| reset projection
|
|
unsigned int | getOffset () const |
| get offset (for mergedcosntraints)
|
|
void | incrementOffset (unsigned int i) |
| increment offset
|
|
unsigned int | offset () const |
| get offset
|
|
int | getDim () const |
| get size
|
|
int | getDimCov () const |
| get size
|
|
|
Eigen::Matrix< double, -1, -1, 0, 7, MAX_MATRIX_SIZE > | m_H |
| jacobian of the constraint, converts x,p,E<->system of residuals
|
|
Eigen::Matrix< double, -1, -1, 0, 7, 7 > | m_V |
| covariance matrix of this constraint (r')
|
|
Eigen::Matrix< double, -1, 1, 0, 7, 1 > | m_residual |
| residuals of constraint
|
|
int | m_dimCov |
| dimension of the covariance
|
|
int | m_dimProj |
| dimension of H
|
|
unsigned int | m_offset |
| offset for constraint index.
|
|
class to store the projected residuals and the corresponding jacobian as well as the covariance matrix in the system of residuals
Definition at line 18 of file Projection.h.
◆ Projection()
constructor
Definition at line 15 of file Projection.cc.
15 :
16 m_H(dimC, dimP),
17 m_V(dimC, dimC),
18 m_residual(dimC),
19 m_dimCov(dimC),
20 m_dimProj(dimP),
21 m_offset(0) {}
◆ ~Projection()
◆ getDim()
◆ getDimCov()
◆ getElementInResiduals()
double getElementInResiduals |
( |
int | row | ) |
|
|
inline |
ge element in residuals
Definition at line 41 of file Projection.h.
41{ return m_residual(m_offset + row, 1); }
◆ getH() [1/2]
Eigen::Matrix< double, -1, -1, 0, 7, MAX_MATRIX_SIZE > & getH |
( |
| ) |
|
|
inline |
◆ getH() [2/2]
const Eigen::Matrix< double, -1, -1, 0, 7, MAX_MATRIX_SIZE > getH |
( |
| ) |
const |
|
inline |
◆ getOffset()
unsigned int getOffset |
( |
| ) |
const |
|
inline |
get offset (for mergedcosntraints)
Definition at line 53 of file Projection.h.
◆ getResiduals() [1/2]
Eigen::Matrix< double, -1, 1, 0, 7, 1 > & getResiduals |
( |
| ) |
|
|
inline |
◆ getResiduals() [2/2]
const Eigen::Matrix< double, -1, 1, 0, 7, 1 > getResiduals |
( |
| ) |
const |
|
inline |
◆ getV() [1/2]
Eigen::Matrix< double, -1, -1, 0, 7, 7 > & getV |
( |
| ) |
|
|
inline |
◆ getV() [2/2]
const Eigen::Matrix< double, -1, -1, 0, 7, 7 > & getV |
( |
| ) |
const |
|
inline |
◆ incrementOffset()
void incrementOffset |
( |
unsigned int | i | ) |
|
|
inline |
◆ offset()
unsigned int offset |
( |
| ) |
const |
|
inline |
◆ resetProjection()
reset projection
Definition at line 23 of file Projection.cc.
24 {
25 m_residual = Eigen::Matrix < double, -1, 1, 0, 7, 1 >::Zero(m_dimCov);
26 m_H = Eigen::Matrix < double, -1, -1, 0, 7, MAX_MATRIX_SIZE >::Zero(m_dimCov, m_dimProj);
27 m_V = Eigen::Matrix < double, -1, -1, 0, 7, 7 >::Zero(m_dimCov, m_dimCov);
28 m_offset = 0;
29 }
◆ m_dimCov
dimension of the covariance
Definition at line 78 of file Projection.h.
◆ m_dimProj
◆ m_H
Eigen::Matrix< double, -1, -1, 0, 7, MAX_MATRIX_SIZE > m_H |
|
private |
jacobian of the constraint, converts x,p,E<->system of residuals
Definition at line 69 of file Projection.h.
◆ m_offset
offset for constraint index.
used when there's more then one constraint projected
Definition at line 84 of file Projection.h.
◆ m_residual
Eigen::Matrix< double, -1, 1, 0, 7, 1 > m_residual |
|
private |
◆ m_V
Eigen::Matrix< double, -1, -1, 0, 7, 7 > m_V |
|
private |
covariance matrix of this constraint (r')
Definition at line 72 of file Projection.h.
The documentation for this class was generated from the following files: