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 
18 namespace stateObservation
19 {
20 namespace algorithm
21 {
28 class STATE_OBSERVATION_DLLAPI MagneticField
29 {
30 public:
31  MagneticField();
32 
34  virtual ~MagneticField() {}
35 
37  Vector3 magneticFieldMeasure(const Matrix3 & orientation) const;
38 
39 private:
40  Vector3 earthLocalMagneticField_;
41 };
42 } // namespace algorithm
43 
44 } // namespace stateObservation
45 
46 #endif // SENSORALGORITHMSLINEARACCELERATIONHPP
stateObservation::algorithm::MagneticField::~MagneticField
virtual ~MagneticField()
virtual destructor
Definition: magnetic-field.hpp:34
stateObservation::Matrix3
Eigen::Matrix3d Matrix3
3x3 Scalar Matrix
Definition: definitions.hpp:109
stateObservation::algorithm::MagneticField
Implements the measurements given by an magnetometer.
Definition: magnetic-field.hpp:28
definitions.hpp
Definitions of types and some structures.
stateObservation::Vector3
Eigen::Vector3d Vector3
3D vector
Definition: definitions.hpp:85
stateObservation
Definition: bidim-elastic-inv-pendulum-dyn-sys.hpp:20