Paparazzi UAS v7.1_unstable
Paparazzi is a free software Unmanned Aircraft System.
Loading...
Searching...
No Matches
stabilization_indi_hinf.c File Reference
Include dependency graph for stabilization_indi_hinf.c:

Go to the source code of this file.

Functions

struct FloatRates stabilization_indi_rate_controller (struct FloatRates rates, struct FloatRates sp)
 Angular acceleration controller based on Hinfinity.
struct FloatRates WEAK stabilization_indi_attitude_controller (struct FloatQuat att, struct FloatQuat att_sp, struct FloatRates rates_ff)
 Angular rate controller based on Hinfinity.

Variables

static struct FloatRates rate_state
static struct FloatRates att_state
static float Ap = STABILIZATION_INDI_HINF_Ap
static float Bp = STABILIZATION_INDI_HINF_Bp
static float Cp = STABILIZATION_INDI_HINF_Cp
static float Dp = STABILIZATION_INDI_HINF_Dp
static float Ad = STABILIZATION_INDI_HINF_Ad
static float Bd = STABILIZATION_INDI_HINF_Bd
static float Cd = STABILIZATION_INDI_HINF_Cd
static float Dd = STABILIZATION_INDI_HINF_Dd

Function Documentation

◆ stabilization_indi_attitude_controller()

struct FloatRates WEAK stabilization_indi_attitude_controller ( struct FloatQuat att,
struct FloatQuat att_sp,
struct FloatRates rates_ff )

Angular rate controller based on Hinfinity.

Default PD angular rate controller.

Takes the current attitude filtered state and setpoint and compute the desired rates. Can be redefined elsewhere to use an other control scheme.

Definition at line 70 of file stabilization_indi_hinf.c.

References Ap, att_state, autopilot_in_flight(), Bp, Cp, Dp, float_quat_inv_comp_norm_shortest(), float_quat_tilt_twist(), FLOAT_RATES_ZERO, indi_gains, FloatRates::p, FloatRates::q, FloatQuat::qx, FloatQuat::qy, FloatQuat::qz, FloatRates::r, RATES_ADD, stabilization_indi_attitude_controller(), FloatVect3::x, FloatVect3::y, and FloatVect3::z.

Here is the call graph for this function:

◆ stabilization_indi_rate_controller()

struct FloatRates stabilization_indi_rate_controller ( struct FloatRates rates,
struct FloatRates sp )

Angular acceleration controller based on Hinfinity.

Default PD angular acceleration controller.

Takes the current rates filtered state and setpoint and compute the desired acceleration.

Definition at line 43 of file stabilization_indi_hinf.c.

References Ad, autopilot_in_flight(), Bd, Cd, Dd, FLOAT_RATES_ZERO, indi_gains, FloatRates::p, FloatRates::q, FloatRates::r, rate_state, RATES_DIFF, and stabilization_indi_rate_controller().

Here is the call graph for this function:

Variable Documentation

◆ Ad

float Ad = STABILIZATION_INDI_HINF_Ad
static

Definition at line 34 of file stabilization_indi_hinf.c.

◆ Ap

float Ap = STABILIZATION_INDI_HINF_Ap
static

Definition at line 29 of file stabilization_indi_hinf.c.

◆ att_state

◆ Bd

float Bd = STABILIZATION_INDI_HINF_Bd
static

Definition at line 35 of file stabilization_indi_hinf.c.

◆ Bp

float Bp = STABILIZATION_INDI_HINF_Bp
static

Definition at line 30 of file stabilization_indi_hinf.c.

◆ Cd

float Cd = STABILIZATION_INDI_HINF_Cd
static

Definition at line 36 of file stabilization_indi_hinf.c.

◆ Cp

float Cp = STABILIZATION_INDI_HINF_Cp
static

Definition at line 31 of file stabilization_indi_hinf.c.

◆ Dd

float Dd = STABILIZATION_INDI_HINF_Dd
static

Definition at line 37 of file stabilization_indi_hinf.c.

◆ Dp

float Dp = STABILIZATION_INDI_HINF_Dp
static

Definition at line 32 of file stabilization_indi_hinf.c.

◆ rate_state

struct FloatRates rate_state
static

Definition at line 25 of file stabilization_indi_hinf.c.

Referenced by stabilization_indi_rate_controller().