Go to the source code of this file.
|
enum | adjustmentFunction_e {
ADJUSTMENT_NONE = 0,
ADJUSTMENT_RC_RATE,
ADJUSTMENT_RC_EXPO,
ADJUSTMENT_THROTTLE_EXPO,
ADJUSTMENT_PITCH_ROLL_RATE,
ADJUSTMENT_YAW_RATE,
ADJUSTMENT_PITCH_ROLL_P,
ADJUSTMENT_PITCH_ROLL_I,
ADJUSTMENT_PITCH_ROLL_D,
ADJUSTMENT_YAW_P,
ADJUSTMENT_YAW_I,
ADJUSTMENT_YAW_D,
ADJUSTMENT_RATE_PROFILE,
ADJUSTMENT_PITCH_RATE,
ADJUSTMENT_ROLL_RATE,
ADJUSTMENT_PITCH_P,
ADJUSTMENT_PITCH_I,
ADJUSTMENT_PITCH_D,
ADJUSTMENT_ROLL_P,
ADJUSTMENT_ROLL_I,
ADJUSTMENT_ROLL_D,
ADJUSTMENT_ALT_P,
ADJUSTMENT_ALT_I,
ADJUSTMENT_ALT_D,
ADJUSTMENT_VEL_P,
ADJUSTMENT_VEL_I,
ADJUSTMENT_VEL_D,
ADJUSTMENT_MAG_P,
ADJUSTMENT_POS_P,
ADJUSTMENT_POS_I,
ADJUSTMENT_POSR_P,
ADJUSTMENT_POSR_I,
ADJUSTMENT_POSR_D,
ADJUSTMENT_NAVR_P,
ADJUSTMENT_NAVR_I,
ADJUSTMENT_NAVR_D,
ADJUSTMENT_LEVEL_P,
ADJUSTMENT_LEVEL_I,
ADJUSTMENT_LEVEL_D
} |
|
enum | adjustmentMode_e { ADJUSTMENT_MODE_STEP,
ADJUSTMENT_MODE_SELECT
} |
|
#define ADJUSTMENT_FUNCTION_COUNT 39 |
#define ADJUSTMENT_INDEX_OFFSET 1 |
#define MAX_SIMULTANEOUS_ADJUSTMENT_COUNT 4 |
Enumerator |
---|
ADJUSTMENT_NONE |
|
ADJUSTMENT_RC_RATE |
|
ADJUSTMENT_RC_EXPO |
|
ADJUSTMENT_THROTTLE_EXPO |
|
ADJUSTMENT_PITCH_ROLL_RATE |
|
ADJUSTMENT_YAW_RATE |
|
ADJUSTMENT_PITCH_ROLL_P |
|
ADJUSTMENT_PITCH_ROLL_I |
|
ADJUSTMENT_PITCH_ROLL_D |
|
ADJUSTMENT_YAW_P |
|
ADJUSTMENT_YAW_I |
|
ADJUSTMENT_YAW_D |
|
ADJUSTMENT_RATE_PROFILE |
|
ADJUSTMENT_PITCH_RATE |
|
ADJUSTMENT_ROLL_RATE |
|
ADJUSTMENT_PITCH_P |
|
ADJUSTMENT_PITCH_I |
|
ADJUSTMENT_PITCH_D |
|
ADJUSTMENT_ROLL_P |
|
ADJUSTMENT_ROLL_I |
|
ADJUSTMENT_ROLL_D |
|
ADJUSTMENT_ALT_P |
|
ADJUSTMENT_ALT_I |
|
ADJUSTMENT_ALT_D |
|
ADJUSTMENT_VEL_P |
|
ADJUSTMENT_VEL_I |
|
ADJUSTMENT_VEL_D |
|
ADJUSTMENT_MAG_P |
|
ADJUSTMENT_POS_P |
|
ADJUSTMENT_POS_I |
|
ADJUSTMENT_POSR_P |
|
ADJUSTMENT_POSR_I |
|
ADJUSTMENT_POSR_D |
|
ADJUSTMENT_NAVR_P |
|
ADJUSTMENT_NAVR_I |
|
ADJUSTMENT_NAVR_D |
|
ADJUSTMENT_LEVEL_P |
|
ADJUSTMENT_LEVEL_I |
|
ADJUSTMENT_LEVEL_D |
|
Enumerator |
---|
ADJUSTMENT_MODE_STEP |
|
ADJUSTMENT_MODE_SELECT |
|
void rc_adj_add_range |
( |
struct rc_adj * |
self, |
|
|
adjustmentRange_t * |
adjustmentRange |
|
) |
| |
void rc_adj_init |
( |
struct rc_adj * |
self, |
|
|
struct ninja * |
ninja, |
|
|
struct config * |
config |
|
) |
| |
void rc_adj_reset |
( |
struct rc_adj * |
self | ) |
|
void rc_adj_update |
( |
struct rc_adj * |
self | ) |
|
void rc_adj_update_states |
( |
struct rc_adj * |
self, |
|
|
adjustmentRange_t * |
adjustmentRanges |
|
) |
| |