gtsam
Loading...
Searching...
No Matches
LieGroupPreintegration.h
Go to the documentation of this file.
1/* ----------------------------------------------------------------------------
2
3 * GTSAM Copyright 2010, Georgia Tech Research Corporation,
4 * Atlanta, Georgia 30332-0415
5 * All Rights Reserved.
6 * Authors: Frank Dellaert, et al. (see THANKS for the full author list)
7
8 * See LICENSE for the license information
9
10 * -------------------------------------------------------------------------- */
11
18
19#pragma once
20
22
23namespace gtsam {
24
33 protected:
36
37 public:
39 inline static constexpr bool kLegacyUsesLogmap = true;
40
44 const std::shared_ptr<Params>& params,
46
48 Vector9 biasCorrectedDelta(const imuBias::ConstantBias& bias,
49 OptionalJacobian<9, 6> H = {}) const override;
50
51 protected:
53 void updateFactor(const Vector3& bodyAcceleration, const Vector3& bodyOmega,
54 double dt, OptionalJacobian<9, 9> F = {},
55 OptionalJacobian<9, 3> G1 = {},
56 OptionalJacobian<9, 3> G2 = {}) override;
57
58 void updateBiasJacobians(const Rot3& oldRotation,
59 const Vector3& bodyAcceleration,
60 const Vector3& bodyOmega, double dt,
61 const Matrix9& stateTransition,
62 const Matrix93& accelerationJacobian,
63 const Matrix93& omegaJacobian) override;
64
65 private:
66#if GTSAM_ENABLE_BOOST_SERIALIZATION
67 friend class boost::serialization::access;
68 template <class Archive>
69 void serialize(Archive& archive, const unsigned int /*version*/) {
70 archive& BOOST_SERIALIZATION_BASE_OBJECT_NVP(ManifoldPreintegration);
71 }
72#endif
73};
74
75} // namespace gtsam
Global functions in a separate testing namespace.
Definition chartTesting.h:28
OptionalJacobian is an Eigen::Ref like class that can take be constructed using either a fixed size o...
Definition OptionalJacobian.h:40
Definition ImuBias.h:34
static constexpr bool kLegacyUsesLogmap
Select the SE_2(3) logarithm in Legacy factor-error mode.
Definition LieGroupPreintegration.h:39
Vector9 biasCorrectedDelta(const imuBias::ConstantBias &bias, OptionalJacobian< 9, 6 > H={}) const override
Return Brossard's right-corrected delta in PIM (R,p,v) ordering.
Definition LieGroupPreintegration.cpp:117
LieGroupPreintegration()=default
Default constructor for serialization.
ManifoldPreintegration()
Default constructor for serialization.
Definition ManifoldPreintegration.h:49
const std::shared_ptr< Params > & params() const
shared pointer to params
Definition PreintegrationBase.h:98