APM:Libraries
|
#include <AP_PitchController.h>
Public Member Functions | |
AP_PitchController (AP_AHRS &ahrs, const AP_Vehicle::FixedWing &parms, DataFlash_Class &_dataflash) | |
AP_PitchController (const AP_PitchController &other)=delete | |
AP_PitchController & | operator= (const AP_PitchController &)=delete |
int32_t | get_rate_out (float desired_rate, float scaler) |
int32_t | get_servo_out (int32_t angle_err, float scaler, bool disable_integrator) |
void | reset_I () |
void | autotune_start (void) |
void | autotune_restore (void) |
const DataFlash_Class::PID_Info & | get_pid_info (void) const |
AP_Float & | kP (void) |
AP_Float & | kI (void) |
AP_Float & | kD (void) |
AP_Float & | kFF (void) |
Static Public Attributes | |
static const struct AP_Param::GroupInfo | var_info [] |
Private Member Functions | |
int32_t | _get_rate_out (float desired_rate, float scaler, bool disable_integrator, float aspeed) |
float | _get_coordination_rate_offset (float &aspeed, bool &inverted) const |
Private Attributes | |
const AP_Vehicle::FixedWing & | aparm |
AP_AutoTune::ATGains | gains |
AP_AutoTune | autotune |
AP_Int16 | _max_rate_neg |
AP_Float | _roll_ff |
uint32_t | _last_t |
float | _last_out |
DataFlash_Class::PID_Info | _pid_info |
AP_AHRS & | _ahrs |
Definition at line 10 of file AP_PitchController.h.
|
inline |
|
delete |
|
private |
Definition at line 255 of file AP_PitchController.cpp.
Referenced by get_servo_out().
|
private |
Definition at line 114 of file AP_PitchController.cpp.
Referenced by get_rate_out(), and get_servo_out().
|
inline |
|
inline |
|
inline |
Definition at line 32 of file AP_PitchController.h.
int32_t AP_PitchController::get_rate_out | ( | float | desired_rate, |
float | scaler | ||
) |
Definition at line 238 of file AP_PitchController.cpp.
Referenced by AP_PitchController().
int32_t AP_PitchController::get_servo_out | ( | int32_t | angle_err, |
float | scaler, | ||
bool | disable_integrator | ||
) |
Definition at line 297 of file AP_PitchController.cpp.
Referenced by AP_PitchController().
|
inline |
Definition at line 38 of file AP_PitchController.h.
|
inline |
Definition at line 39 of file AP_PitchController.h.
|
inline |
Definition at line 37 of file AP_PitchController.h.
|
inline |
Definition at line 36 of file AP_PitchController.h.
|
delete |
void AP_PitchController::reset_I | ( | ) |
Definition at line 336 of file AP_PitchController.cpp.
Referenced by AP_PitchController().
|
private |
Definition at line 55 of file AP_PitchController.h.
Referenced by _get_coordination_rate_offset(), _get_rate_out(), and get_rate_out().
|
private |
Definition at line 48 of file AP_PitchController.h.
Referenced by _get_rate_out().
|
private |
Definition at line 47 of file AP_PitchController.h.
Referenced by _get_rate_out().
|
private |
Definition at line 45 of file AP_PitchController.h.
Referenced by _get_rate_out(), and get_servo_out().
|
private |
Definition at line 50 of file AP_PitchController.h.
Referenced by _get_rate_out(), get_pid_info(), and reset_I().
|
private |
Definition at line 46 of file AP_PitchController.h.
Referenced by _get_coordination_rate_offset().
|
private |
Definition at line 42 of file AP_PitchController.h.
Referenced by _get_coordination_rate_offset(), _get_rate_out(), and get_rate_out().
|
private |
Definition at line 44 of file AP_PitchController.h.
Referenced by _get_rate_out(), autotune_restore(), and autotune_start().
|
private |
Definition at line 43 of file AP_PitchController.h.
Referenced by _get_rate_out(), get_servo_out(), kD(), kFF(), kI(), and kP().
|
static |
Definition at line 34 of file AP_PitchController.h.
Referenced by AP_PitchController().