Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
MahonyAHRS.cpp File Reference
#include "MahonyAHRS.h"
#include <cinttypes>
#include <cmath>
#include <cstring>
Include dependency graph for MahonyAHRS.cpp:

Macros

#define DEFAULT_SAMPLE_FREQ   500.0f
 
#define twoKpDef   (2.0f * 0.5f)
 
#define twoKiDef   (2.0f * 0.0f)
 

Functions

template<typename From , typename To >
To reinterpretCopy (From from)
 

Macro Definition Documentation

◆ DEFAULT_SAMPLE_FREQ

#define DEFAULT_SAMPLE_FREQ   500.0f

◆ twoKiDef

#define twoKiDef   (2.0f * 0.0f)

◆ twoKpDef

#define twoKpDef   (2.0f * 0.5f)

Function Documentation

◆ reinterpretCopy()

template<typename From , typename To >
To reinterpretCopy ( From  from)