NinjaFlight
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
acceleration.h File Reference
Include dependency graph for acceleration.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  ins_acc
 

Functions

void ins_acc_init (struct ins_acc *self, const struct sensor_trims_config *trims, const struct accelerometer_config *config)
 
void ins_acc_process_sample (struct ins_acc *self, int32_t x, int32_t y, int32_t z)
 
void ins_acc_calibrate (struct ins_acc *self)
 
bool ins_acc_is_calibrated (struct ins_acc *self)
 

Function Documentation

void ins_acc_calibrate ( struct ins_acc self)
void ins_acc_init ( struct ins_acc self,
const struct sensor_trims_config trims,
const struct accelerometer_config config 
)
bool ins_acc_is_calibrated ( struct ins_acc self)
void ins_acc_process_sample ( struct ins_acc self,
int32_t  x,
int32_t  y,
int32_t  z 
)