Paparazzi UAS  v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
guidance_indi_hybrid_tailsitter.c File Reference
+ Include dependency graph for guidance_indi_hybrid_tailsitter.c:

Go to the source code of this file.

Macros

#define GUIDANCE_INDI_PITCH_EFF_SCALING   1.0
 

Functions

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. More...
 

Macro Definition Documentation

◆ GUIDANCE_INDI_PITCH_EFF_SCALING

#define GUIDANCE_INDI_PITCH_EFF_SCALING   1.0

Function Documentation

◆ guidance_indi_calcg_wing()

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.

Perform WLS.

the NED accelerations, taking into account the lift of a wing that is horizontal at -90 degrees pitch

Parameters
GmatDynamics matrix
a_diffacceleration errors in earth frame
body_v3D vector to write the control objective v

Definition at line 41 of file guidance_indi_hybrid_tailsitter.c.

References accel_bodyz_filt, eulers_zxy, float_eulers_of_quat_zxy(), guidance_indi_get_liftd(), GUIDANCE_INDI_PITCH_EFF_SCALING, SecondOrderLowPass::o, FloatEulers::phi, FloatEulers::psi, stateGetAirspeed_f(), stateGetNedToBodyQuat_f(), mesonh.mesonh_atmosphere::T, FloatEulers::theta, v_gih, FloatVect3::x, FloatVect3::y, and FloatVect3::z.

+ Here is the call graph for this function: