APM:Libraries
|
#include <AP_RollController.h>
Public Member Functions | |
AP_RollController (AP_AHRS &ahrs, const AP_Vehicle::FixedWing &parms, DataFlash_Class &_dataflash) | |
AP_RollController (const AP_RollController &other)=delete | |
AP_RollController & | operator= (const AP_RollController &)=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 |
void | kP (float v) |
void | kI (float v) |
void | kD (float v) |
void | kFF (float v) |
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) |
Private Attributes | |
const AP_Vehicle::FixedWing & | aparm |
AP_AutoTune::ATGains | gains |
AP_AutoTune | autotune |
uint32_t | _last_t |
float | _last_out |
DataFlash_Class::PID_Info | _pid_info |
AP_AHRS & | _ahrs |
Definition at line 10 of file AP_RollController.h.
|
inline |
|
delete |
|
private |
Definition at line 92 of file AP_RollController.cpp.
Referenced by get_rate_out(), and get_servo_out().
|
inline |
|
inline |
|
inline |
Definition at line 32 of file AP_RollController.h.
int32_t AP_RollController::get_rate_out | ( | float | desired_rate, |
float | scaler | ||
) |
Definition at line 189 of file AP_RollController.cpp.
Referenced by AP_RollController().
int32_t AP_RollController::get_servo_out | ( | int32_t | angle_err, |
float | scaler, | ||
bool | disable_integrator | ||
) |
Definition at line 203 of file AP_RollController.cpp.
Referenced by AP_RollController().
|
inline |
Definition at line 40 of file AP_RollController.h.
|
inline |
Definition at line 45 of file AP_RollController.h.
|
inline |
Definition at line 41 of file AP_RollController.h.
|
inline |
Definition at line 46 of file AP_RollController.h.
|
inline |
Definition at line 39 of file AP_RollController.h.
|
inline |
Definition at line 44 of file AP_RollController.h.
|
inline |
Definition at line 38 of file AP_RollController.h.
|
inline |
Definition at line 43 of file AP_RollController.h.
|
delete |
void AP_RollController::reset_I | ( | ) |
Definition at line 215 of file AP_RollController.cpp.
Referenced by AP_RollController().
|
private |
Definition at line 59 of file AP_RollController.h.
Referenced by _get_rate_out().
|
private |
Definition at line 53 of file AP_RollController.h.
Referenced by _get_rate_out().
|
private |
Definition at line 52 of file AP_RollController.h.
Referenced by _get_rate_out().
|
private |
Definition at line 55 of file AP_RollController.h.
Referenced by _get_rate_out(), get_pid_info(), and reset_I().
|
private |
Definition at line 49 of file AP_RollController.h.
Referenced by _get_rate_out().
|
private |
Definition at line 51 of file AP_RollController.h.
Referenced by _get_rate_out(), autotune_restore(), and autotune_start().
|
private |
Definition at line 50 of file AP_RollController.h.
Referenced by _get_rate_out(), get_servo_out(), kD(), kFF(), kI(), and kP().
|
static |
Definition at line 34 of file AP_RollController.h.
Referenced by AP_RollController().