68 const boost::shared_ptr<Params>&
p,
72 const Matrix3& delRdelBiasOmega,
73 const Matrix3& preint_meas_cov) :
76 preintMeasCov_(preint_meas_cov) {}
83 void print(
const std::string&
s =
"Preintegrated Measurements: ")
const;
89 void resetIntegration();
104 static Vector DeltaAngles(
const Vector& msr_gyro_t,
const double msr_dt,
109 const Matrix3& measuredOmegaCovariance)
112 p_->gyroscopeCovariance = measuredOmegaCovariance;
119 friend class boost::serialization::access;
120 template<
class ARCHIVE>
123 ar & BOOST_SERIALIZATION_NVP(p_);
124 ar & BOOST_SERIALIZATION_NVP(biasHat_);
141 #if !defined(_MSC_VER) && __GNUC__ == 4 && __GNUC_MINOR__ > 5 142 typedef typename boost::shared_ptr<AHRSFactor>
shared_ptr;
179 const Vector3&
bias, boost::optional<Matrix&> H1 = boost::none,
180 boost::optional<Matrix&> H2 = boost::none, boost::optional<Matrix&> H3 =
181 boost::none)
const override;
194 const PreintegratedMeasurements& preintegratedMeasurements,
196 const boost::optional<Pose3>& body_P_sensor = boost::none);
200 const PreintegratedMeasurements preintegratedMeasurements,
202 const boost::optional<Pose3>& body_P_sensor = boost::none);
207 friend class boost::serialization::access;
208 template<
class ARCHIVE>
211 & boost::serialization::make_nvp(
"NoiseModelFactor3",
212 boost::serialization::base_object<Base>(*
this));
213 ar & BOOST_SERIALIZATION_NVP(_PIM_);
void print(const Matrix &A, const string &s, ostream &stream)
gtsam::enable_if_t< needs_eigen_aligned_allocator< T >::value, boost::shared_ptr< T > > make_shared(Args &&...args)
PreintegratedAhrsMeasurements PreintegratedMeasurements
const Vector3 & biasHat() const
void serialize(ARCHIVE &ar, const unsigned int)
void serialize(ARCHIVE &ar, const unsigned int)
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
const PreintegratedAhrsMeasurements & preintegratedMeasurements() const
Access the preintegrated measurements.
static const KeyFormatter DefaultKeyFormatter
PreintegratedAhrsMeasurements(const Vector3 &biasHat, const Matrix3 &measuredOmegaCovariance)
boost::shared_ptr< This > shared_ptr
static const double deltaT
std::function< std::string(Key)> KeyFormatter
Typedef for a function to format a key, i.e. to convert it to a string.
Array< double, 1, 3 > e(1./3., 0.5, 2.)
PreintegratedAhrsMeasurements(const boost::shared_ptr< Params > &p, const Vector3 &biasHat)
const Matrix3 & preintMeasCov() const
boost::shared_ptr< AHRSFactor > shared_ptr
NoiseModelFactor3< Rot3, Rot3, Vector3 > Base
static const Vector3 measuredOmega(w, 0, 0)
boost::shared_ptr< Factor > shared_ptr
A shared_ptr to this class.
Non-linear factor base classes.
Matrix3 preintMeasCov_
Covariance matrix of the preintegrated measurements (first-order propagation from measurementCovarian...
PreintegratedAhrsMeasurements(const boost::shared_ptr< Params > &p, const Vector3 &bias_hat, double deltaTij, const Rot3 &deltaRij, const Matrix3 &delRdelBiasOmega, const Matrix3 &preint_meas_cov)
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_