AP_Math: updated EulerAngles.pdf link

This commit is contained in:
Andrew Tridgell 2024-06-22 19:06:56 +10:00 committed by Peter Barker
parent 98733882f5
commit 2ce6532698
2 changed files with 3 additions and 3 deletions

View File

@ -21,7 +21,7 @@
#include "AP_Math.h"
// create a rotation matrix given some euler angles
// this is based on http://gentlenav.googlecode.com/files/EulerAngles.pdf
// this is based on https://github.com/ArduPilot/Datasheets/blob/main/References/EulerAngles.pdf
template <typename T>
void Matrix3<T>::from_euler(T roll, T pitch, T yaw)
{
@ -44,7 +44,7 @@ void Matrix3<T>::from_euler(T roll, T pitch, T yaw)
}
// calculate euler angles from a rotation matrix
// this is based on http://gentlenav.googlecode.com/files/EulerAngles.pdf
// this is based on https://github.com/ArduPilot/Datasheets/blob/main/References/EulerAngles.pdf
template <typename T>
void Matrix3<T>::to_euler(T *roll, T *pitch, T *yaw) const
{

View File

@ -236,7 +236,7 @@ public:
}
/*
create a rotation matrix from Euler angles in 321 euler orderin
create a rotation matrix from Euler angles in 321 euler ordering
*/
void from_euler(T roll, T pitch, T yaw);