26 #ifndef KALMANFILTER_DEFAULT_FACTORIZATION 27 #define KALMANFILTER_DEFAULT_FACTORIZATION QR 72 n_(n), I_(
Matrix::Identity(n_, n_)), function_(
89 void print(
const std::string&
s =
"")
const;
93 return p->firstFrontalKey();
113 State predictQ(
const State& p,
const Matrix& F,
const Matrix& B,
124 State predict2(
const State& p,
const Matrix& A0,
const Matrix&
A1,
144 State updateQ(
const State& p,
const Matrix& H,
const Vector& z,
void print(const Matrix &A, const string &s, ostream &stream)
noiseModel::Diagonal::shared_ptr model
GaussianDensity::shared_ptr State
const GaussianFactorGraph::Eliminate function_
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy y set format x g set format y g set format x2 g set format y2 g set format z g set angles radians set nogrid set key title set key left top Right noreverse box linetype linewidth samplen spacing width set nolabel set noarrow set nologscale set logscale x set set pointsize set encoding default set nopolar set noparametric set set set set surface set nocontour set clabel set mapping cartesian set nohidden3d set cntrparam order set cntrparam linear set cntrparam levels auto set cntrparam points set size set set xzeroaxis lt lw set x2zeroaxis lt lw set yzeroaxis lt lw set y2zeroaxis lt lw set tics in set ticslevel set tics set mxtics default set mytics default set mx2tics default set my2tics default set xtics border mirror norotate autofreq set ytics border mirror norotate autofreq set ztics border nomirror norotate autofreq set nox2tics set noy2tics set timestamp bottom norotate set rrange [*:*] noreverse nowriteback set trange [*:*] noreverse nowriteback set urange [*:*] noreverse nowriteback set vrange [*:*] noreverse nowriteback set xlabel matrix size set x2label set timefmt d m y n H
#define KALMANFILTER_DEFAULT_FACTORIZATION
std::function< EliminationResult(const FactorGraphType &, const Ordering &)> Eliminate
The function type that does a single dense elimination step on a subgraph.
std::pair< std::shared_ptr< GaussianConditional >, std::shared_ptr< HessianFactor > > EliminateCholesky(const GaussianFactorGraph &factors, const Ordering &keys)
KalmanFilter(size_t n, Factorization method=KALMANFILTER_DEFAULT_FACTORIZATION)
Linear Factor Graph where all factors are Gaussians.
std::pair< GaussianConditional::shared_ptr, JacobianFactor::shared_ptr > EliminateQR(const GaussianFactorGraph &factors, const Ordering &keys)
std::shared_ptr< This > shared_ptr
shared_ptr to this class
noiseModel::Diagonal::shared_ptr SharedDiagonal
The quaternion class used to represent 3D orientations and rotations.
std::shared_ptr< GaussianDensity > shared_ptr
detail::initimpl::constructor< Args... > init()
Binds an existing constructor taking arguments Args...
std::uint64_t Key
Integer nonlinear key type.
static Key step(const State &p)