1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-03-15 07:29:15 +01:00

Y6 Pitch and Yaw mixer load fix

This commit is contained in:
sambas 2012-10-14 11:22:35 +03:00 committed by PT_Dreamer
parent d25061ac0a
commit 731ac9bc48

View File

@ -696,12 +696,12 @@ void ConfigMultiRotorWidget::refreshWidgetsValues(QString frameType)
if (channel > -1)
{
value = getMixerVectorValue(mixer, channel, VehicleConfig::MIXERVECTOR_PITCH);
m_aircraft->mrPitchMixLevel->setValue( value/1.27 );
m_aircraft->mrPitchMixLevel->setValue( 2*value/1.27 );
channel = m_aircraft->multiMotorChannelBox2->currentIndex() - 1;
value = getMixerVectorValue(mixer, channel, VehicleConfig::MIXERVECTOR_YAW);
setYawMixLevel( value/1.27 );
channel = m_aircraft->multiMotorChannelBox2->currentIndex() - 1;
value = getMixerVectorValue(mixer, channel, VehicleConfig::MIXERVECTOR_ROLL);
m_aircraft->mrRollMixLevel->setValue( value/1.27);
}