Paparazzi UAS  v5.0.5_stable-7-g4b8bbb7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
stabilization_adaptive.h File Reference

Fixed wing horizontal adaptive control. More...

#include <inttypes.h>
#include "std.h"
#include "paparazzi.h"
#include "generated/airframe.h"
+ Include dependency graph for stabilization_adaptive.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define H_CTL_ROLL_SUM_ERR_MAX   (MAX_PPRZ/2.)
 
#define H_CTL_PITCH_SUM_ERR_MAX   (MAX_PPRZ/2.)
 
#define stabilization_adaptive_SetRollIGain(_gain)
 
#define stabilization_adaptive_SetPitchIGain(_gain)
 

Variables

float h_ctl_roll_sum_err
 
float h_ctl_pitch_sum_err
 
float h_ctl_roll_igain
 
float h_ctl_pitch_igain
 
float h_ctl_roll_Kffa
 
float h_ctl_roll_Kffd
 
float h_ctl_pitch_Kffa
 
float h_ctl_pitch_Kffd
 
float h_ctl_pitch_of_roll
 
float h_ctl_ref_roll_angle
 
float h_ctl_ref_roll_rate
 
float h_ctl_ref_roll_accel
 
float h_ctl_ref_pitch_angle
 
float h_ctl_ref_pitch_rate
 
float h_ctl_ref_pitch_accel
 
bool_t use_airspeed_ratio
 

Detailed Description

Fixed wing horizontal adaptive control.

Definition in file stabilization_adaptive.h.

Macro Definition Documentation

#define H_CTL_PITCH_SUM_ERR_MAX   (MAX_PPRZ/2.)

Definition at line 48 of file stabilization_adaptive.h.

Referenced by h_ctl_pitch_loop().

#define H_CTL_ROLL_SUM_ERR_MAX   (MAX_PPRZ/2.)

Definition at line 47 of file stabilization_adaptive.h.

Referenced by h_ctl_roll_loop().

#define stabilization_adaptive_SetPitchIGain (   _gain)
Value:
{ \
}
float h_ctl_pitch_igain
float h_ctl_pitch_sum_err

Definition at line 55 of file stabilization_adaptive.h.

#define stabilization_adaptive_SetRollIGain (   _gain)
Value:
{ \
}
float h_ctl_roll_sum_err
float h_ctl_roll_igain

Definition at line 50 of file stabilization_adaptive.h.

Variable Documentation

float h_ctl_pitch_igain

Definition at line 86 of file stabilization_adaptive.c.

Referenced by h_ctl_init(), and h_ctl_pitch_loop().

float h_ctl_pitch_Kffa

Definition at line 88 of file stabilization_adaptive.c.

Referenced by h_ctl_init(), and h_ctl_pitch_loop().

float h_ctl_pitch_Kffd

Definition at line 89 of file stabilization_adaptive.c.

Referenced by h_ctl_init(), and h_ctl_pitch_loop().

float h_ctl_pitch_of_roll

Definition at line 95 of file stabilization_adaptive.c.

Referenced by h_ctl_init(), and h_ctl_pitch_loop().

float h_ctl_pitch_sum_err

Definition at line 87 of file stabilization_adaptive.c.

Referenced by h_ctl_init(), and h_ctl_pitch_loop().

float h_ctl_ref_pitch_accel

Definition at line 60 of file stabilization_adaptive.c.

Referenced by h_ctl_pitch_loop().

float h_ctl_ref_pitch_angle

Definition at line 58 of file stabilization_adaptive.c.

Referenced by h_ctl_pitch_loop().

float h_ctl_ref_pitch_rate

Definition at line 59 of file stabilization_adaptive.c.

Referenced by h_ctl_pitch_loop().

float h_ctl_ref_roll_accel

Definition at line 57 of file stabilization_adaptive.c.

Referenced by h_ctl_roll_loop().

float h_ctl_ref_roll_angle

Definition at line 55 of file stabilization_adaptive.c.

Referenced by h_ctl_roll_loop().

float h_ctl_ref_roll_rate

Definition at line 56 of file stabilization_adaptive.c.

Referenced by h_ctl_roll_loop().

float h_ctl_roll_igain

Definition at line 72 of file stabilization_adaptive.c.

Referenced by h_ctl_init(), and h_ctl_roll_loop().

float h_ctl_roll_Kffa

Definition at line 74 of file stabilization_adaptive.c.

Referenced by h_ctl_init(), and h_ctl_roll_loop().

float h_ctl_roll_Kffd

Definition at line 75 of file stabilization_adaptive.c.

Referenced by h_ctl_init(), and h_ctl_roll_loop().

float h_ctl_roll_sum_err

Definition at line 73 of file stabilization_adaptive.c.

Referenced by h_ctl_init(), and h_ctl_roll_loop().

bool_t use_airspeed_ratio

Definition at line 97 of file stabilization_adaptive.c.

Referenced by h_ctl_init().