Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 6676a11

Browse files
Merge pull request #473 from klutvott123/level-limit
Add level angle limit
2 parents d176a27 + 7bf0f04 commit 6676a11

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

‎src/SCRIPTS/BF/PAGES/pid_advanced.lua

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,14 @@ local inc = { x = function(val) x = x + val return x end, y = function(val) y =
1111
local labels = {}
1212
local fields = {}
1313

14+
if apiVersion >= 1.31 then
15+
labels[#labels + 1] = { t = "Angle/Horizon", x = x, y = inc.y(lineSpacing) }
16+
fields[#fields + 1] = { t = "Angle Limit", x = x + indent, y = inc.y(lineSpacing), sp = x + sp, min = 10, max = 90, vals = { 18 } }
17+
if apiVersion < 1.36 then
18+
fields[#fields + 1] = { t = "Stick Sensitivity", x = x + indent, y = inc.y(lineSpacing), sp = x + sp, min = 10, max = 200, vals = { 19 } }
19+
end
20+
end
21+
1422
if apiVersion >= 1.40 then
1523
labels[#labels + 1] = { t = "Acro Trainer", x = x, y = inc.y(lineSpacing) }
1624
fields[#fields + 1] = { t = "Angle Limit", x = x + indent, y = inc.y(lineSpacing), sp = x + sp, min = 20, max = 80, vals = { 32 } }

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /