Go to the documentation of this file.
15 using namespace std::placeholders;
16 using namespace gtsam;
17 using namespace imuBias;
49 Vector3 biasGyro(0.1, 0.2, 0.3);
53 noiseModel::Isotropic::Sigma(6, 0.1));
61 (Vector6() << 1.1, 2.1, 3.1, 0.2, 0.3, 0.4).finished());
static int runAllTests(TestResult &result)
#define EXPECT_CORRECT_FACTOR_JACOBIANS(factor, values, numerical_derivative_step, tolerance)
Check the Jacobians produced by a factor against finite differences.
typedef and functions to augment Eigen's VectorXd
Array< double, 1, 3 > e(1./3., 0.5, 2.)
const Vector3 bias(1, 2, 3)
double error(const DiscreteValues &values) const override
Calculate error for DiscreteValues x, is -log(probability).
DecisionTreeFactor factor(D &C &B &A, "0.0 0.0 0.0 0.60658897 0.61241912 0.61241969 0.61247685 0.61247742 0.0 " "0.0 0.0 0.99995287 1.0 1.0 1.0 1.0")
Evaluate derivatives of a nonlinear factor numerically.
void insert(Key j, const Vector &value)
noiseModel::Base::shared_ptr SharedNoiseModel
noiseModel::Diagonal::shared_ptr model
#define EXPECT_DOUBLES_EQUAL(expected, actual, threshold)
TEST(PriorFactor, ConstructorScalar)
Array< int, Dynamic, 1 > v
Vector callEvaluateError(const PriorFactor< ConstantBias > &factor, const ConstantBias &bias)
gtsam
Author(s):
autogenerated on Wed Jan 1 2025 04:07:01