kawal547 / open9x

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

Adjust REx custom function #173

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
As rotary encoders are relative, it would be nice to be able to define their 
setting externally, for example to set them properly at startup (ONm Adjust REa 
34), or to set them to equal a value it will be used to adjust in flight (this 
post made me think of it: 
http://9xforums.com/forum/viewtopic.php?f=45&t=2419&p=33844#p33843) this way:
THRm Adjust REa GV1
THR Adjust GV1 REa

That way by flipping the switch the encoder allows adjusting GV1, BUT without 
first making it jump to whatever REa was set to, it first gets set to the 
current GV1 value.

Original issue reported on code.google.com by bernet.a...@gmail.com on 26 Dec 2012 at 10:03

GoogleCodeExporter commented 8 years ago
Add trims too!

Original comment by bernet.a...@gmail.com on 26 Dec 2012 at 10:20

GoogleCodeExporter commented 8 years ago
That's great :)
So, why not considering "RE" only as relative for inflight setting ? So, when 
applying "RE" to a value "V", you simply have :
- one function : THR Adjust GV1 REa
- this calculus : V = V + RE, with RE = 0 when starting the inflight setting
That's how works the inflight setting on Multiplex's radios.

Original comment by f.ague...@wanadoo.fr on 11 Jan 2013 at 1:49