Updated quaternion class, added attitude from tilt, started madgwick filter

This commit is contained in:
dario
2024-06-21 23:08:23 +02:00
parent 059b356ec7
commit 97825c8afb
9 changed files with 209 additions and 70 deletions

View File

@@ -0,0 +1,22 @@
/*
* tilt.hpp
*
* Created on: Jun 20, 2024
* Author: Dario
*/
#ifndef STA_MATHS_ATTITUDE_TILT_HPP
#define STA_MATHS_ATTITUDE_TILT_HPP
#include <sta/math/quaternion.hpp>
namespace sta
{
namespace math
{
Quaternion getTiltFromAcceleration(float ax, float ay, float az);
} // namespace math
} // namespace sta
#endif /* STA_MATHS_ATTITUDE_TILT_HPP */