45 #include <matrix/math.hpp> 60 ROTATION_ROLL_180 = 8,
61 ROTATION_ROLL_180_YAW_45 = 9,
62 ROTATION_ROLL_180_YAW_90 = 10,
63 ROTATION_ROLL_180_YAW_135 = 11,
64 ROTATION_PITCH_180 = 12,
65 ROTATION_ROLL_180_YAW_225 = 13,
66 ROTATION_ROLL_180_YAW_270 = 14,
67 ROTATION_ROLL_180_YAW_315 = 15,
68 ROTATION_ROLL_90 = 16,
69 ROTATION_ROLL_90_YAW_45 = 17,
70 ROTATION_ROLL_90_YAW_90 = 18,
71 ROTATION_ROLL_90_YAW_135 = 19,
72 ROTATION_ROLL_270 = 20,
73 ROTATION_ROLL_270_YAW_45 = 21,
74 ROTATION_ROLL_270_YAW_90 = 22,
75 ROTATION_ROLL_270_YAW_135 = 23,
76 ROTATION_PITCH_90 = 24,
77 ROTATION_PITCH_270 = 25,
78 ROTATION_ROLL_270_YAW_270 = 26,
79 ROTATION_ROLL_180_PITCH_270 = 27,
80 ROTATION_PITCH_90_YAW_180 = 28,
81 ROTATION_PITCH_90_ROLL_90 = 29,
82 ROTATION_YAW_293_PITCH_68_ROLL_90 = 30,
83 ROTATION_PITCH_90_ROLL_270 = 31,
84 ROTATION_PITCH_9_YAW_180 = 32,
85 ROTATION_PITCH_45 = 33,
86 ROTATION_PITCH_315 = 34,
Definition: rotation.h:90
Rotation
Enum for board and external compass rotations.
Definition: rotation.h:51
Common header for mathlib exports.
__EXPORT matrix::Dcmf get_rot_matrix(enum Rotation rot)
Get the rotation matrix.
Definition: rotation.cpp:45
__EXPORT void rotate_3f(enum Rotation rot, float &x, float &y, float &z)
rotate a 3 element float vector in-place
Definition: rotation.cpp:54