1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-26 09:45:37 +03:00

use floats for rc interpolation

do not filter setpoint data
This commit is contained in:
rav 2017-05-04 00:16:46 +02:00
parent ec0373d7c7
commit 33043d79dc
4 changed files with 32 additions and 27 deletions

View file

@ -151,7 +151,7 @@ typedef struct modeActivationProfile_s {
#define IS_RANGE_USABLE(range) ((range)->startStep < (range)->endStep)
extern int16_t rcCommand[4];
extern float rcCommand[4];
typedef struct rcControlsConfig_s {
uint8_t deadband; // introduce a deadband around the stick center for pitch and roll axis. Must be greater than zero.