Paparazzi UAS  v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
alt_filter.c File Reference
#include "modules/ins/alt_filter.h"
#include "subsystems/gps.h"
#include "modules/sensors/baro_ets.h"
#include "mcu_periph/uart.h"
#include "pprzlink/messages.h"
#include "subsystems/datalink/downlink.h"
+ Include dependency graph for alt_filter.c:

Go to the source code of this file.

Functions

void kalmanInit (TypeKalman *k)
 
void kalmanEstimation (TypeKalman *k, float accVert)
 
void kalmanCorrectionGPS (TypeKalman *k, float altitude_gps)
 
void kalmanCorrectionAltimetre (TypeKalman *k, float altitude_altimetre)
 
void alt_filter_init (void)
 
void alt_filter_periodic (void)
 

Variables

TypeKalman alt_filter
 
float SigAltiGPS
 
float SigAltiAltimetre
 
float MarcheAleaBiaisAltimetre
 
float MarcheAleaAccelerometre
 
float last_gps_alt
 
float last_baro_alt
 

Function Documentation

void alt_filter_init ( void  )

Definition at line 49 of file alt_filter.c.

References kalmanInit(), last_baro_alt, last_gps_alt, MarcheAleaAccelerometre, MarcheAleaBiaisAltimetre, SigAltiAltimetre, and SigAltiGPS.

+ Here is the call graph for this function:

void alt_filter_periodic ( void  )
void kalmanCorrectionAltimetre ( TypeKalman k,
float  altitude_altimetre 
)

Definition at line 226 of file alt_filter.c.

References TypeKalman::P, SigAltiAltimetre, and TypeKalman::X.

Referenced by alt_filter_periodic().

+ Here is the caller graph for this function:

void kalmanCorrectionGPS ( TypeKalman k,
float  altitude_gps 
)

Definition at line 178 of file alt_filter.c.

References TypeKalman::P, SigAltiGPS, and TypeKalman::X.

Referenced by alt_filter_periodic().

+ Here is the caller graph for this function:

void kalmanEstimation ( TypeKalman k,
float  accVert 
)

Definition at line 130 of file alt_filter.c.

References TypeKalman::Ad, TypeKalman::Bd, TypeKalman::Md, TypeKalman::P, TypeKalman::W, and TypeKalman::X.

Referenced by alt_filter_periodic().

+ Here is the caller graph for this function:

void kalmanInit ( TypeKalman k)

Definition at line 91 of file alt_filter.c.

References TypeKalman::Ad, TypeKalman::Bd, MarcheAleaAccelerometre, MarcheAleaBiaisAltimetre, TypeKalman::Md, TypeKalman::P, TypeKalman::Te, TypeKalman::W, and TypeKalman::X.

Referenced by alt_filter_init().

+ Here is the caller graph for this function:

Variable Documentation

TypeKalman alt_filter

Definition at line 31 of file alt_filter.c.

float last_baro_alt

Definition at line 47 of file alt_filter.c.

Referenced by alt_filter_init(), and alt_filter_periodic().

float last_gps_alt

Definition at line 46 of file alt_filter.c.

Referenced by alt_filter_init(), and alt_filter_periodic().

float MarcheAleaAccelerometre

Definition at line 37 of file alt_filter.c.

Referenced by alt_filter_init(), and kalmanInit().

float MarcheAleaBiaisAltimetre

Definition at line 36 of file alt_filter.c.

Referenced by alt_filter_init(), and kalmanInit().

float SigAltiAltimetre

Definition at line 35 of file alt_filter.c.

Referenced by alt_filter_init(), and kalmanCorrectionAltimetre().

float SigAltiGPS

Definition at line 34 of file alt_filter.c.

Referenced by alt_filter_init(), and kalmanCorrectionGPS().