Paparazzi UAS  v5.14.0_stable-0-g3f680d1
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
stabilization_attitude_heli_indi.h File Reference
+ Include dependency graph for stabilization_attitude_heli_indi.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  HeliIndiGains
 
struct  IndiController_int
 

Macros

#define __k   1
 
#define INDI_NR_FILTERS   2
 
#define INDI_DOF   4
 
#define INDI_ROLL   0
 
#define INDI_PITCH   1
 
#define INDI_YAW   2
 
#define INDI_THRUST   3
 
#define INDI_YAW_BUFFER_SIZE   9
 

Functions

void stabilization_attitude_heli_indi_set_steadystate_pitch (float pitch)
 stabilization_attitude_heli_indi_set_steadystate_pitch More...
 
void stabilization_attitude_heli_indi_set_steadystate_roll (float roll)
 stabilization_attitude_heli_indi_set_steadystate_roll More...
 
void stabilization_attitude_heli_indi_set_steadystate_pitchroll (void)
 stabilization_attitude_heli_indi_set_steadystate_pitchroll More...
 

Variables

struct
delayed_first_order_lowpass_filter_t 
actuator_model [INDI_DOF]
 
struct Int32Quat stab_att_sp_quat
 with INT32_QUAT_FRAC More...
 
struct Int32Eulers stab_att_sp_euler
 with INT32_ANGLE_FRAC More...
 
struct HeliIndiGains heli_indi_gains
 

Data Structure Documentation

struct HeliIndiGains

Definition at line 39 of file stabilization_attitude_heli_indi.h.

Data Fields
int32_t pitch_p
int32_t roll_p
int32_t yaw_d
int32_t yaw_p

Macro Definition Documentation

#define __k   1

Definition at line 30 of file stabilization_attitude_heli_indi.h.

Referenced by stabilization_attitude_run().

#define INDI_NR_FILTERS   2

Definition at line 31 of file stabilization_attitude_heli_indi.h.

Referenced by stabilization_attitude_run().

#define INDI_YAW_BUFFER_SIZE   9

Definition at line 37 of file stabilization_attitude_heli_indi.h.

Referenced by indi_apply_compensator_filters().

Function Documentation

void stabilization_attitude_heli_indi_set_steadystate_pitch ( float  pitch)

stabilization_attitude_heli_indi_set_steadystate_pitch

Parameters
pitchneutral pitch angle [deg].

Change the neutral pitch angle.

Definition at line 298 of file stabilization_attitude_heli_indi.c.

References heli_indi_ctl, IndiController_int::sp_offset_pitch, and stabilization_attitude_heli_indi_set_steadystate_pitchroll().

+ Here is the call graph for this function:

void stabilization_attitude_heli_indi_set_steadystate_pitchroll ( void  )

stabilization_attitude_heli_indi_set_steadystate_pitchroll

Updates the neutral pitch and roll angles and calculates the compensation quaternion.

Definition at line 323 of file stabilization_attitude_heli_indi.c.

References float_quat_of_orientation_vect(), heli_indi_ctl, QUAT_BFP_OF_REAL, sp_offset, IndiController_int::sp_offset_pitch, IndiController_int::sp_offset_roll, FloatVect3::x, FloatVect3::y, and FloatVect3::z.

Referenced by stabilization_attitude_heli_indi_set_steadystate_pitch(), stabilization_attitude_heli_indi_set_steadystate_roll(), and stabilization_attitude_init().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void stabilization_attitude_heli_indi_set_steadystate_roll ( float  roll)

stabilization_attitude_heli_indi_set_steadystate_roll

Parameters
rollneutral roll angle [deg].

Change the neutral roll angle. Especially useful for helicopters, since they need a small roll angle in hover to compensate the tail force.

Definition at line 311 of file stabilization_attitude_heli_indi.c.

References heli_indi_ctl, IndiController_int::sp_offset_roll, and stabilization_attitude_heli_indi_set_steadystate_pitchroll().

+ Here is the call graph for this function:

Variable Documentation

struct HeliIndiGains heli_indi_gains

Definition at line 131 of file stabilization_attitude_heli_indi.c.

struct Int32Eulers stab_att_sp_euler

with INT32_ANGLE_FRAC

Definition at line 45 of file stabilization_attitude_euler_float.c.

struct Int32Quat stab_att_sp_quat

with INT32_QUAT_FRAC

Definition at line 127 of file stabilization_attitude_heli_indi.c.