Go to the documentation of this file.
56 return std::make_shared<ParticleFactor<X> >();
70 using namespace gtsam;
82 TEST( particleFactor, eliminate) {
104 State x_initial(0.0, 0.0);
141 State expected0(0.0, 0.0);
142 Matrix P00 = 0.01 * I_2x2;
144 State expected1(1.0, 0.0);
148 State expected2(2.0, 0.0);
149 Matrix P12 = I11.inverse() +
Q;
152 State expected3(3.0, 0.0);
153 Matrix P23 = I22.inverse() +
Q;
160 State x_initial(0.0, 0.0);
static int runAllTests(TestResult &result)
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
Matrix< SCALARB, Dynamic, Dynamic, opt_B > B
#define EXPECT(condition)
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 x
std::shared_ptr< This > shared_ptr
shared_ptr to this class
State predict(const State &p, const Matrix &F, const Matrix &B, const Vector &u, const SharedDiagonal &modelQ) const
ParticleFactor< X >::shared_ptr State
noiseModel::Diagonal::shared_ptr SharedDiagonal
def step(data, isam, result, truth, currPoseIndex, isamArgs=())
State predictQ(const State &p, const Matrix &F, const Matrix &B, const Vector &u, const Matrix &Q) const
ParticleFactor This
Typedef to this class.
Simple linear Kalman filter. Implemented using factor graphs, i.e., does Cholesky-based SRIF,...
State init(const Vector &x0, const SharedDiagonal &P0)
The quaternion class used to represent 3D orientations and rotations.
GaussianDensity::shared_ptr State
State(double x, double y)
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
State update(const State &p, const Matrix &H, const Vector &z, const SharedDiagonal &model) const
State init(const Vector &x0, const SharedDiagonal &P0) const
#define LONGS_EQUAL(expected, actual)
Rot2 R(Rot2::fromAngle(0.1))
TEST(particleFactor, constructor)
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:08:06