From 648eb4d07cfa6d7d75fba80ebbcdc4a22cd2af0c Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 22 Jun 2024 19:06:56 +1000 Subject: [PATCH] AP_Math: updated EulerAngles.pdf link --- libraries/AP_Math/matrix3.cpp | 4 ++-- libraries/AP_Math/matrix3.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/libraries/AP_Math/matrix3.cpp b/libraries/AP_Math/matrix3.cpp index bd64d62a02c8b..0dfd75032b902 100644 --- a/libraries/AP_Math/matrix3.cpp +++ b/libraries/AP_Math/matrix3.cpp @@ -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 void Matrix3::from_euler(T roll, T pitch, T yaw) { @@ -44,7 +44,7 @@ void Matrix3::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 void Matrix3::to_euler(T *roll, T *pitch, T *yaw) const { diff --git a/libraries/AP_Math/matrix3.h b/libraries/AP_Math/matrix3.h index 9a07aad0ebade..5e9c638da809e 100644 --- a/libraries/AP_Math/matrix3.h +++ b/libraries/AP_Math/matrix3.h @@ -236,7 +236,7 @@ class Matrix3 { } /* - 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);