NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
gyro.h File Reference
#include "drivers/accgyro.h"
#include "../common/filter.h"
#include "../common/maths.h"
#include "../config/gyro.h"
#include "../config/sensors.h"
Include dependency graph for gyro.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ins_gyro
 

Functions

void ins_gyro_init (struct ins_gyro *self, const struct gyro_config *config)
 
void ins_gyro_process_sample (struct ins_gyro *self, int32_t x, int32_t y, int32_t z)
 
void ins_gyro_calibrate (struct ins_gyro *self)
 
bool ins_gyro_is_calibrated (struct ins_gyro *self)
 
void ins_gyro_set_filter_hz (struct ins_gyro *self, uint16_t hz)
 

Function Documentation

void ins_gyro_calibrate ( struct ins_gyro self)

Here is the call graph for this function:

void ins_gyro_init ( struct ins_gyro self,
const struct gyro_config config 
)

Here is the call graph for this function:

bool ins_gyro_is_calibrated ( struct ins_gyro self)
void ins_gyro_process_sample ( struct ins_gyro self,
int32_t  x,
int32_t  y,
int32_t  z 
)

Here is the call graph for this function:

void ins_gyro_set_filter_hz ( struct ins_gyro self,
uint16_t  hz 
)

Here is the call graph for this function: