mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-02 10:24:11 +01:00
GCS-Made rate Kd roll and pitch link when checkbox is checked.
This commit is contained in:
parent
f9eb82478b
commit
4003cd70a8
@ -135,6 +135,14 @@ void ConfigStabilizationWidget::processLinkedWidgets(QWidget * widget)
|
|||||||
{
|
{
|
||||||
m_stabilization->RateRollILimit_2->setValue(m_stabilization->RatePitchILimit->value());
|
m_stabilization->RateRollILimit_2->setValue(m_stabilization->RatePitchILimit->value());
|
||||||
}
|
}
|
||||||
|
else if(widget== m_stabilization->RollRateKd)
|
||||||
|
{
|
||||||
|
m_stabilization->PitchRateKd->setValue(m_stabilization->RollRateKd->value());
|
||||||
|
}
|
||||||
|
else if(widget== m_stabilization->PitchRateKd)
|
||||||
|
{
|
||||||
|
m_stabilization->RollRateKd->setValue(m_stabilization->PitchRateKd->value());
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if(m_stabilization->checkBox_8->checkState()==Qt::Checked)
|
if(m_stabilization->checkBox_8->checkState()==Qt::Checked)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user