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

Flight Mode Transition Explanation #57

Open
RCdiy opened this issue Sep 26, 2017 · 0 comments
Open

Flight Mode Transition Explanation #57

RCdiy opened this issue Sep 26, 2017 · 0 comments

Comments

@RCdiy
Copy link
Contributor

RCdiy commented Sep 26, 2017

Transitioning (Fade In & Out)

Each flight mode involved in the transition has its values used to calculate the final channel outputs. The two sets of values are then weighted and added together. The weighting is in proportion to the elapsed and remaining time of the transition.

Transition Time - Current Flight Mode Fade Out + Next Flight Mode Fade In
Transition Start 0% - 100% Current Channel Value + 0% Next Channel Value
Transition  25% - 75% Current Channel Value + 25% Next Channel Value
Transition  50% - 50% Current Channel Value + 50% Next Channel Value
Transition Start 100% - 0% Current Channel Value + 100% Next Channel Value


rcdiy 12:09 PM
ty
During transition are the GVAR and trims values weighted and averaged?

projectkk2glider Admin 12:14 PM
Do you mean a transition between flight modes?

rcdiy 12:15 PM
yes

projectkk2glider Admin 12:16 PM
I works like this:

  • lets say you switch between FM1 and FM5
    And transition time is 1 second
    during the transition we calculate all channels for both flight modes - independently
    Then we combine values based on the time of the transition.
    For example for CH1 we take CH1 value from FM1 and CH1 value from FM5
    Then depending on the time both values are mixed/averaged together to give the end CH1 value

In the beginning the formula is 100% CH1(from FM5) + 0% CH1(from FM5)
In the middle 50% CH1(from FM5) + 50% CH1(from FM5)

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

No branches or pull requests

1 participant