Defines | Typedefs | Functions
MPUQuaternion.h File Reference
#include <math.h>
#include "MPUVector3.h"
Include dependency graph for MPUQuaternion.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define QUAT_W   0
#define QUAT_X   1
#define QUAT_Y   2
#define QUAT_Z   3

Typedefs

typedef float MPUQuaternion [4]

Functions

void MPUQuaternionConjugate (const MPUQuaternion s, MPUQuaternion d)
void MPUQuaternionEulerToQuaternion (const MPUVector3 v, MPUQuaternion q)
void MPUQuaternionMultiply (const MPUQuaternion qa, const MPUQuaternion qb, MPUQuaternion qd)
float MPUQuaternionNorm (MPUQuaternion q)
void MPUQuaternionNormalize (MPUQuaternion q)
void MPUQuaternionQuaternionToEuler (const MPUQuaternion q, MPUVector3 v)

Define Documentation

#define QUAT_W   0

Definition at line 30 of file MPUQuaternion.h.

#define QUAT_X   1

Definition at line 31 of file MPUQuaternion.h.

#define QUAT_Y   2

Definition at line 32 of file MPUQuaternion.h.

#define QUAT_Z   3

Definition at line 33 of file MPUQuaternion.h.


Typedef Documentation

typedef float MPUQuaternion[4]

Definition at line 35 of file MPUQuaternion.h.


Function Documentation

Definition at line 68 of file MPUQuaternion.cpp.

Definition at line 52 of file MPUQuaternion.cpp.

void MPUQuaternionMultiply ( const MPUQuaternion  qa,
const MPUQuaternion  qb,
MPUQuaternion  qd 
)

Definition at line 76 of file MPUQuaternion.cpp.

float MPUQuaternionNorm ( MPUQuaternion  q) [inline]

Definition at line 43 of file MPUQuaternion.h.

Definition at line 26 of file MPUQuaternion.cpp.

Definition at line 38 of file MPUQuaternion.cpp.



ric_mc
Author(s): RoboTiCan
autogenerated on Fri May 20 2016 03:48:57