Go to the documentation of this file.
32 #ifdef GTSAM_TANGENT_PREINTEGRATION
103 preintMeasCov_(preintMeasCov) {
112 void print(
const std::string&
s =
"Preintegrated Measurements:")
const override;
118 void resetIntegration()
override;
140 #ifdef GTSAM_TANGENT_PREINTEGRATION
146 #if GTSAM_ENABLE_BOOST_SERIALIZATION
147 friend class boost::serialization::access;
149 template<
class ARCHIVE>
150 void serialize(ARCHIVE & ar,
const unsigned int ) {
151 namespace bs = ::boost::serialization;
153 ar & BOOST_SERIALIZATION_NVP(preintMeasCov_);
171 imuBias::ConstantBias> {
183 using Base::evaluateError;
186 #if !defined(_MSC_VER) && __GNUC__ == 4 && __GNUC_MINOR__ > 5
187 typedef typename std::shared_ptr<ImuFactor>
shared_ptr;
236 #ifdef GTSAM_TANGENT_PREINTEGRATION
243 static shared_ptr Merge(
const shared_ptr& f01,
const shared_ptr& f12);
248 #if GTSAM_ENABLE_BOOST_SERIALIZATION
249 friend class boost::serialization::access;
250 template<
class ARCHIVE>
251 void serialize(ARCHIVE & ar,
const unsigned int ) {
253 ar & boost::serialization::make_nvp(
"NoiseModelFactor5",
254 boost::serialization::base_object<Base>(*
this));
255 ar & BOOST_SERIALIZATION_NVP(_PIM_);
276 using Base::evaluateError;
320 #if GTSAM_ENABLE_BOOST_SERIALIZATION
322 friend class boost::serialization::access;
323 template<
class ARCHIVE>
324 void serialize(ARCHIVE & ar,
const unsigned int ) {
326 ar & boost::serialization::make_nvp(
"NoiseModelFactor3",
327 boost::serialization::base_object<Base>(*
this));
328 ar & BOOST_SERIALIZATION_NVP(_PIM_);
std::shared_ptr< This > shared_ptr
Annotation indicating that a class derives from another given type.
NoiseModelFactorN< Pose3, Vector3, Pose3, Vector3, imuBias::ConstantBias > Base
Array< double, 1, 3 > e(1./3., 0.5, 2.)
std::ostream & operator<<(std::ostream &os, const Dih6 &m)
const Vector3 bias(1, 2, 3)
std::shared_ptr< ImuFactor > shared_ptr
PreintegratedImuMeasurements _PIM_
Matrix9 preintMeasCov_
(first-order propagation from measurementCovariance).
ofstream os("timeSchurFactors.csv")
void integrateMeasurements(const vector< ImuMeasurement > &measurements, PIM *pim)
std::shared_ptr< Factor > shared_ptr
A shared_ptr to this class.
PreintegratedImuMeasurements(const PreintegrationType &base, const Matrix9 &preintMeasCov)
KeyFormatter DefaultKeyFormatter
Assign default key formatter.
PreintegratedImuMeasurements _PIM_
PreintegratedImuMeasurements()
Default constructor for serialization and wrappers.
void print(const Matrix &A, const string &s, ostream &stream)
const Vector3 measuredOmega
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
Matrix preintMeasCov() const
Return pre-integrated measurement covariance.
PreintegratedImuMeasurements(const std::shared_ptr< PreintegrationParams > &p, const imuBias::ConstantBias &biasHat=imuBias::ConstantBias())
ManifoldPreintegration PreintegrationType
Non-linear factor base classes.
void resetIntegration() override
Matrix * OptionalMatrixType
static const Vector3 measuredAcc
~PreintegratedImuMeasurements() override
Virtual destructor.
NoiseModelFactorN< NavState, NavState, imuBias::ConstantBias > Base
const PreintegratedImuMeasurements & preintegratedMeasurements() const
std::uint64_t Key
Integer nonlinear key type.
const PreintegratedImuMeasurements & preintegratedMeasurements() const
gtsam
Author(s):
autogenerated on Wed Mar 19 2025 03:01:49