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>(
68 factor.evaluateError(
T, baroBias, actualH, actualH2);
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
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")
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)
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 Sun Dec 22 2024 04:16:06