added get to access gravity vector
parent
2d3f4dba88
commit
b5acfc5a0f
|
|
@ -56,6 +56,7 @@ struct PreintegrationParams: PreintegratedRotationParams {
|
||||||
|
|
||||||
const Matrix3& getAccelerometerCovariance() const { return accelerometerCovariance; }
|
const Matrix3& getAccelerometerCovariance() const { return accelerometerCovariance; }
|
||||||
const Matrix3& getIntegrationCovariance() const { return integrationCovariance; }
|
const Matrix3& getIntegrationCovariance() const { return integrationCovariance; }
|
||||||
|
const Vector3& getGravity() const { return n_gravity; }
|
||||||
bool getUse2ndOrderCoriolis() const { return use2ndOrderCoriolis; }
|
bool getUse2ndOrderCoriolis() const { return use2ndOrderCoriolis; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue