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

Wind Estimator based on generated library from Matlab. More...

#include "std.h"
#include "math/pprz_algebra_float.h"
Include dependency graph for wind_estimator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  WindEstimator

Functions

void wind_estimator_init (void)
void wind_estimator_periodic (void)
void wind_estimator_event (void)
void wind_estimator_Set_R_GS (float _v)
void wind_estimator_Set_R_VA (float _v)
void wind_estimator_Set_R_AOA (float _v)
void wind_estimator_Set_R_SSA (float _v)
void wind_estimator_Set_Q_VA (float _v)
void wind_estimator_Set_Q_WIND (float _v)
void wind_estimator_Set_Q_VA_SCALE (float _v)

Variables

struct WindEstimator wind_estimator

Detailed Description

Wind Estimator based on generated library from Matlab.

Original Simulink files available at https://github.com/enacuavlab/UKF_Wind_Estimation

Definition in file wind_estimator.h.


Data Structure Documentation

◆ WindEstimator

struct WindEstimator

Definition at line 35 of file wind_estimator.h.

Collaboration diagram for WindEstimator:
Data Fields
struct FloatVect3 airspeed airspeed vector in body frame
bool data_available new data available
float q_va noise associated to airspeed vector model
float q_va_scale noise associated to airspeed scale factor model
float q_wind noise associated to wind vector model
float r_aoa noise associated to angle of attack measurement
float r_gs noise associated to ground speed measurement
float r_ssa noise associated to sideslip angle measurement
float r_va noise associated to airspeed norm measurement
bool reset reset filter flag
struct FloatVect3 wind wind vector in NED frame

Function Documentation

◆ wind_estimator_event()

void wind_estimator_event ( void )
extern

Definition at line 411 of file wind_estimator.c.

References DefaultChannel, DefaultDevice, send_wind_estimator(), stateSetHorizontalWindspeed_f(), stateSetVerticalWindspeed_f(), and wind_estimator.

Here is the call graph for this function:

◆ wind_estimator_init()

void wind_estimator_init ( void )
extern

Definition at line 464 of file wind_estimator.c.

References counter, DefaultPeriodic, init_calculator(), pprzLogFile, register_periodic_telemetry(), send_wind_estimator(), and thd_windestimate().

Here is the call graph for this function:

◆ wind_estimator_periodic()

◆ wind_estimator_Set_Q_VA()

void wind_estimator_Set_Q_VA ( float _v)
extern

Definition at line 528 of file wind_estimator.c.

References MAT_EL, ukf_params, and wind_estimator.

◆ wind_estimator_Set_Q_VA_SCALE()

void wind_estimator_Set_Q_VA_SCALE ( float _v)
extern

Definition at line 544 of file wind_estimator.c.

References MAT_EL, ukf_params, and wind_estimator.

◆ wind_estimator_Set_Q_WIND()

void wind_estimator_Set_Q_WIND ( float _v)
extern

Definition at line 536 of file wind_estimator.c.

References MAT_EL, ukf_params, and wind_estimator.

◆ wind_estimator_Set_R_AOA()

void wind_estimator_Set_R_AOA ( float _v)
extern

Definition at line 516 of file wind_estimator.c.

References MAT_EL, ukf_params, and wind_estimator.

◆ wind_estimator_Set_R_GS()

void wind_estimator_Set_R_GS ( float _v)
extern

Definition at line 502 of file wind_estimator.c.

References MAT_EL, ukf_params, and wind_estimator.

◆ wind_estimator_Set_R_SSA()

void wind_estimator_Set_R_SSA ( float _v)
extern

Definition at line 522 of file wind_estimator.c.

References MAT_EL, ukf_params, and wind_estimator.

◆ wind_estimator_Set_R_VA()

void wind_estimator_Set_R_VA ( float _v)
extern

Definition at line 510 of file wind_estimator.c.

References MAT_EL, ukf_params, and wind_estimator.

Variable Documentation

◆ wind_estimator