Browse Source

AP_Math: added a comment on conventions for to_euler()

mission-4.1.18
Andrew Tridgell 7 years ago
parent
commit
8170fbcf80
  1. 5
      libraries/AP_Math/matrix3.h

5
libraries/AP_Math/matrix3.h

@ -232,7 +232,10 @@ public: @@ -232,7 +232,10 @@ public:
// create a rotation matrix from Euler angles
void from_euler(float roll, float pitch, float yaw);
// create eulers from a rotation matrix
// create eulers from a rotation matrix.
// roll is from -Pi to Pi
// pitch is from -Pi/2 to Pi/2
// yaw is from -Pi to Pi
void to_euler(float *roll, float *pitch, float *yaw) const;
// create matrix from rotation enum

Loading…
Cancel
Save