Radio mixing

https://groups.google.com/group/uavdevboard-dev

Radio mixing
poster Daniel

One last, but very important point is that using F_HOVER in a waypoint list or logo program is horribly dangerous, since it does not actually control the throttle to maintain altitude. So it will point the nose up, and try to keep it that way, but depending on other settings of options, may fly up super high, or lose altitude and become very unstable. I strongly suggest removing HOVER from you flightplan, unless you're ready to babysit it and switch to manual mode if necessary to recover.

--- 7 We have put much thought into this topic already. Any airframe that uses both a differential opposing movement (aileron + differential) combined with a common mode movement (camber) will have problems. The autopilot needs to know about roll and camber commands, not left aileron and right aileron. Finding the roll signal from the pre-mixed servo signals is not easy. The solution is to move the mixing from your radio transmitter and put it after the autopilot.

There are two different solutions that two of us have implemented.

Ric has a very nice setup on his Proxima using an external mixer module called channelwizard by fpkiwi. https://bitbucket.org/fpvkiwi/channel-wizard/wiki/Home This module has a scripting language that is used to do the mixer setup. It interfaces with the radio in PPM which keeps things tidy. Ric made some excellent documentation around this. I could not find it now but I hope that he can post a link to it.

I am using a UDB4 based field programmable mixer called FlexiFunctions. This has a multiplatform GUI for editing settings and storing them to eeprom. I have been using it to fly this 10 channel FH glider. https://picasaweb.google.com/101029894981212633965/BarkabyFlying29041... I am using a Hitec Aurora 9 channel radio. With this setup, I am only using 7 channels. Roll, flap,yaw,camber,brake,throttle,mode. There is no limitation on maximum number of input channels.

You will find the open source FlexiFunctions firmware to replace the standard mixing in the branch here: http://code.google.com/p/gentlenav/source/browse/#svn%2Fbranches%2FMa...

The GUI software and wiki can be found here: http://code.google.com/p/pyfedit/ http://code.google.com/p/pyfedit/wiki/HowToEdit

Flexifunctions has some health warnings: 1. It is quite experimental with only one user (me) but has had some reasonably long real and virtual flight testing. 2. You must use mavlink. 3. You need to use the eeprom drivers to do field programming. 4. GUI installation is not simple on Windows but quite simple on linux. 5. The GUI will take some getting used to.

I have also been flying a MPX Cularis and the example project is available on the pyfedit repository.

Regards Matt