NinjaFlight
|
#include "drivers/accgyro.h"
#include "../common/filter.h"
#include "../common/maths.h"
#include "../config/gyro.h"
#include "../config/sensors.h"
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) |
void ins_gyro_calibrate | ( | struct ins_gyro * | self | ) |
void ins_gyro_init | ( | struct ins_gyro * | self, |
const struct gyro_config * | config | ||
) |
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 | ||
) |
void ins_gyro_set_filter_hz | ( | struct ins_gyro * | self, |
uint16_t | hz | ||
) |