Paparazzi UAS  v5.2.2_stable-0-gd6b9f29
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
vf_extended_float.h File Reference

Interface for extended vertical filter (in float). More...

+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  VffExtended
 

Macros

#define VFF_STATE_SIZE   4
 

Functions

void vff_init_zero (void)
 
void vff_init (float z, float zdot, float accel_bias, float baro_offset)
 
void vff_propagate (float accel)
 
void vff_update_baro (float z_meas)
 
void vff_update_z (float z_meas)
 
void vff_update_offset (float offset)
 
void vff_update_baro_conf (float z_meas, float conf)
 
void vff_update_z_conf (float z_meas, float conf)
 
void vff_realign (float z_meas)
 

Variables

struct VffExtended vff
 

Detailed Description

Interface for extended vertical filter (in float).

Definition in file vf_extended_float.h.

Macro Definition Documentation

#define VFF_STATE_SIZE   4

Definition at line 33 of file vf_extended_float.h.

Referenced by vff_init().

Function Documentation

void vff_init ( float  z,
float  zdot,
float  accel_bias,
float  baro_offset 
)

Definition at line 98 of file vf_extended_float.c.

References VffExtended::bias, INIT_PXX, VffExtended::offset, VffExtended::P, register_periodic_telemetry(), vff, VFF_STATE_SIZE, VffExtended::z, and VffExtended::zdot.

Referenced by vff_init_zero(), and vff_realign().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vff_init_zero ( void  )

Definition at line 94 of file vf_extended_float.c.

void vff_propagate ( float  accel)

Definition at line 135 of file vf_extended_float.c.

void vff_realign ( float  z_meas)

Definition at line 345 of file vf_extended_float.c.

void vff_update_baro ( float  z_meas)

Definition at line 221 of file vf_extended_float.c.

References R_BARO, and update_baro_conf().

Referenced by baro_cb().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void vff_update_baro_conf ( float  z_meas,
float  conf 
)

Definition at line 225 of file vf_extended_float.c.

References update_baro_conf().

+ Here is the call graph for this function:

void vff_update_offset ( float  offset)

Definition at line 340 of file vf_extended_float.c.

References R_OFFSET, and update_offset_conf().

+ Here is the call graph for this function:

void vff_update_z ( float  z_meas)

Definition at line 281 of file vf_extended_float.c.

References R_ALT, and update_alt_conf().

+ Here is the call graph for this function:

void vff_update_z_conf ( float  z_meas,
float  conf 
)

Definition at line 285 of file vf_extended_float.c.

Variable Documentation

struct VffExtended vff

Definition at line 81 of file vf_extended_float.c.