1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-14 11:59:58 +03:00

Updating unit tests to match roll/pid/yaw rate decoupling.

This commit is contained in:
Dominic Clifton 2015-03-08 00:51:29 +00:00
parent 2e5fe06a6a
commit 9d0e464aaf

View file

@ -229,8 +229,7 @@ TEST(RcControlsTest, processRcAdjustmentsSticksInMiddle)
.rcExpo8 = 0, .rcExpo8 = 0,
.thrMid8 = 0, .thrMid8 = 0,
.thrExpo8 = 0, .thrExpo8 = 0,
.rollPitchRate = 0, .rates = {0,0,0},
.yawRate = 0,
.dynThrPID = 0, .dynThrPID = 0,
.tpa_breakpoint = 0 .tpa_breakpoint = 0
}; };
@ -273,8 +272,7 @@ TEST(RcControlsTest, processRcAdjustmentsWithRcRateFunctionSwitchUp)
.rcExpo8 = 0, .rcExpo8 = 0,
.thrMid8 = 0, .thrMid8 = 0,
.thrExpo8 = 0, .thrExpo8 = 0,
.rollPitchRate = 0, .rates = {0,0,0},
.yawRate = 0,
.dynThrPID = 0, .dynThrPID = 0,
.tpa_breakpoint = 0 .tpa_breakpoint = 0
}; };
@ -440,8 +438,7 @@ TEST(RcControlsTest, processRcRateProfileAdjustments)
.rcExpo8 = 0, .rcExpo8 = 0,
.thrMid8 = 0, .thrMid8 = 0,
.thrExpo8 = 0, .thrExpo8 = 0,
.rollPitchRate = 0, .rates = {0,0,0},
.yawRate = 0,
.dynThrPID = 0, .dynThrPID = 0,
.tpa_breakpoint = 0 .tpa_breakpoint = 0
}; };