From 319dd4e14abed651193f8b57468d7303a9c90186 Mon Sep 17 00:00:00 2001 From: Mikhail Grushinskiy Date: Sun, 29 Sep 2024 13:14:04 -0400 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index c4a5f69..b27caa9 100644 --- a/README.md +++ b/README.md @@ -15,10 +15,10 @@ Mount atomS3 with LCD facing up. ## Estimating Boat Heave using IMU Estimate vessel heave (vertical displacement) in ocean waves using IMU on esp32 -The method for estimating wave height and heave from a moving boat implemented here is using the following on-line algorithm: +The method for estimating wave height and heave from a moving boat implemented here using the following on-line algorithm: 1. Sample MPU6886 3D acceleration and 3D gyroscope (angular velocities) measurements at about 250 Hz. -2. Estimate attitude and get attitude quaternion using Mahony algorithm. Using acceleration and gyroscope is enough. No magnetometer required because we only interested vertical acceleration for the next steps. +2. Estimate attitude and get attitude quaternion using Mahony algorithm. Using acceleration and gyroscope is enough. No magnetometer is required because we are only interested in vertical acceleration for the next steps. 3. Double integrate vertical acceleration into vertical displacement using specially designed Kalman filter which corrects for integral drift in wave and corrects for the constant accelerometer bias. 4. Estimate observed heave frequency with Aranovskiy on-line filter. The correction for accelerometer bias is important for this step. 5. Smooth frequency produced by Aranovskiy filter with Kalman smoother.