Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
ins_alt_float.h File Reference

Filters altitude and climb rate for fixedwings. More...

#include "modules/ins/ins.h"
#include <inttypes.h>
#include "std.h"
Include dependency graph for ins_alt_float.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  InsAltFloat
 Ins implementation state (altitude, float). More...

Functions

void ins_alt_float_init (void)
void ins_alt_float_update_baro (float pressure)

Variables

struct InsAltFloat ins_altf

Detailed Description

Filters altitude and climb rate for fixedwings.

Definition in file ins_alt_float.h.


Data Structure Documentation

◆ InsAltFloat

struct InsAltFloat

Ins implementation state (altitude, float).

Definition at line 37 of file ins_alt_float.h.

Data Fields
float alt estimated altitude above MSL in meters
float alt_dot estimated vertical speed in m/s (positive-up)
float baro_alt
bool baro_initialized
bool origin_initialized TRUE if UTM origin was initialized.
float qfe
bool reset_alt_ref flag to request reset of altitude reference to current alt

Function Documentation

◆ ins_alt_float_init()

◆ ins_alt_float_update_baro()

void ins_alt_float_update_baro ( float pressure)
extern

Definition at line 172 of file ins_alt_float.c.

References UtmCoor_f::alt, alt_kalman(), alt_kalman_reset(), get_sys_time_usec(), ground_alt, ins_altf, last_ts, pprz_isa_height_of_pressure(), stateGetPositionUtm_f(), stateGetSpeedNed_f(), stateSetPositionUtm_f(), stateSetSpeedNed_f(), UTM_COPY, and NedCoor_f::z.

Referenced by baro_cb().

Here is the call graph for this function:
Here is the caller graph for this function:

Variable Documentation

◆ ins_altf