Go to the documentation of this file.
24 using namespace std::placeholders;
26 using namespace gtsam;
32 double temp = 15.04 - 0.00649 * meters;
33 return 101.29 *
std::pow(((temp + 273.1) / 288.08), 5.256);
58 Matrix expectedH = numericalDerivative21<Vector, Pose3, double>(
62 Matrix expectedH2 = numericalDerivative22<Vector, Pose3, double>(
91 Pose3 T(Rot3::RzRyRx(0.5, 1., 1.),
Point3(20., 30., 1.));
95 Matrix expectedH = numericalDerivative21<Vector, Pose3, double>(
99 Matrix expectedH2 = numericalDerivative22<Vector, Pose3, double>(
static int runAllTests(TestResult &result)
double metersToBaro(const double &meters)
Array< double, 1, 3 > e(1./3., 0.5, 2.)
static const double d[K][N]
Header file for Barometric factor.
Concept check for values that can be used in unit tests.
#define EXPECT(condition)
Eigen::Triplet< double > T
Some functions to compute numerical derivatives.
const Symbol key2('v', 2)
EIGEN_DONT_INLINE Scalar zero()
TEST(BarometricFactor, Constructor)
noiseModel::Base::shared_ptr SharedNoiseModel
Jet< T, N > pow(const Jet< T, N > &f, double g)
noiseModel::Diagonal::shared_ptr model
const gtsam::Symbol key('X', 0)
Vector evaluateError(const Pose3 &p, const double &b, OptionalMatrixType H, OptionalMatrixType H2) const override
vector of errors
bool assert_equal(const Matrix &expected, const Matrix &actual, double tol)
The matrix class, also used for vectors and row-vectors.
std::uint64_t Key
Integer nonlinear key type.
Eigen::Matrix< double, Eigen::Dynamic, 1 > Vector
gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:07:14