Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New logic conditions operators #4561

Merged
merged 3 commits into from
Mar 30, 2019

Conversation

DzikuVx
Copy link
Member

@DzikuVx DzikuVx commented Mar 29, 2019

@hali9 please take a look
This should solve #4550 and make #4533 obsolete

@DzikuVx DzikuVx added this to the 2.2 milestone Mar 29, 2019
@hali9
Copy link
Contributor

hali9 commented Mar 29, 2019

Ok, work well. But need 11 conditions.

logic 0 1 2 1 10 0 1200 0
logic 1 1 3 1 10 0 1401 0
logic 2 1 7 3 0 3 1 0 #ch10 (1200,1400) -> spoilers
#(1400,1600) -> neutral
logic 3 1 2 1 10 0 1600 0
logic 4 1 3 1 10 0 1801 0
logic 5 1 7 3 3 3 4 0 #ch10 (1600,1800) ->small flaps
logic 6 1 2 1 10 0 1800 0
logic 7 1 3 1 10 0 2001 0
logic 8 1 7 3 6 3 7 0 #ch10 (1800,2000) ->full flaps
logic 9 1 8 3 2 3 5 0 #
logic 10 1 8 3 5 3 8 0 #

smix 6 4 29 40 0 9 #spoilers mix
smix 7 5 29 -40 0 9
smix 8 4 29 -60 0 10 #flaps mix
smix 9 5 29 60 0 10

when condition 9 and 10 remove, also work:

smix 6 4 29 40 0 2 #spoilers
smix 7 5 29 -40 0 2
smix 8 4 29 -20 0 5 #small flaps
smix 9 5 29 20 0 5
smix 10 4 29 -60 0 8 #full flaps
smix 11 5 29 60 0 8

@DzikuVx DzikuVx merged commit 94a1ab3 into development Mar 30, 2019
@DzikuVx DzikuVx deleted the dzikuvx-logic-conditions-improvements branch March 30, 2019 18:03
This was referenced Mar 30, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants