Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
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
 
bool use_airspeed_ratio
 

Detailed Description

Fixed wing horizontal adaptive control.

Definition in file stabilization_adaptive.h.

Macro Definition Documentation

◆ H_CTL_PITCH_SUM_ERR_MAX

#define H_CTL_PITCH_SUM_ERR_MAX   (MAX_PPRZ/2.)

Definition at line 54 of file stabilization_adaptive.h.

◆ H_CTL_ROLL_SUM_ERR_MAX

#define H_CTL_ROLL_SUM_ERR_MAX   (MAX_PPRZ/2.)

Definition at line 53 of file stabilization_adaptive.h.

◆ stabilization_adaptive_SetPitchIGain

#define stabilization_adaptive_SetPitchIGain (   _gain)
Value:
{ \
h_ctl_pitch_sum_err = 0.; \
h_ctl_pitch_igain = _gain; \
}

Definition at line 61 of file stabilization_adaptive.h.

◆ stabilization_adaptive_SetRollIGain

#define stabilization_adaptive_SetRollIGain (   _gain)
Value:
{ \
h_ctl_roll_sum_err = 0.; \
h_ctl_roll_igain = _gain; \
}

Definition at line 56 of file stabilization_adaptive.h.

Variable Documentation

◆ h_ctl_pitch_igain

float h_ctl_pitch_igain
extern

Definition at line 174 of file stabilization_adaptive.c.

Referenced by h_ctl_init(), and h_ctl_pitch_loop().

◆ h_ctl_pitch_Kffa

float h_ctl_pitch_Kffa
extern

Definition at line 176 of file stabilization_adaptive.c.

Referenced by h_ctl_init(), and h_ctl_pitch_loop().

◆ h_ctl_pitch_Kffd

float h_ctl_pitch_Kffd
extern

Definition at line 177 of file stabilization_adaptive.c.

Referenced by h_ctl_init(), and h_ctl_pitch_loop().

◆ h_ctl_pitch_of_roll

float h_ctl_pitch_of_roll
extern

Definition at line 197 of file stabilization_adaptive.c.

Referenced by h_ctl_init(), and h_ctl_pitch_loop().

◆ h_ctl_pitch_sum_err

float h_ctl_pitch_sum_err
extern

Definition at line 175 of file stabilization_adaptive.c.

Referenced by h_ctl_init(), h_ctl_pitch_loop(), and send_ctl_a().

◆ h_ctl_roll_igain

float h_ctl_roll_igain
extern

Definition at line 160 of file stabilization_adaptive.c.

Referenced by h_ctl_init(), and h_ctl_roll_loop().

◆ h_ctl_roll_Kffa

float h_ctl_roll_Kffa
extern

Definition at line 162 of file stabilization_adaptive.c.

Referenced by h_ctl_init(), and h_ctl_roll_loop().

◆ h_ctl_roll_Kffd

float h_ctl_roll_Kffd
extern

Definition at line 163 of file stabilization_adaptive.c.

Referenced by h_ctl_init(), and h_ctl_roll_loop().

◆ h_ctl_roll_sum_err

float h_ctl_roll_sum_err
extern

Definition at line 161 of file stabilization_adaptive.c.

Referenced by h_ctl_init(), h_ctl_roll_loop(), and send_ctl_a().

◆ use_airspeed_ratio

bool use_airspeed_ratio
extern

Definition at line 199 of file stabilization_adaptive.c.

Referenced by h_ctl_init().