29 #include "generated/airframe.h"
33 #if STABILIZATION_INDI_ALLOCATION_PSEUDO_INVERSE
34 #error "You need to use WLS control allocation for this module"
38 static float g1g2_forward[INDI_OUTPUTS][INDI_NUM_ACT] = {FWD_G1_ROLL,
39 FWD_G1_PITCH, FWD_G1_YAW, FWD_G1_THRUST
42 static float g1g2_hover[INDI_OUTPUTS][INDI_NUM_ACT] = {STABILIZATION_INDI_G1_ROLL,
43 STABILIZATION_INDI_G1_PITCH, STABILIZATION_INDI_G1_YAW, STABILIZATION_INDI_G1_THRUST
46 static float g2_both[INDI_NUM_ACT] = STABILIZATION_INDI_G2;
54 for (i = 0; i < INDI_OUTPUTS; i++) {
55 for (j = 0; j < INDI_NUM_ACT; j++) {
74 for (i = 0; i < INDI_OUTPUTS; i++) {
75 for (j = 0; j < INDI_NUM_ACT; j++) {
int32_t transition_percentage
float g1g2[INDI_OUTPUTS][INDI_NUM_ACT]
static float g1g2_hover[INDI_OUTPUTS][INDI_NUM_ACT]
#define INT32_PERCENTAGE_FRAC
#define FLOAT_OF_BFP(_vbfp, _frac)
static float g2_both[INDI_NUM_ACT]
static float g1g2_forward[INDI_OUTPUTS][INDI_NUM_ACT]
API to get/set the generic vehicle states.
void ctrl_eff_scheduling_init(void)
Initialises periodic loop;.
Horizontal guidance for rotorcrafts.
void ctrl_eff_scheduling_periodic(void)
Periodic function that interpolates between gain sets depending on the scheduling variable...