36 accelerometerCovariance(I_3x3),
37 integrationCovariance(I_3x3),
38 use2ndOrderCoriolis(false),
45 accelerometerCovariance(I_3x3),
46 integrationCovariance(I_3x3),
47 use2ndOrderCoriolis(false),
51 static std::shared_ptr<PreintegrationParams>
MakeSharedD(
double g = 9.81) {
56 static std::shared_ptr<PreintegrationParams>
MakeSharedU(
double g = 9.81) {
60 void print(
const std::string&
s=
"")
const override;
74 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION
76 friend class boost::serialization::access;
77 template<
class ARCHIVE>
78 void serialize(ARCHIVE & ar,
const unsigned int ) {
79 namespace bs = ::boost::serialization;
81 ar & BOOST_SERIALIZATION_NVP(accelerometerCovariance);
82 ar & BOOST_SERIALIZATION_NVP(integrationCovariance);
83 ar & BOOST_SERIALIZATION_NVP(use2ndOrderCoriolis);
88 #ifdef GTSAM_USE_QUATERNIONS