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

Go to the source code of this file.

Data Structures

struct  rollAndPitchTrims_s
 
union  rollAndPitchTrims_u
 
struct  accDeadband_s
 
struct  accelerometer_config
 

Functions

struct rollAndPitchTrims_s __attribute__ ((packed)) rollAndPitchTrims_t_def
 

Variables

int16_t roll
 
int16_t pitch
 
int16_t raw [2]
 
rollAndPitchTrims_t_def values
 
uint8_t xy
 set the acc deadband for xy-Axis More...
 
uint8_t z
 set the acc deadband for z-Axis, this ignores small accelerations More...
 
rollAndPitchTrims_t trims
 accelerometer trim More...
 
uint8_t acc_cut_hz
 Set the Low Pass Filter factor for ACC. Reducing this value would reduce ACC noise (visible in GUI), but would increase ACC lag time. Zero = no filter. More...
 
float accz_lpf_cutoff
 cutoff frequency for the low pass filter used on the acc z-axis for althold in Hz More...
 
accDeadband_t accDeadband
 
uint8_t acc_unarmedcal
 turn automatic acc compensation on/off More...
 

Variable Documentation

uint8_t acc_cut_hz

Set the Low Pass Filter factor for ACC. Reducing this value would reduce ACC noise (visible in GUI), but would increase ACC lag time. Zero = no filter.

uint8_t acc_unarmedcal

turn automatic acc compensation on/off

accDeadband_t accDeadband
float accz_lpf_cutoff

cutoff frequency for the low pass filter used on the acc z-axis for althold in Hz

int16_t pitch
int16_t raw[2]
int16_t roll
rollAndPitchTrims_t trims

accelerometer trim

rollAndPitchTrims_t_def values
uint8_t xy

set the acc deadband for xy-Axis

uint8_t z

set the acc deadband for z-Axis, this ignores small accelerations