|
|
|||||||||||||||
|
|
OpenAero open-source stabilisation software for KK boards
UPDATE: V1.14.2 files to fix Hybrid PWM now released. These replace the V1.14.1 files for Hybrid PWM mode only.
You can now find the files on the OpenAero Google Code page UPDATE: Please read the OpenAero User Guide for everything you ever wanted to know ![]() Introduction OpenAero is an open source aeroplane stabilising software for KK-type boards. It has all the features commonly requested, an LCD menu and even the MultiWii GUI interface. It's now released as V1.14. For those interested in the code, you can see it at the following .repo. https://nextcopterplus.googlecode.co...trunk/OpenAero GUI Have made a new GUI version similar to that of the NeXtcopter project but with proper aeroplane mode and all the copter stuff removed. In non-stabilised mode the board just passes the RC values through to the servos and in stability mode the board uses the gyros to dampen any unwanted rotation. Autolevel mode will direct the model back to whatever level position you set up when the accelerometer is calibrated, and trimmed on the field via the LCD or GUI. For conventional PWM receivers (via four cables) I have updated the code so that you are able to select Autolevel mode and/or Stability mode via the former throttle input. The default is for that channel to just switch stability on and off with Autolevel disabled, but you can configure the switch via either power-on stick positions or LCD to also switch in Autolevel as well and/or leave stability on permanently if desired. Here's a shot of the new V0.2 GUI for the OpenAero. This example shows a model in Flaperon mode (two stabilised servos per wing). ![]() Features Depending on what type of KK board, and which add-ons you have fitted to them, these are the available features. - Support for Standard, Flying Wing and Flaperon-equipped models - Auto arming - Switchable stability mode - LCD support for setting flight parameters - GUI for setting parameters and visualising sensors and stability - LCD Menu selectable features P + I gain- Lost model alarm* - In CPPM mode the throttle signal is decoded and passed back out via the THR pin to be connected to an ESC + motor - Vertical board orientation compile option - Flying Wing mode - Stick centering on power-up via Yaw pot - Adjustable gain via pots or LCD based on a preset - defaults to pots Roll pot will adjust Roll and Pitch gain (P-term)- Gyro direction can be reversed by setting the Roll pot to zero and using the TX sticks - Support for CPPM receivers - Switchable auto-level mode - Additional Menu selectable features Accelerometer pitch and roll trim* Needs KK+ board Connection diagram - PWM Aeroplane V1.14 ![]() Connection diagram - CPPM Aeroplane V1.14 ![]() Connection diagram - HHybrid PWM Aeroplane V1.14 ![]() Connection diagram - N6 CPPM Aeroplane V1.13 ![]() Connection diagram - N6 Aeroplane V1.13 ![]() Connection diagram - N6 FlaperonV1.13 ![]() Videos fpvguy's test of the new HYBRID PWM mode which allows full five-channel flaperon control with a standard PWM receiver.
This is mrfliboy's test flight of the V1.10 beta firmware
Here's a video I found on YouTube on a guy using V1.11 on a Bixler.
A really cool video from Brazil showing a model battling strong wind
Here's a video that NDw made of his first flight of the code:
Here's a great video of eyeinsky1 flying his FPV model in aeroplane mode
Here's a quick look at the LCD menu and GUI
Code change log V1.14.2 Updates: - Bugfix for jitter in Hybrid PWM mode. V1.14.1 Updates: - Bugfix for stability switch and flaperons in V1.14. Oops. Files You can now find the files on the OpenAero Google Code page. Your Support OpenAero is a open-source project and is free, however it is also the result of many hundreds of hours of hard work. If you feel motivated to donate to the project please feel free. I'm always happy to make special versions for people.
|
||||||||||||||
|
|
|
|
|
|
|
I think you may have said it earlier, but did you lower the refresh rate on the servos? I also see that in CPPM mode you can "arm" or "disarm" the stabilization etc. Do you think this ability to turn off the stabilization will be available for regular Rx units? Maybe that is what it means and I could be making an idiot of myself.....wouldn't be the first time.
|
|
|
|
|
||
|
|
Quote:
Cheers Jerry |
|
|
||
|
|
||
|
|
Quote:
The only way to do it with a "regular" RX would be to use an existing channel. The throttle is usually used for the motor in all but gliders. Some flying wings have no rudder, but it's hardly something you could hope for for all models. Unfortunately the KK has only four inputs. I like to keep the throttle connected to the board as it acts as in interlock to stop things like GUI or LCD mode somehow activating during flight. With CPPM you have 8 channels ready to play with. And RX's are pretty cheap
|
|
|
||
|
|
||
|
|
Quote:
The GUI is Java based and *extremely* CPU hungry. You must have nothing else running and a fairly grunty CPU for it to run smoothly. That's out of my control unfortunately. It should run very smoothly under the right conditions. You can see a few videos of it on the NeXtcopter thread. The values all change... just click on them and drag the mouse left or right. Also, remember that you can use the pots to up the gyro rate as they have priority unless you switch them off via the LCD. When I tried it last night I found the gyros quite exessive at anything more than the middle pot setting. @Everyone I'd love it if people (particularly with flying wings) could tell me how they find the gyro polarity. I hope to release V1.06 tonight with the reversible gyros, corrected Flying Wing mixing and a few other things. I do have a delta slope soarer I wil try it on myself also. Thanks! Update: Oh boy - the flying wing mixing is indeed totally screwed up lol I have it connected to my flying wing slope model and it's just...wrong. Will be fixed very soon
|
|
|
|
||
|
|
Quote:
On the advanced one you can just switch off the stability control and the signals are passed through. If the KK board fails it's game over regardless. |
|
|
||
|
|
||
|
Ireland, Limerick, Kilmallock
Joined Aug 2010
2,123 Posts
|
Quoting from the other thread
Quote:
Thanks for the detailed steps in trying to get things working right. I didn't even think of swapping the servos on the board. I've loaded veriosn 1.06 and everything is going right ioncluding the gyro direction up until " If not, well that's a problem for a flying wing as you can't change the servos without upsetting the elevator function. Tell me if this is the case and I will make a version with JUST the roll gyro reversed. Then it will definitely be right "The roll gyro is going in the wrong direction ![]() Edit, but only on the right aileron. THe left one is right(I think, it is sometimes hard to test the roll gyro without acidently pitching the plane( Edit again; yes it def seems the left one is right and and the right one is wrong))! |
|
|
|
|
|
|
So if the roll gyro works on one side but not the other, that means both sides move the same way with gyro input? And they also move the same way for elevators then? That seems very odd.
Can you ignore that long explanation I wrote earlier and just connect the left side (viewed from behind) to M3 and the right to M5. When I tried it myself today I remembered how much of a challenge it is to set up. Everything interacts with each other and the board has to be oriented correctly. I know 1.06 can be set up as I was able to do so myself. I did have to fiddle with TX Channel reversing though. |
|
|
|
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Discussion CL-OSD a open source osd software for E-OSD and G-OSD | callelj | Video Piloting (FPV/RPV) | 2759 | Today 02:57 AM |
| Discussion NeXtcopterPlus open-source release for KK and KK+ boards | HappySundays | Multirotor Electronics | 812 | Jan 09, 2013 03:10 PM |
| Discussion KK Open source programing | eyeinsky1 | Multirotor Talk | 4 | Dec 30, 2011 03:02 PM |
| Discussion Rob's Open Source Frame for KK & MK | Rober-t | Multirotor Talk | 1 | Dec 07, 2011 07:31 AM |
| Discussion Interesting open-source stabilisation device! | Hogster | Aerial Photography | 0 | Apr 03, 2008 08:02 PM |