SlimeVR_DeftTracker/Main_Tracker/Firmware/SlimeVR-Tracker-ESP/lib/magneto/madgwick.h

9 lines
361 B
C
Raw Normal View History

2024-10-04 12:23:11 +08:00
#ifndef _MADGWICK_H_
#define _MADGWICK_H_
#include "helper_3dmath.h"
void madgwickQuaternionUpdate(float q[4], float ax, float ay, float az, float gx, float gy, float gz, float deltat);
void madgwickQuaternionUpdate(float q[4], float ax, float ay, float az, float gx, float gy, float gz, float mx, float my, float mz, float deltat);
#endif /* _MADGWICK_H_ */