Jay Balar / Mbed 2 deprecated 4180_Project_3

Dependencies:   4DGL-uLCD-SE Physac-MBED PinDetect SDFileSystem mbed-rtos mbed

Revision:
8:005b0a85be70
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/Fusion/FusionCompass.h	Tue Nov 15 05:42:41 2022 +0000
@@ -0,0 +1,24 @@
+/**
+ * @file FusionCompass.h
+ * @author Seb Madgwick
+ * @brief Tilt-compensated compass to calculate an heading relative to magnetic
+ * north using accelerometer and magnetometer measurements.
+ */
+
+#ifndef FUSION_COMPASS_H
+#define FUSION_COMPASS_H
+
+//------------------------------------------------------------------------------
+// Includes
+
+#include "FusionMath.h"
+
+//------------------------------------------------------------------------------
+// Function declarations
+
+float FusionCompassCalculateHeading(const FusionVector accelerometer, const FusionVector magnetometer);
+
+#endif
+
+//------------------------------------------------------------------------------
+// End of file