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

Angle of Attack sensor on PWM. More...

#include "std.h"
+ Include dependency graph for aoa_pwm.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  Aoa_Pwm
 

Functions

void aoa_pwm_init (void)
 
void aoa_pwm_update (void)
 

Variables

struct Aoa_Pwm aoa_pwm
 

Detailed Description

Angle of Attack sensor on PWM.

Author
Jean-François Erdelyi SENSOR, example : US DIGITAL MA3-P12-125-B

Definition in file aoa_pwm.h.


Data Structure Documentation

struct Aoa_Pwm

Definition at line 34 of file aoa_pwm.h.

Data Fields
float angle Angle of attack in radians.
float filter Filtering value [0-1] 0: no filtering 1: output is a constant value.
float offset Angle of attack offset in radians.
uint32_t raw raw PWM value
float sens sensitiviy, i.e. scale to conver raw to angle

Function Documentation

void aoa_pwm_init ( void  )

Variable Documentation

struct Aoa_Pwm aoa_pwm

Definition at line 85 of file aoa_pwm.c.

Referenced by aoa_pwm_init(), and aoa_pwm_update().