Skip to content

Commit 301de66

Browse files
committed
Version 2.3.4
Corrected spelling for Mahony
1 parent b42acb1 commit 301de66

File tree

5 files changed

+13
-9
lines changed

5 files changed

+13
-9
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ An Attitude and Heading Reference System (AHRS) takes information from the Inert
1818

1919
Version 2.3.3 enhanced `complementaryUpdate()`. Proper quaternion integration requires that all components are updated using their previous values before the entire quaternion is replaced. Issue identified by [Martin Budden](https://github.com/martinbudden).
2020

21+
Version 2.3.4 fixed spelling of Mahony. Issue identified by [Martin Budden](https://github.com/martinbudden).
22+
2123
A complete description of this library is available in our Medium article: [Reefwing AHRS Arduino Library for Drones](https://reefwing.medium.com/reefwing-ahrs-arduino-library-for-drones-part-1-6d6457231764).
2224

2325
## Reefwing IMU Types

keywords.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ begin KEYWORD2
2626
update KEYWORD2
2727
classicUpdate KEYWORD2
2828
madgwickUpdate KEYWORD2
29-
mahoneyUpdate KEYWORD2
29+
mahonyUpdate KEYWORD2
3030
complementaryUpdate KEYWORD2
3131
extendedKalmanUpdate KEYWORD2
3232
tiltCompensatedYaw KEYWORD2

library.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name=ReefwingAHRS
2-
version=2.3.3
2+
version=2.3.4
33
author=David Such <[email protected]>
44
maintainer=David Such <[email protected]>
55
sentence=Attitude and Heading Reference System (AHRS) used in the Reefwing Flight Controller.

src/ReefwingAHRS.cpp

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
@copyright Please see the accompanying LICENSE file.
66
77
Code: David Such
8-
Version: 2.3.3
9-
Date: 05/01/25
8+
Version: 2.3.4
9+
Date: 09/01/25
1010
1111
1.0.0 Original Release. 22/02/22
1212
1.1.0 Added NONE fusion option. 25/05/22
@@ -18,6 +18,7 @@
1818
2.3.1 Madgwick filter bug fixed 30/12/24
1919
2.3.2 Improved normalization for Madgwick 31/12/24
2020
2.3.3 Complementary update enhancements 05/01/25
21+
2.3.4 Corrected spelling for Mahony 09/01/25
2122
2223
2324
Credits: - The C++ code for our quaternion position update
@@ -219,7 +220,7 @@ void ReefwingAHRS::update() {
219220
angles = _q.toEulerAngles(_declination);
220221
break;
221222
case SensorFusion::MAHONY:
222-
mahoneyUpdate(gyroToRadians(), deltaT);
223+
mahonyUpdate(gyroToRadians(), deltaT);
223224
angles = _q.toEulerAngles(_declination);
224225
break;
225226
case SensorFusion::COMPLEMENTARY:
@@ -629,7 +630,7 @@ void ReefwingAHRS::madgwickUpdate(SensorData d, float deltaT) {
629630
_q.q3 = _q.q3 * norm;
630631
}
631632

632-
void ReefwingAHRS::mahoneyUpdate(SensorData d, float deltaT) {
633+
void ReefwingAHRS::mahonyUpdate(SensorData d, float deltaT) {
633634
float norm;
634635
float hx, hy, bx, bz;
635636
float vx, vy, vz, wx, wy, wz;

src/ReefwingAHRS.h

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
@copyright Please see the accompanying LICENSE file.
66
77
Code: David Such
8-
Version: 2.3.3
9-
Date: 05/01/25
8+
Version: 2.3.4
9+
Date: 09/01/25
1010
1111
1.0.0 Original Release. 22/02/22
1212
1.1.0 Added NONE fusion option. 25/05/22
@@ -18,6 +18,7 @@
1818
2.3.1 Madgwick filter bug fixed 30/12/24
1919
2.3.2 Improved normalization for Madgwick 31/12/24
2020
2.3.3 Complementary update enhancements 05/01/25
21+
2.3.4 Corrected spelling for Mahony 09/01/25
2122
2223
Credits: - The C++ code for our quaternion position update
2324
using the Madgwick Filter is based on the paper,
@@ -119,7 +120,7 @@ class ReefwingAHRS {
119120
void classicUpdate();
120121
void tiltCompensatedYaw();
121122
void madgwickUpdate(SensorData d, float deltaT);
122-
void mahoneyUpdate(SensorData d, float deltaT);
123+
void mahonyUpdate(SensorData d, float deltaT);
123124
void extendedKalmanUpdate(SensorData d, float deltaT);
124125
void complementaryUpdate(SensorData d, float deltaT);
125126

0 commit comments

Comments
 (0)