|
APM:Libraries
|
#include <AP_Tuning.h>
Classes | |
| struct | tuning_name |
| struct | tuning_set |
Public Member Functions | |
| AP_Tuning (const struct tuning_set *sets, const struct tuning_name *names) | |
| void | check_input (uint8_t flightmode) |
Public Attributes | |
| const uint8_t | set_base = 100 |
Static Public Attributes | |
| static const struct AP_Param::GroupInfo | var_info [] |
Protected Member Functions | |
| virtual AP_Float * | get_param_pointer (uint8_t parm)=0 |
| virtual void | save_value (uint8_t parm)=0 |
| virtual void | reload_value (uint8_t parm)=0 |
| virtual void | set_value (uint8_t parm, float value)=0 |
| virtual float | controller_error (uint8_t parm)=0 |
Protected Attributes | |
| AP_Int16 | parmset |
Private Member Functions | |
| void | Log_Write_Parameter_Tuning (float value) |
| void | check_selector_switch (void) |
| void | re_center (void) |
| void | next_parameter (void) |
| void | save_parameters (void) |
| void | revert_parameters (void) |
| const char * | get_tuning_name (uint8_t parm) |
| void | check_controller_error (void) |
Private Attributes | |
| AP_Int8 | channel |
| AP_Int16 | channel_min |
| AP_Int16 | channel_max |
| AP_Int8 | selector |
| AP_Float | range |
| AP_Int8 | mode_revert |
| AP_Float | error_threshold |
| uint32_t | selector_start_ms |
| bool | mid_point_wait |
| float | last_channel_value |
| float | center_value |
| uint32_t | last_check_ms |
| uint8_t | current_parm |
| uint8_t | current_parm_index |
| uint8_t | current_set |
| bool | changed:1 |
| uint32_t | need_revert |
| uint8_t | last_flightmode |
| uint32_t | last_controller_error_ms |
| const tuning_set * | tuning_sets |
| const tuning_name * | tuning_names |
Definition at line 10 of file AP_Tuning.h.
|
inline |
|
private |
Definition at line 328 of file AP_Tuning.cpp.
Referenced by check_input().
| void AP_Tuning::check_input | ( | uint8_t | flightmode | ) |
|
private |
Definition at line 62 of file AP_Tuning.cpp.
Referenced by check_input().
|
protectedpure virtual |
|
protectedpure virtual |
|
private |
Definition at line 315 of file AP_Tuning.cpp.
Referenced by check_input(), check_selector_switch(), and next_parameter().
|
private |
Definition at line 227 of file AP_Tuning.cpp.
Referenced by check_input().
|
private |
Definition at line 287 of file AP_Tuning.cpp.
Referenced by check_input(), and check_selector_switch().
|
private |
Definition at line 108 of file AP_Tuning.cpp.
Referenced by check_input(), check_selector_switch(), and next_parameter().
|
protectedpure virtual |
|
private |
Definition at line 263 of file AP_Tuning.cpp.
Referenced by check_input().
|
private |
Definition at line 240 of file AP_Tuning.cpp.
Referenced by check_selector_switch().
|
protectedpure virtual |
|
protectedpure virtual |
|
private |
Definition at line 59 of file AP_Tuning.h.
Referenced by check_input(), Log_Write_Parameter_Tuning(), and re_center().
|
private |
Definition at line 75 of file AP_Tuning.h.
Referenced by check_input(), and check_selector_switch().
|
private |
Definition at line 41 of file AP_Tuning.h.
Referenced by check_input().
|
private |
Definition at line 43 of file AP_Tuning.h.
Referenced by check_input().
|
private |
Definition at line 42 of file AP_Tuning.h.
Referenced by check_input().
|
private |
Definition at line 66 of file AP_Tuning.h.
Referenced by check_controller_error(), check_input(), check_selector_switch(), Log_Write_Parameter_Tuning(), next_parameter(), and re_center().
|
private |
Definition at line 69 of file AP_Tuning.h.
Referenced by check_input(), and next_parameter().
|
private |
Definition at line 72 of file AP_Tuning.h.
Referenced by check_input().
|
private |
Definition at line 47 of file AP_Tuning.h.
Referenced by check_controller_error().
|
private |
Definition at line 56 of file AP_Tuning.h.
Referenced by check_input().
|
private |
Definition at line 61 of file AP_Tuning.h.
Referenced by check_input().
|
private |
Definition at line 84 of file AP_Tuning.h.
Referenced by check_controller_error().
|
private |
Definition at line 81 of file AP_Tuning.h.
Referenced by check_input().
|
private |
Definition at line 53 of file AP_Tuning.h.
Referenced by check_input(), and re_center().
|
private |
Definition at line 46 of file AP_Tuning.h.
Referenced by check_input().
|
private |
Definition at line 78 of file AP_Tuning.h.
Referenced by check_input(), check_selector_switch(), and revert_parameters().
|
protected |
Definition at line 106 of file AP_Tuning.h.
Referenced by check_input(), Log_Write_Parameter_Tuning(), next_parameter(), revert_parameters(), and save_parameters().
|
private |
Definition at line 45 of file AP_Tuning.h.
|
private |
Definition at line 44 of file AP_Tuning.h.
Referenced by check_selector_switch().
|
private |
Definition at line 50 of file AP_Tuning.h.
Referenced by check_input(), and check_selector_switch().
| const uint8_t AP_Tuning::set_base = 100 |
Definition at line 38 of file AP_Tuning.h.
Referenced by next_parameter(), revert_parameters(), and save_parameters().
|
private |
Definition at line 87 of file AP_Tuning.h.
Referenced by get_tuning_name().
|
private |
Definition at line 86 of file AP_Tuning.h.
Referenced by next_parameter(), revert_parameters(), and save_parameters().
|
static |
Definition at line 32 of file AP_Tuning.h.
Referenced by AP_Tuning().
1.8.13