NinjaFlight
|
#include "drivers/compass.h"
#include "../common/axis.h"
#include "../config/sensors.h"
#include "../config/compass.h"
Go to the source code of this file.
Data Structures | |
struct | ins_mag |
Functions | |
void | ins_mag_init (struct ins_mag *self, const struct mag_config *config, const struct sensor_trims_config *trims) |
void | ins_mag_process_sample (struct ins_mag *self, int32_t x, int32_t y, int32_t z) |
void | ins_mag_save_trims (const struct ins_mag *self, struct config *config) |
void | ins_mag_start_calibration (struct ins_mag *self) |
void ins_mag_init | ( | struct ins_mag * | self, |
const struct mag_config * | config, | ||
const struct sensor_trims_config * | trims | ||
) |
void ins_mag_process_sample | ( | struct ins_mag * | self, |
int32_t | x, | ||
int32_t | y, | ||
int32_t | z | ||
) |
void ins_mag_start_calibration | ( | struct ins_mag * | self | ) |