1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-29 14:52:12 +01:00

MultirotorConfig, Bugfix: no default mixer values set for Tricopter;

setting defaults now to roll(100), pitch(100), yaw(50)
This commit is contained in:
Mike LaBranche 2012-06-26 16:34:36 -07:00
parent fc5d0a0175
commit 94ba42a3a9

View File

@ -93,6 +93,10 @@ void ConfigMultiRotorWidget::setupUI(QString frameType)
enableComboBox(uiowner, QString("multiMotorChannelBox%0").arg(i), true);
}
m_aircraft->mrRollMixLevel->setValue(100);
m_aircraft->mrPitchMixLevel->setValue(100);
m_aircraft->mrYawMixLevel->setValue(50);
m_aircraft->triYawChannelBox->setEnabled(true);
}
else if (frameType == "QuadX" || frameType == "Quad X") {
@ -104,6 +108,7 @@ void ConfigMultiRotorWidget::setupUI(QString frameType)
enableComboBox(uiowner, QString("multiMotorChannelBox%0").arg(i), true);
}
// init mixer levels
m_aircraft->mrRollMixLevel->setValue(50);
m_aircraft->mrPitchMixLevel->setValue(50);
m_aircraft->mrYawMixLevel->setValue(50);