Flair
Framework Libre Air
RotationMatrix.h
Go to the documentation of this file.
1 // %flair:license{
2 // This file is part of the Flair framework distributed under the
3 // CECILL-C License, Version 1.0.
4 // %flair:license}
12 #ifndef ROTATIONMATRIX_H
13 #define ROTATIONMATRIX_H
14 
15 #include <stddef.h>
16 
17 namespace flair {
18 namespace core {
19 class Euler;
20 
26 public:
34 
40 
46  void ToEuler(Euler &euler) const;
47 
53  Euler ToEuler(void) const;
58  float m[3][3];
59 
60  float &operator()(size_t row, size_t col);
61  const float &operator()(size_t row, size_t col) const;
62 };
63 
64 } // end namespace core
65 } // end namespace flair
66 
67 #endif // ROTATIONMATRIX_H
Euler ToEuler(void) const
Convert to euler angles.
namespace of the flair Framework
Definition: Ahrs.h:19
Class defining euler angles.
Definition: Euler.h:27
Class defining a rotation matrix.
Definition: RotationMatrix.h:25
RotationMatrix()
Constructor.
float m[3][3]
matrix
Definition: RotationMatrix.h:58