You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am working on a collection of drone games, and test users are suggesting that I add super rates to mimic drone settings from their BF configs. Primarily for freestyle fliers.
I know how expo rates are applied, by simply squaring the stick values of (-1 to 1) resulting in a parabolic curve and applying negatives to negative stick values. So if a users sets expo to 1, we use stick = stick ^ (1 + expo), and reapply negative value if stick was negative.
I need to know what the formula is for Super rates. If BF shows a value range of 0 to 1, how is that applied to the stick and or expo rates?
I tried looking through all the source, and was not able to find how this is actually applied, since it is the flight controller that actually applies the data. BF would only use the formula to draw the rates graphs and I cannot find how super rates are applied. Since my app is not connected to any hardware, I have to manually simulate proper application of super rates.
If anyone can break down the formula for me, that would be greatly appreciated. An explanation of rate and rc_rate would also help to know which is regular expo and which is super rate.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hello,
I am working on a collection of drone games, and test users are suggesting that I add super rates to mimic drone settings from their BF configs. Primarily for freestyle fliers.
I know how expo rates are applied, by simply squaring the stick values of (-1 to 1) resulting in a parabolic curve and applying negatives to negative stick values. So if a users sets expo to 1, we use stick = stick ^ (1 + expo), and reapply negative value if stick was negative.
I need to know what the formula is for Super rates. If BF shows a value range of 0 to 1, how is that applied to the stick and or expo rates?
I tried looking through all the source, and was not able to find how this is actually applied, since it is the flight controller that actually applies the data. BF would only use the formula to draw the rates graphs and I cannot find how super rates are applied. Since my app is not connected to any hardware, I have to manually simulate proper application of super rates.
If anyone can break down the formula for me, that would be greatly appreciated. An explanation of rate and rc_rate would also help to know which is regular expo and which is super rate.
Beta Was this translation helpful? Give feedback.
All reactions