70 const std::shared_ptr<Params>&
p,
74 const Matrix3& delRdelBiasOmega,
75 const Matrix3& preint_meas_cov) :
78 preintMeasCov_(preint_meas_cov) {}
85 void print(
const std::string&
s =
"Preintegrated Measurements: ")
const;
91 void resetIntegration();
110 static Vector DeltaAngles(
const Vector& msr_gyro_t,
const double msr_dt,
115 const Matrix3& measuredOmegaCovariance)
117 p_->gyroscopeCovariance = measuredOmegaCovariance;
123 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION 125 friend class boost::serialization::access;
126 template<
class ARCHIVE>
127 void serialize(ARCHIVE & ar,
const unsigned int ) {
129 ar & BOOST_SERIALIZATION_NVP(p_);
130 ar & BOOST_SERIALIZATION_NVP(biasHat_);
148 using Base::evaluateError;
151 #if !defined(_MSC_VER) && __GNUC__ == 4 && __GNUC_MINOR__ > 5 152 typedef typename std::shared_ptr<AHRSFactor>
shared_ptr;
211 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION 213 friend class boost::serialization::access;
214 template<
class ARCHIVE>
215 void serialize(ARCHIVE & ar,
const unsigned int ) {
218 & boost::serialization::make_nvp(
"NoiseModelFactor3",
219 boost::serialization::base_object<Base>(*
this));
220 ar & BOOST_SERIALIZATION_NVP(_PIM_);
void print(const Matrix &A, const string &s, ostream &stream)
std::shared_ptr< AHRSFactor > shared_ptr
std::string serialize(const T &input)
serializes to a string
PreintegratedAhrsMeasurements(const std::shared_ptr< Params > &p, const Vector3 &bias_hat, double deltaTij, const Rot3 &deltaRij, const Matrix3 &delRdelBiasOmega, const Matrix3 &preint_meas_cov)
static Pose3 body_P_sensor(Rot3::RzRyRx(-M_PI_2, 0.0, -M_PI_2), Point3(0.25, -0.10, 1.0))
set noclip points set clip one set noclip two set bar set border lt lw set xdata set ydata set zdata set x2data set y2data set boxwidth set dummy y set format x g set format y g set format x2 g set format y2 g set format z g set angles radians set nogrid set key title set key left top Right noreverse box linetype linewidth samplen spacing width set nolabel set noarrow set nologscale set logscale x set set pointsize set encoding default set nopolar set noparametric set set set set surface set nocontour set clabel set mapping cartesian set nohidden3d set cntrparam order set cntrparam linear set cntrparam levels auto set cntrparam points set size set set xzeroaxis lt lw set x2zeroaxis lt lw set yzeroaxis lt lw set y2zeroaxis lt lw set tics in set ticslevel set tics set mxtics default set mytics default set mx2tics default set my2tics default set xtics border mirror norotate autofreq set ytics border mirror norotate autofreq set ztics border nomirror norotate autofreq set nox2tics set noy2tics set timestamp bottom norotate set rrange [*:*] noreverse nowriteback set trange [*:*] noreverse nowriteback set urange [*:*] noreverse nowriteback set vrange [*:*] noreverse nowriteback set xlabel matrix size set x2label set timefmt d m y n H
static const KeyFormatter DefaultKeyFormatter
Rot3 is a 3D rotation represented as a rotation matrix if the preprocessor symbol GTSAM_USE_QUATERNIO...
PreintegratedAhrsMeasurements(const Vector3 &biasHat, const Matrix3 &measuredOmegaCovariance)
const PreintegratedAhrsMeasurements & preintegratedMeasurements() const
Access the preintegrated measurements.
Matrix * OptionalMatrixType
PreintegratedAhrsMeasurements(const std::shared_ptr< Params > &p, const Vector3 &biasHat)
const Vector3 & biasHat() const
gtsam::enable_if_t< needs_eigen_aligned_allocator< T >::value, std::shared_ptr< T > > make_shared(Args &&... args)
static const double deltaT
Array< double, 1, 3 > e(1./3., 0.5, 2.)
std::shared_ptr< Factor > shared_ptr
A shared_ptr to this class.
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
static const Vector3 measuredOmega(w, 0, 0)
Non-linear factor base classes.
std::shared_ptr< This > shared_ptr
Matrix3 preintMeasCov_
Covariance matrix of the preintegrated measurements (first-order propagation from measurementCovarian...
Vector3 biasHat_
Angular rate bias values used during preintegration.
PreintegratedAhrsMeasurements()
Default constructor, only for serialization and wrappers.
std::uint64_t Key
Integer nonlinear key type.
PreintegratedAhrsMeasurements _PIM_
const Matrix3 & preintMeasCov() const
NoiseModelFactorN< Rot3, Rot3, Vector3 > Base