chore: Add basic skeleton of the Xreal driver

This commit is contained in:
Tera << 8 2025-06-23 13:49:53 -04:00
parent b22931ffaf
commit ad3045fc29
Signed by: imterah
GPG key ID: 8FA7DD57BA6CEA37
26 changed files with 4470 additions and 2 deletions

View file

@ -0,0 +1,25 @@
/**
* @file FusionCompass.h
* @author Seb Madgwick
* @brief Tilt-compensated compass to calculate the magnetic heading using
* accelerometer and magnetometer measurements.
*/
#ifndef FUSION_COMPASS_H
#define FUSION_COMPASS_H
//------------------------------------------------------------------------------
// Includes
#include "FusionConvention.h"
#include "FusionMath.h"
//------------------------------------------------------------------------------
// Function declarations
float FusionCompassCalculateHeading(const FusionConvention convention, const FusionVector accelerometer, const FusionVector magnetometer);
#endif
//------------------------------------------------------------------------------
// End of file