Paparazzi UAS  v5.15_devel-59-g8c145b7
Paparazzi is a free software Unmanned Aircraft System.
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
IndiController_int Struct Reference

#include <stabilization_attitude_heli_indi.h>

Data Fields

int32_t reference [INDI_DOF]
 Range -MAX_PPRZ:MAX_PPRZ. More...
 
int32_t error [INDI_DOF]
 virtual control minus measurement More...
 
int32_t invG [INDI_DOF][INDI_DOF]
 Inverse control effectiveness matrix. More...
 
int32_t du [INDI_DOF]
 Actuator commanded increment. More...
 
int32_t u_setpoint [INDI_DOF]
 Actuator setpoint without compensator. More...
 
int32_t actuator_out [INDI_DOF]
 Actuator position. More...
 
int32_t command_out [2][INDI_DOF]
 Command and command from previous measurement. More...
 
int32_t filtered_actuator [INDI_NR_FILTERS][INDI_DOF]
 Filtered actuator position. More...
 
int32_t measurement [INDI_DOF]
 Raw measurement. More...
 
int32_t filtered_measurement [INDI_NR_FILTERS][INDI_DOF]
 Filtered measurement. More...
 
int32_t pitch_comp_angle
 Angle to rotate pitch/roll commands with INT32_ANGLE_FRAC. More...
 
int32_t roll_comp_angle
 Angle to rotate pitch/roll commands with INT32_ANGLE_FRAC. More...
 
bool enable_notch
 Use notch filters. More...
 
int16_t motor_rpm
 RPM of the main motor. More...
 
float sp_offset_roll
 Neutral roll angle [deg]. More...
 
float sp_offset_pitch
 Neutral pitch angle [deg]. More...
 
void(* apply_compensator_filters )(int32_t _out[], int32_t _in[])
 
void(* apply_actuator_models )(int32_t _out[], int32_t _in[])
 
void(* apply_actuator_filters [INDI_NR_FILTERS])(int32_t _out[], int32_t _in[])
 
void(* apply_measurement_filters [INDI_NR_FILTERS])(int32_t _out[], int32_t _in[])
 

Detailed Description

Definition at line 47 of file stabilization_attitude_heli_indi.h.

Field Documentation

int32_t IndiController_int::actuator_out[INDI_DOF]

Actuator position.

Definition at line 53 of file stabilization_attitude_heli_indi.h.

Referenced by stabilization_attitude_run().

void(* IndiController_int::apply_actuator_filters[INDI_NR_FILTERS])(int32_t _out[], int32_t _in[])
void(* IndiController_int::apply_actuator_models)(int32_t _out[], int32_t _in[])
void(* IndiController_int::apply_compensator_filters)(int32_t _out[], int32_t _in[])
void(* IndiController_int::apply_measurement_filters[INDI_NR_FILTERS])(int32_t _out[], int32_t _in[])
int32_t IndiController_int::command_out[2][INDI_DOF]

Command and command from previous measurement.

Definition at line 54 of file stabilization_attitude_heli_indi.h.

Referenced by stabilization_attitude_run().

int32_t IndiController_int::du[INDI_DOF]

Actuator commanded increment.

Definition at line 51 of file stabilization_attitude_heli_indi.h.

Referenced by stabilization_attitude_run().

bool IndiController_int::enable_notch
int32_t IndiController_int::error[INDI_DOF]

virtual control minus measurement

Definition at line 49 of file stabilization_attitude_heli_indi.h.

Referenced by stabilization_attitude_run().

int32_t IndiController_int::filtered_actuator[INDI_NR_FILTERS][INDI_DOF]

Filtered actuator position.

Definition at line 55 of file stabilization_attitude_heli_indi.h.

Referenced by stabilization_attitude_run().

int32_t IndiController_int::filtered_measurement[INDI_NR_FILTERS][INDI_DOF]

Filtered measurement.

Definition at line 57 of file stabilization_attitude_heli_indi.h.

Referenced by stabilization_attitude_run().

int32_t IndiController_int::invG[INDI_DOF][INDI_DOF]

Inverse control effectiveness matrix.

Definition at line 50 of file stabilization_attitude_heli_indi.h.

Referenced by stabilization_attitude_init(), and stabilization_attitude_run().

int32_t IndiController_int::measurement[INDI_DOF]

Raw measurement.

Definition at line 56 of file stabilization_attitude_heli_indi.h.

Referenced by stabilization_attitude_run().

int16_t IndiController_int::motor_rpm
int32_t IndiController_int::pitch_comp_angle

Angle to rotate pitch/roll commands with INT32_ANGLE_FRAC.

Definition at line 58 of file stabilization_attitude_heli_indi.h.

Referenced by stabilization_attitude_init(), and stabilization_attitude_run().

int32_t IndiController_int::reference[INDI_DOF]

Range -MAX_PPRZ:MAX_PPRZ.

Definition at line 48 of file stabilization_attitude_heli_indi.h.

Referenced by stabilization_attitude_run().

int32_t IndiController_int::roll_comp_angle

Angle to rotate pitch/roll commands with INT32_ANGLE_FRAC.

Definition at line 59 of file stabilization_attitude_heli_indi.h.

Referenced by stabilization_attitude_init(), and stabilization_attitude_run().

float IndiController_int::sp_offset_pitch
float IndiController_int::sp_offset_roll
int32_t IndiController_int::u_setpoint[INDI_DOF]

Actuator setpoint without compensator.

Definition at line 52 of file stabilization_attitude_heli_indi.h.

Referenced by stabilization_attitude_run().


The documentation for this struct was generated from the following file: