Add custom mixer configuration for AllienWii32
The preconfigured custom mixer allows clean cabling for Octocopter builds with the AlienWii32 board
This commit is contained in:
parent
7369aac4d7
commit
2499e39e5a
|
@ -450,6 +450,54 @@ static void resetConf(void)
|
|||
currentControlRateProfile->rollPitchRate = 20;
|
||||
currentControlRateProfile->yawRate = 60;
|
||||
parseRcChannels("TAER1234", &masterConfig.rxConfig);
|
||||
|
||||
// { 1.0f, -0.5f, 1.0f, -1.0f }, // REAR_R
|
||||
masterConfig.customMixer[0].throttle = 1.0f;
|
||||
masterConfig.customMixer[0].roll = -0.5f;
|
||||
masterConfig.customMixer[0].pitch = 1.0f;
|
||||
masterConfig.customMixer[0].yaw = -1.0f;
|
||||
|
||||
// { 1.0f, -0.5f, -1.0f, 1.0f }, // FRONT_R
|
||||
masterConfig.customMixer[1].throttle = 1.0f;
|
||||
masterConfig.customMixer[1].roll = -0.5f;
|
||||
masterConfig.customMixer[1].pitch = -1.0f;
|
||||
masterConfig.customMixer[1].yaw = 1.0f;
|
||||
|
||||
// { 1.0f, 0.5f, 1.0f, 1.0f }, // REAR_L
|
||||
masterConfig.customMixer[2].throttle = 1.0f;
|
||||
masterConfig.customMixer[2].roll = 0.5f;
|
||||
masterConfig.customMixer[2].pitch = 1.0f;
|
||||
masterConfig.customMixer[2].yaw = 1.0f;
|
||||
|
||||
// { 1.0f, 0.5f, -1.0f, -1.0f }, // FRONT_L
|
||||
masterConfig.customMixer[3].throttle = 1.0f;
|
||||
masterConfig.customMixer[3].roll = 0.5f;
|
||||
masterConfig.customMixer[3].pitch = -1.0f;
|
||||
masterConfig.customMixer[3].yaw = -1.0f;
|
||||
|
||||
// { 1.0f, -1.0f, -0.5f, -1.0f }, // MIDFRONT_R
|
||||
masterConfig.customMixer[4].throttle = 1.0f;
|
||||
masterConfig.customMixer[4].roll = -1.0f;
|
||||
masterConfig.customMixer[4].pitch = -0.5f;
|
||||
masterConfig.customMixer[4].yaw = -1.0f;
|
||||
|
||||
// { 1.0f, 1.0f, -0.5f, 1.0f }, // MIDFRONT_L
|
||||
masterConfig.customMixer[5].throttle = 1.0f;
|
||||
masterConfig.customMixer[5].roll = 1.0f;
|
||||
masterConfig.customMixer[5].pitch = -0.5f;
|
||||
masterConfig.customMixer[5].yaw = 1.0f;
|
||||
|
||||
// { 1.0f, -1.0f, 0.5f, 1.0f }, // MIDREAR_R
|
||||
masterConfig.customMixer[6].throttle = 1.0f;
|
||||
masterConfig.customMixer[6].roll = -1.0f;
|
||||
masterConfig.customMixer[6].pitch = 0.5f;
|
||||
masterConfig.customMixer[6].yaw = 1.0f;
|
||||
|
||||
// { 1.0f, 1.0f, 0.5f, -1.0f }, // MIDREAR_L
|
||||
masterConfig.customMixer[7].throttle = 1.0f;
|
||||
masterConfig.customMixer[7].roll = 1.0f;
|
||||
masterConfig.customMixer[7].pitch = 0.5f;
|
||||
masterConfig.customMixer[7].yaw = -1.0f;
|
||||
#endif
|
||||
|
||||
// copy first profile into remaining profile
|
||||
|
|
Loading…
Reference in New Issue