1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-19 06:15:16 +03:00

moving towards custom mixer table and proper fixedwing mixer.

refactored all of mixer.c to use tables instead of hardcoded mix.
custom mixer is stored in flash, but currently has no UI to configure it.
do not choose mixer CUSTOM in console.

hover-tested QUADX, if upgrading anything else, please carefully check motor response first, preferably without props on heavy models.
tec

git-svn-id: https://afrodevices.googlecode.com/svn/trunk/baseflight@206 7c89a4a9-59b9-e629-4cfe-3a2d53b20e61
This commit is contained in:
timecop@gmail.com 2012-09-05 23:44:55 +00:00
parent fef43457c0
commit 98cba890e1
4 changed files with 2865 additions and 2822 deletions

View file

@ -13,7 +13,7 @@ config_t cfg;
const char rcChannelLetters[] = "AERT1234";
static uint32_t enabledSensors = 0;
uint8_t checkNewConf = 27;
uint8_t checkNewConf = 28;
void parseRcChannels(const char *input)
{
@ -196,6 +196,10 @@ void checkFirstTime(bool reset)
// serial (USART1) baudrate
cfg.serial_baudrate = 115200;
// custom mixer
for (i = 0; i < MAX_MOTORS; i++)
cfg.customMixer[i].throttle = 0.0f;
writeParams(0);
}