29#include "generated/modules.h"
52#ifndef GUIDANCE_INDI_PITCH_EFF_SCALING
53#define GUIDANCE_INDI_PITCH_EFF_SCALING 1.0
65 Gmat[0][0] = cphi*ctheta*spsi*T + cphi*spsi*
lift;
66 Gmat[1][0] = -cphi*ctheta*cpsi*T - cphi*cpsi*
lift;
67 Gmat[2][0] = -sphi*ctheta*T -sphi*
lift;
71 Gmat[0][2] = stheta*cpsi + sphi*ctheta*spsi;
72 Gmat[1][2] = stheta*spsi - sphi*ctheta*cpsi;
73 Gmat[2][2] = cphi*ctheta;
81#if GUIDANCE_INDI_HYBRID_USE_WLS
static float stateGetAirspeed_f(void)
Get airspeed (float).
Butterworth2LowPass roll_filt
float guidance_indi_max_bank
Butterworth2LowPass pitch_filt
float guidance_indi_min_pitch
float WEAK guidance_indi_get_liftd(float airspeed, float theta)
Get the derivative of lift w.r.t.
Butterworth2LowPass yaw_filt
A guidance mode based on Incremental Nonlinear Dynamic Inversion Come to ICRA2016 to learn more!
void WEAK guidance_indi_hybrid_set_wls_settings(float body_v[3], float roll_angle, float pitch_angle)
#define GUIDANCE_INDI_MAX_PITCH
void guidance_indi_calcg_wing(float Gmat[GUIDANCE_INDI_HYBRID_V][GUIDANCE_INDI_HYBRID_U], struct FloatVect3 a_diff, float v_gih[GUIDANCE_INDI_HYBRID_V])
Calculate the matrix of partial derivatives of the roll, pitch and thrust w.r.t.
#define GUIDANCE_INDI_PITCH_EFF_SCALING
float g1g2[INDI_OUTPUTS][INDI_NUM_ACT]
float actuator_state_filt_vect[INDI_NUM_ACT]
API to get/set the generic vehicle states.