state-observation 1.7.0
Loading...
Searching...
No Matches
magnetic-field.hpp
Go to the documentation of this file.
1
12#ifndef SENSORALGORITHMSMAGNETICFIELDHPP
13#define SENSORALGORITHMSMAGNETICFIELDHPP
14
15#include <state-observation/api.h>
17
18namespace stateObservation
19{
20namespace algorithm
21{
29{
30public:
32
34 virtual ~MagneticField() {}
35
37 Vector3 magneticFieldMeasure(const Matrix3 & orientation) const;
38
39private:
40 Vector3 earthLocalMagneticField_;
41};
42} // namespace algorithm
43
44} // namespace stateObservation
45
46#endif // SENSORALGORITHMSLINEARACCELERATIONHPP
Implements the measurements given by an magnetometer.
Definition magnetic-field.hpp:29
virtual ~MagneticField()
virtual destructor
Definition magnetic-field.hpp:34
Vector3 magneticFieldMeasure(const Matrix3 &orientation) const
The magnetic field measurement in the local frame represented by the orientation Matrix.
Definitions of types and some structures.
Definition bidim-elastic-inv-pendulum-dyn-sys.hpp:21
Eigen::Vector3d Vector3
3D vector
Definition definitions.hpp:85
Eigen::Matrix3d Matrix3
3x3 Scalar Matrix
Definition definitions.hpp:109
Eigen::MatrixXd Matrix
Dynamic sized Matrix.
Definition definitions.hpp:100