souldiver / open9x

Automatically exported from code.google.com/p/open9x
0 stars 0 forks source link

Gvars with programmable Range #196

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Which board (stock / gruvin9x / sky9x) are you using?
Board with more flash ram eeprom
What is your open9x FW version?
r1855
What is your open9x EEPROM version?
212-1
What steps will reproduce the problem?
imporvements:
Gvars and potis should be have a Programmable Range
I know normal we can set the Range with Offset and Weight, but this needs 
allways a mixerline  x=(source+offset)*weight

but often we need a pre programmed Range example Poti 0 to 25%
so Gvars menu should be 
Gvars   Name   Min  Max  Start
GV1     xyza    0    50    25
GV2     abcd    -25  50    15
GV3     defg    -125 125   0

P1             -100  100
P2              0    25

same for Potis
so we can use this type at more source and dont need a mixer line

What is the expected output? What do you see instead?

Please provide any additional information below.

Original issue reported on code.google.com by hrenz62...@aol.com on 9 Feb 2013 at 4:34

GoogleCodeExporter commented 8 years ago
Issue accepted for GVARs, but for the moment, I don't see the point for the pots

Original comment by bson...@gmail.com on 9 Feb 2013 at 6:40

GoogleCodeExporter commented 8 years ago

Original comment by bson...@gmail.com on 11 Feb 2013 at 7:21

GoogleCodeExporter commented 8 years ago
That seems to be very complicated with flight phases, as there will be a lot af 
value for each GVAR (1 value per phase and min/max values), and the min/max 
value can't be necessarily the same depending of the flight phase.

Examples on gliders, on which GVARs avec very usefull :
- differential of ailerons : for speed flying you need around 10% to 20% of 
differentiel, but around 50% to 60% for thermal or slow flying.
- wing camber : in extrele case, nearly full travel, depending of the flight 
phase

For my use, I would prefer having no min/max, because I will have to set it to 
-100%/+100% nearly all time...

If Bertrand want to implement this, I would suggest to to it not in GVARs menu 
but in "custom function" menu, wherein a potentiometer is attached to a GVAR 
for its setting. This would be more consistent, because min/max limits of a 
GVAR is only relative to its setting by a custom function.

Original comment by f.ague...@wanadoo.fr on 11 Feb 2013 at 2:41

GoogleCodeExporter commented 8 years ago
Yes it makes sense having it in Custom Functions menu, I do agree.

Original comment by bson...@gmail.com on 11 Feb 2013 at 2:45

GoogleCodeExporter commented 8 years ago
I agree too. "Adjust GVx Source Min Max"

Original comment by bernet.a...@gmail.com on 17 Feb 2013 at 3:15

GoogleCodeExporter commented 8 years ago
For the moment it will be available on Taranis only.

Original comment by bson...@gmail.com on 4 Apr 2013 at 8:19