Add support for BMX160/RAK12034 compass module (#4021)

This commit is contained in:
Jonathan Bennett
2024-06-11 17:47:45 -05:00
committed by GitHub
parent 7f2647abb1
commit 0852a170a3
22 changed files with 1760 additions and 10 deletions

View File

@@ -0,0 +1,26 @@
/**
* @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