mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-21 23:35:34 +03:00
Add anti gravity as feature and mode
This commit is contained in:
parent
53bd377742
commit
2d9306652d
9 changed files with 365 additions and 8 deletions
|
@ -24,7 +24,7 @@ typedef enum {
|
|||
BOXANGLE,
|
||||
BOXHORIZON,
|
||||
BOXBARO,
|
||||
// BOXVARIO,
|
||||
BOXANTIGRAVITY,
|
||||
BOXMAG,
|
||||
BOXHEADFREE,
|
||||
BOXHEADADJ,
|
||||
|
@ -271,6 +271,7 @@ typedef struct adjustmentProfile_s {
|
|||
} adjustmentProfile_t;
|
||||
|
||||
bool isAirmodeActive(void);
|
||||
bool isAntiGravityModeActive(void);
|
||||
void resetAdjustmentStates(void);
|
||||
void updateAdjustmentStates(adjustmentRange_t *adjustmentRanges);
|
||||
void processRcAdjustments(controlRateConfig_t *controlRateConfig, struct rxConfig_s *rxConfig);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue