APM:Libraries
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
AP_YawController Class Reference

#include <AP_YawController.h>

Collaboration diagram for AP_YawController:
[legend]

Public Member Functions

 AP_YawController (AP_AHRS &ahrs, const AP_Vehicle::FixedWing &parms)
 
 AP_YawController (const AP_YawController &other)=delete
 
AP_YawControlleroperator= (const AP_YawController &)=delete
 
int32_t get_servo_out (float scaler, bool disable_integrator)
 
void reset_I ()
 
const DataFlash_Class::PID_Infoget_pid_info (void) const
 

Static Public Attributes

static const struct AP_Param::GroupInfo var_info []
 

Private Attributes

const AP_Vehicle::FixedWingaparm
 
AP_Float _K_A
 
AP_Float _K_I
 
AP_Float _K_D
 
AP_Float _K_FF
 
AP_Int16 _imax
 
uint32_t _last_t
 
float _last_out
 
float _last_rate_hp_out
 
float _last_rate_hp_in
 
float _K_D_last
 
float _integrator
 
DataFlash_Class::PID_Info _pid_info
 
AP_AHRS_ahrs
 

Detailed Description

Definition at line 9 of file AP_YawController.h.

Constructor & Destructor Documentation

◆ AP_YawController() [1/2]

AP_YawController::AP_YawController ( AP_AHRS ahrs,
const AP_Vehicle::FixedWing parms 
)
inline

Definition at line 11 of file AP_YawController.h.

Here is the call graph for this function:

◆ AP_YawController() [2/2]

AP_YawController::AP_YawController ( const AP_YawController other)
delete

Member Function Documentation

◆ get_pid_info()

const DataFlash_Class::PID_Info& AP_YawController::get_pid_info ( void  ) const
inline

Definition at line 29 of file AP_YawController.h.

◆ get_servo_out()

int32_t AP_YawController::get_servo_out ( float  scaler,
bool  disable_integrator 
)

Definition at line 76 of file AP_YawController.cpp.

Referenced by AP_YawController().

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

◆ operator=()

AP_YawController& AP_YawController::operator= ( const AP_YawController )
delete

Referenced by AP_YawController().

Here is the caller graph for this function:

◆ reset_I()

void AP_YawController::reset_I ( )

Definition at line 179 of file AP_YawController.cpp.

Referenced by AP_YawController().

Here is the caller graph for this function:

Member Data Documentation

◆ _ahrs

AP_AHRS& AP_YawController::_ahrs
private

Definition at line 50 of file AP_YawController.h.

Referenced by get_servo_out().

◆ _imax

AP_Int16 AP_YawController::_imax
private

Definition at line 39 of file AP_YawController.h.

Referenced by get_servo_out().

◆ _integrator

float AP_YawController::_integrator
private

Definition at line 46 of file AP_YawController.h.

Referenced by get_servo_out(), and reset_I().

◆ _K_A

AP_Float AP_YawController::_K_A
private

Definition at line 35 of file AP_YawController.h.

Referenced by get_servo_out().

◆ _K_D

AP_Float AP_YawController::_K_D
private

Definition at line 37 of file AP_YawController.h.

Referenced by get_servo_out().

◆ _K_D_last

float AP_YawController::_K_D_last
private

Definition at line 44 of file AP_YawController.h.

Referenced by get_servo_out().

◆ _K_FF

AP_Float AP_YawController::_K_FF
private

Definition at line 38 of file AP_YawController.h.

Referenced by get_servo_out().

◆ _K_I

AP_Float AP_YawController::_K_I
private

Definition at line 36 of file AP_YawController.h.

Referenced by get_servo_out().

◆ _last_out

float AP_YawController::_last_out
private

Definition at line 41 of file AP_YawController.h.

Referenced by get_servo_out().

◆ _last_rate_hp_in

float AP_YawController::_last_rate_hp_in
private

Definition at line 43 of file AP_YawController.h.

Referenced by get_servo_out().

◆ _last_rate_hp_out

float AP_YawController::_last_rate_hp_out
private

Definition at line 42 of file AP_YawController.h.

Referenced by get_servo_out().

◆ _last_t

uint32_t AP_YawController::_last_t
private

Definition at line 40 of file AP_YawController.h.

Referenced by get_servo_out().

◆ _pid_info

DataFlash_Class::PID_Info AP_YawController::_pid_info
private

Definition at line 48 of file AP_YawController.h.

Referenced by AP_YawController(), get_pid_info(), and get_servo_out().

◆ aparm

const AP_Vehicle::FixedWing& AP_YawController::aparm
private

Definition at line 34 of file AP_YawController.h.

Referenced by get_servo_out().

◆ var_info

const AP_Param::GroupInfo AP_YawController::var_info
static

Definition at line 31 of file AP_YawController.h.

Referenced by AP_YawController().


The documentation for this class was generated from the following files: