From f18953badd0f78ba0d03fcdf2d8e97f02d9ddebd Mon Sep 17 00:00:00 2001 From: TheAngularity Date: Sat, 9 Jul 2016 17:51:50 +0200 Subject: [PATCH 1/4] Update receiver.css Change height of model preview to align aux channel without blank spaces --- tabs/receiver.css | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabs/receiver.css b/tabs/receiver.css index 8dea0243..40b62121 100644 --- a/tabs/receiver.css +++ b/tabs/receiver.css @@ -436,7 +436,7 @@ .tab-receiver .model_preview_cell { position: relative; width: 100%; - height: 220px; + height: 180px; } .tab-receiver .model_preview { From 863b54bf03e57d486b687d952c145de701b53527 Mon Sep 17 00:00:00 2001 From: TheAngularity Date: Sat, 9 Jul 2016 18:00:01 +0200 Subject: [PATCH 2/4] Update pid_tuning.css Change height of model preview to align with tpa / tpa breakpoint; fixed bottom border from model preview --- tabs/pid_tuning.css | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/tabs/pid_tuning.css b/tabs/pid_tuning.css index c5e27520..cba9d9ed 100644 --- a/tabs/pid_tuning.css +++ b/tabs/pid_tuning.css @@ -589,8 +589,7 @@ .tab-pid_tuning .rates_preview_cell { position: relative; width: 100%; - height: 0; - padding-bottom: 100%; + height: 320px; } .tab-pid_tuning .rates_preview { @@ -606,5 +605,4 @@ margin-top: -1px; border-bottom-left-radius: 5px; border-bottom-right-radius: 5px; - height: 260px; } From 500bbbb28cfa551041791c60ec5ce3b30974bfa5 Mon Sep 17 00:00:00 2001 From: TheAngularity Date: Sat, 9 Jul 2016 19:46:36 +0200 Subject: [PATCH 3/4] Update pid_tuning.html - Edited the order Angle and Horizon - fix to read and store correct pid level values --- tabs/pid_tuning.html | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/tabs/pid_tuning.html b/tabs/pid_tuning.html index 01f7d03b..7f05515b 100755 --- a/tabs/pid_tuning.html +++ b/tabs/pid_tuning.html @@ -203,17 +203,16 @@ - - - - - - + + + + + + - From c4f412c6031e94fe5c2f121861dfa50e9d7a2e43 Mon Sep 17 00:00:00 2001 From: TheAngularity Date: Sat, 9 Jul 2016 19:49:51 +0200 Subject: [PATCH 4/4] Update pid_tuning.js fix to read and store correct pid level values --- tabs/pid_tuning.js | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/tabs/pid_tuning.js b/tabs/pid_tuning.js index e7b35e46..98592932 100755 --- a/tabs/pid_tuning.js +++ b/tabs/pid_tuning.js @@ -145,18 +145,18 @@ TABS.pid_tuning.initialize = function (callback) { }); i = 0; - $('.pid_tuning .HORIZON input').each(function () { + $('.pid_tuning .ANGLE input').each(function () { switch (i) { case 0: $(this).val(PIDs[7][i++]); break; + } + }); + $('.pid_tuning .HORIZON input').each(function () { + switch (i) { case 1: $(this).val(PIDs[7][i++]); break; - } - }); - $('.pid_tuning .ANGLE input').each(function () { - switch (i) { case 2: $(this).val(PIDs[7][i++]); break; @@ -267,10 +267,10 @@ TABS.pid_tuning.initialize = function (callback) { }); i = 0; - $('table.pid_tuning tr.HORIZON input').each(function () { + $('table.pid_tuning tr.ANGLE input').each(function () { PIDs[7][i++] = parseFloat($(this).val()); }); - $('table.pid_tuning tr.ANGLE input').each(function () { + $('table.pid_tuning tr.HORIZON input').each(function () { PIDs[7][i++] = parseFloat($(this).val()); });