Paparazzi UAS
v5.10_stable-5-g83a0da5-dirty
Paparazzi is a free software Unmanned Aircraft System.
|
#include "math/pprz_algebra_int.h"
#include "filters/notch_filter.h"
#include "filters/delayed_first_order_lowpass_filter.h"
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 |
struct HeliIndiGains |
#define __k 1 |
Definition at line 30 of file stabilization_attitude_heli_indi.h.
Referenced by stabilization_attitude_run().
#define INDI_DOF 4 |
Definition at line 32 of file stabilization_attitude_heli_indi.h.
Referenced by indi_apply_actuator_butterworth_filters(), indi_apply_measurement_butterworth_filters(), and 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_PITCH 1 |
Definition at line 34 of file stabilization_attitude_heli_indi.h.
Referenced by indi_apply_actuator_models(), indi_apply_compensator_filters(), indi_apply_notch_filters(), stabilization_attitude_init(), and stabilization_attitude_run().
#define INDI_ROLL 0 |
Definition at line 33 of file stabilization_attitude_heli_indi.h.
Referenced by indi_apply_actuator_models(), indi_apply_compensator_filters(), indi_apply_notch_filters(), stabilization_attitude_init(), and stabilization_attitude_run().
#define INDI_THRUST 3 |
Definition at line 36 of file stabilization_attitude_heli_indi.h.
Referenced by indi_apply_actuator_models(), indi_apply_compensator_filters(), indi_apply_notch_filters(), stabilization_attitude_init(), and stabilization_attitude_run().
#define INDI_YAW 2 |
Definition at line 35 of file stabilization_attitude_heli_indi.h.
Referenced by indi_apply_actuator_models(), indi_apply_compensator_filters(), indi_apply_notch_filters(), stabilization_attitude_init(), and 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().
void stabilization_attitude_heli_indi_set_steadystate_pitch | ( | float | pitch | ) |
stabilization_attitude_heli_indi_set_steadystate_pitch
pitch | neutral 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().
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().
void stabilization_attitude_heli_indi_set_steadystate_roll | ( | float | roll | ) |
stabilization_attitude_heli_indi_set_steadystate_roll
roll | neutral 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().
struct delayed_first_order_lowpass_filter_t actuator_model[INDI_DOF] |
Definition at line 142 of file stabilization_attitude_heli_indi.c.
Referenced by indi_apply_actuator_models(), indi_apply_compensator_filters(), and stabilization_attitude_init().
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.