Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
airspeed_consistency.h File Reference
#include <std.h>
#include "math/pprz_circfit_float.h"
#include "filters/low_pass_filter.h"
+ Include dependency graph for airspeed_consistency.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  asc_t
 

Macros

#define AIRSPEED_CONSISTENCY_BUFFER_SIZE   255
 

Functions

void airspeed_consistency_init (void)
 
void airspeed_consistency_periodic (void)
 
void airspeed_consistency_reset (bool reset)
 

Variables

bool asc_reset
 

Detailed Description

Author
Noah Wechtler noahw.nosp@m.echt.nosp@m.ler@t.nosp@m.udel.nosp@m.ft.nl Check the consistency of airspeed measurements while flying circles

Definition in file airspeed_consistency.h.


Data Structure Documentation

◆ asc_t

struct asc_t

Definition at line 40 of file airspeed_consistency.h.

+ Collaboration diagram for asc_t:
Data Fields
struct circle_t as
enum CircFitStatus_t as_circ_status
float as_E[AIRSPEED_CONSISTENCY_BUFFER_SIZE]
float as_N[AIRSPEED_CONSISTENCY_BUFFER_SIZE]
bool filled
struct circle_t gs
enum CircFitStatus_t gs_circ_status
float gs_E[AIRSPEED_CONSISTENCY_BUFFER_SIZE]
float gs_N[AIRSPEED_CONSISTENCY_BUFFER_SIZE]
uint16_t i
float ratio

Macro Definition Documentation

◆ AIRSPEED_CONSISTENCY_BUFFER_SIZE

#define AIRSPEED_CONSISTENCY_BUFFER_SIZE   255

Definition at line 31 of file airspeed_consistency.h.

Function Documentation

◆ airspeed_consistency_init()

void airspeed_consistency_init ( void  )
extern

Definition at line 62 of file airspeed_consistency.c.

References foo, init_butterworth_2_low_pass(), NAVIGATION_FREQUENCY, reset_speeds(), and tas_filt.

+ Here is the call graph for this function:

◆ airspeed_consistency_periodic()

◆ airspeed_consistency_reset()

void airspeed_consistency_reset ( bool  reset)
extern

Definition at line 139 of file airspeed_consistency.c.

References reset_speeds().

+ Here is the call graph for this function:

Variable Documentation

◆ asc_reset

bool asc_reset
extern

Definition at line 53 of file airspeed_consistency.c.