mirror of
https://git.intern.spaceteamaachen.de/ALPAKA/sta-peak.git
synced 2025-12-17 02:28:04 +00:00
Updated quaternion class, added attitude from tilt, started madgwick filter
This commit is contained in:
22
include/sta/math/algorithms/attitude/tilt.hpp
Normal file
22
include/sta/math/algorithms/attitude/tilt.hpp
Normal 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 */
|
||||
Reference in New Issue
Block a user