dRonin  adbada4
dRonin firmware
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
complementary_filter_state Struct Reference

Data Fields

uint32_t arming_count
 Track how many cycles the system has been arming to accelerate convergence. More...
 
float accel_alpha
 Coefficient for the accelerometer LPF. More...
 
float accels_filtered [3]
 Store the low pass filtered accelerometer. More...
 
float grot_filtered [3]
 Low pass filtered gravity vector. More...
 
bool accel_filter_enabled
 If the accelerometer LPF is enabled. More...
 
float accumulated_gyro [3]
 The accumulator of gyros during arming. More...
 
uint32_t accumulated_gyro_samples
 How many gyro samples were acquired. More...
 
bool accumulating_gyro
 Indicate if currently acquiring gyro samples. More...
 
uint32_t reset_timeval
 Store when the function is initialized to time arming and convergence. More...
 
enum complementary_filter_status initialization
 Tracks the initialization state of the complementary filter. More...
 

Detailed Description

Definition at line 97 of file attitude.c.

Field Documentation

float complementary_filter_state::accel_alpha

Coefficient for the accelerometer LPF.

Definition at line 102 of file attitude.c.

bool complementary_filter_state::accel_filter_enabled

If the accelerometer LPF is enabled.

Definition at line 108 of file attitude.c.

float complementary_filter_state::accels_filtered[3]

Store the low pass filtered accelerometer.

Definition at line 104 of file attitude.c.

float complementary_filter_state::accumulated_gyro[3]

The accumulator of gyros during arming.

Definition at line 111 of file attitude.c.

uint32_t complementary_filter_state::accumulated_gyro_samples

How many gyro samples were acquired.

Definition at line 113 of file attitude.c.

bool complementary_filter_state::accumulating_gyro

Indicate if currently acquiring gyro samples.

Definition at line 115 of file attitude.c.

uint32_t complementary_filter_state::arming_count

Track how many cycles the system has been arming to accelerate convergence.

Definition at line 99 of file attitude.c.

float complementary_filter_state::grot_filtered[3]

Low pass filtered gravity vector.

Definition at line 106 of file attitude.c.

enum complementary_filter_status complementary_filter_state::initialization

Tracks the initialization state of the complementary filter.

Definition at line 121 of file attitude.c.

uint32_t complementary_filter_state::reset_timeval

Store when the function is initialized to time arming and convergence.

Definition at line 118 of file attitude.c.


The documentation for this struct was generated from the following file: