Paparazzi UAS v7.0_unstable
Paparazzi is a free software Unmanned Aircraft System.
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
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.
 

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(), foo, guidance_indi_get_liftd(), GUIDANCE_INDI_PITCH_EFF_SCALING, SecondOrderLowPass::o, FloatEulers::phi, FloatEulers::psi, stateGetAirspeed_f(), stateGetNedToBodyQuat_f(), FloatEulers::theta, and v_gih.

Referenced by guidance_indi_run().

+ Here is the call graph for this function:
+ Here is the caller graph for this function: