1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-15 20:35:33 +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

@ -65,7 +65,7 @@ static pidProfile_t *pidProfile;
// true if arming is done via the sticks (as opposed to a switch)
static bool isUsingSticksToArm = true;
int16_t rcCommand[4]; // interval [1000;2000] for THROTTLE and [-500;+500] for ROLL/PITCH/YAW
float rcCommand[4]; // interval [1000;2000] for THROTTLE and [-500;+500] for ROLL/PITCH/YAW
uint32_t rcModeActivationMask; // one bit per mode defined in boxId_e