1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2025-01-31 16:52:10 +01:00

Merged in f5soh/librepilot/LP-258_Realtime_update_lock_tabs (pull request #200)

LP-258 Unlock stabilization tabs while realtime update running
This commit is contained in:
Lalanne Laurent 2016-04-02 16:48:26 +02:00
commit 8e1f7c5f61

View File

@ -255,7 +255,7 @@ void ConfigStabilizationWidget::refreshWidgetsValues(UAVObject *o)
// Check and update basic/advanced checkboxes only if something connected // Check and update basic/advanced checkboxes only if something connected
// Jump to advanced tab if something not "basic": Rate value out of slider limits or different Pitch/Roll values // Jump to advanced tab if something not "basic": Rate value out of slider limits or different Pitch/Roll values
if (ui->lowThrottleZeroIntegral_8->isEnabled()) { if (ui->lowThrottleZeroIntegral_8->isEnabled() && !realtimeUpdates->isActive()) {
if ((ui->attitudeRollResponse->value() == ui->attitudePitchResponse->value()) && if ((ui->attitudeRollResponse->value() == ui->attitudePitchResponse->value()) &&
(ui->rateRollResponse->value() == ui->ratePitchResponse->value()) && (ui->rateRollResponse->value() == ui->ratePitchResponse->value()) &&
(ui->rateRollResponse->value() <= ui->RateResponsivenessSlider->maximum()) && (ui->rateRollResponse->value() <= ui->RateResponsivenessSlider->maximum()) &&