Go to the documentation of this file.
29 #ifndef HECTOR_POSE_ESTIMATION_MAGNETIC_H
30 #define HECTOR_POSE_ESTIMATION_MAGNETIC_H
39 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
72 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
81 Magnetic(
const std::string& name =
"height");
84 virtual void onReset();
86 virtual MeasurementVector
const& getVector(
const Update &update,
const State&);
89 virtual bool prepareUpdate(
State &state,
const Update &update);
102 #endif // HECTOR_POSE_ESTIMATION_MAGNETIC_H
unsigned int SystemStatus
MeasurementVector magnetic_field_north_
ColumnVector_< Dynamic >::type ColumnVector
double getTrueHeading(const State &state, const MeasurementVector &y) const
virtual void getExpectedValue(MeasurementVector &y_pred, const State &state)
double getMagneticHeading(const State &state, const MeasurementVector &y) const
bool hasMagnitude() const
void updateMagneticField()
virtual SystemStatus getStatusFlags()
virtual void getStateJacobian(MeasurementMatrix &C, const State &state, bool init)
GlobalReferencePtr reference_
MeasurementVector magnetic_field_reference_
EIGEN_MAKE_ALIGNED_OPERATOR_NEW MagneticModel()
virtual void getMeasurementNoise(NoiseVariance &R, const State &, bool init)
virtual bool init(PoseEstimation &estimator, Measurement &measurement, State &state)
void setReference(const GlobalReference::Heading &reference_heading)