sylvandb / gruvin9x

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

source of mix is Channel with FlightPhases #80

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What Version of the firmware are you running?
I try both r1299 firmware and frsky
*SVN:firmware-r1299 

What steps will reproduce the problem?
1. load attached eeprom.bin
2. switch FlightPhases0,1,2 with ID0,1,2
3. ch2 is fading between FPs as expected
4. but ch5 is moving like crazy and ch5 mix is +100%ch2

What is the expected output? What do you see instead?
When Channel is a source of mix, have same output on this mix.

What version of the product are you using? On what operating system?
r1299 on linux simu and TX.

Please provide any additional information below.
same behavior on simu and TX.

Original issue reported on code.google.com by gbir...@gmail.com on 7 Dec 2011 at 2:47

Attachments:

GoogleCodeExporter commented 8 years ago
to show the effect, in step 2, please move Channel2 stick to some position out 
of center . (+100 or -100)

Original comment by gbir...@gmail.com on 7 Dec 2011 at 3:03

GoogleCodeExporter commented 8 years ago

Original comment by bson...@gmail.com on 8 Dec 2011 at 2:03

GoogleCodeExporter commented 8 years ago
Ok, reproduced on companion9x too :)

Original comment by bson...@gmail.com on 8 Dec 2011 at 9:25

GoogleCodeExporter commented 8 years ago
Solved. Should be automatically solved in companion9x too, since it has links 
to this project instead of duplicating the whole code.

This correction will be improved later (trunk only) for a better performance (I 
really don't like this static chans array which needs the whole perOut to be 
called twice in case a mix depends on another channel).

Hopefully tomorrow.

Original comment by bson...@gmail.com on 8 Dec 2011 at 9:48

GoogleCodeExporter commented 8 years ago
Thanks. It's solved for maximum of two subsequent mixes (seen in code).
Thinking it's enough, because subsequent mix is used only when we need save 
memory by using one complex mix on more channels. And we can't use more of them 
because there is not enough channels. (maybe you with PCBv4) 

CH or MX our choice

Original comment by gbir...@gmail.com on 8 Dec 2011 at 11:15