47 std::shared_ptr<Params>
p_;
78 virtual void resetIntegration() = 0;
83 void resetIntegrationAndSetBias(
const Bias& biasHat);
87 return p_.get() == other.
p_.get();
91 const std::shared_ptr<Params>&
params()
const {
107 virtual Vector3 deltaPij()
const = 0;
108 virtual Vector3 deltaVij()
const = 0;
109 virtual Rot3 deltaRij()
const = 0;
110 virtual NavState deltaXij()
const = 0;
119 virtual void print(
const std::string&
s=
"")
const;
130 std::pair<Vector3, Vector3> correctMeasurementsBySensorPose(
145 virtual void integrateMeasurement(
const Vector3& measuredAcc,
146 const Vector3& measuredOmega,
const double dt);
168 Vector9 computeErrorAndJacobians(
const Pose3& pose_i,
const Vector3& vel_i,
176 #ifdef GTSAM_ENABLE_BOOST_SERIALIZATION 178 friend class boost::serialization::access;
179 template<
class ARCHIVE>
180 void serialize(ARCHIVE & ar,
const unsigned int ) {
181 ar & BOOST_SERIALIZATION_NVP(p_);
182 ar & BOOST_SERIALIZATION_NVP(biasHat_);
183 ar & BOOST_SERIALIZATION_NVP(deltaTij_);
void print(const Matrix &A, const string &s, ostream &stream)
std::ostream & operator<<(std::ostream &os, const Dih6 &m)
std::string serialize(const T &input)
serializes to a string
PreintegrationParams Params
bool matchesParamsWith(const PreintegrationBase &other) const
check parameters equality: checks whether shared pointer points to same Params object.
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
Rot3 is a 3D rotation represented as a rotation matrix if the preprocessor symbol GTSAM_USE_QUATERNIO...
Params & p() const
const reference to params
const std::shared_ptr< Params > & params() const
shared pointer to params
imuBias::ConstantBias Bias
Navigation state composing of attitude, position, and velocity.
const imuBias::ConstantBias & biasHat() const
static const Vector3 measuredAcc
double deltaTij_
Time interval from i to j.
virtual ~PreintegrationBase()
Virtual destructor for serialization.
Matrix< Scalar, Dynamic, Dynamic > C
static const Vector3 measuredOmega(w, 0, 0)
ofstream os("timeSchurFactors.csv")
Vector6 biasHatVector() const
#define GTSAM_MAKE_ALIGNED_OPERATOR_NEW
PreintegrationBase()
Default constructor for serialization.
std::shared_ptr< Params > p_
Bias biasHat_
Acceleration and gyro bias used for preintegration.