Fang-Robotics-MCB
Fang Robotics Team Codebase
Loading...
Searching...
No Matches
Mahony Class Reference

#include <MahonyAHRS.h>

Public Member Functions

 Mahony ()
 
void begin (float sampleFrequency, float kp, float ki)
 
void reset ()
 
void update (float gx, float gy, float gz, float ax, float ay, float az, float mx, float my, float mz)
 
void updateIMU (float gx, float gy, float gz, float ax, float ay, float az)
 
float getRoll () const
 
float getPitch () const
 
float getYaw () const
 

Constructor & Destructor Documentation

◆ Mahony()

Mahony::Mahony ( )

Member Function Documentation

◆ begin()

void Mahony::begin ( float  sampleFrequency,
float  kp,
float  ki 
)
inline

◆ getPitch()

float Mahony::getPitch ( ) const
inline

◆ getRoll()

float Mahony::getRoll ( ) const
inline

◆ getYaw()

float Mahony::getYaw ( ) const
inline

◆ reset()

void Mahony::reset ( )
inline

◆ update()

void Mahony::update ( float  gx,
float  gy,
float  gz,
float  ax,
float  ay,
float  az,
float  mx,
float  my,
float  mz 
)

◆ updateIMU()

void Mahony::updateIMU ( float  gx,
float  gy,
float  gz,
float  ax,
float  ay,
float  az 
)

The documentation for this class was generated from the following files: