|
| Thread Tools |
| This thread is privately moderated by HappySundays, who may elect to delete unwanted replies. |
|
|
|
|
|
OpenAero32 on AfroFlight32 hardware
OpenAero32 Alpha 1.2 released
Change log:
Release notes: Mag hold now works. Don't forget to enter a value for Mag P[] otherwise you will get no rudder deflection. To try the new drag rudder mixer, type "mixer fw_drag" in the CLI. Don't forget to do a stick calibration with "cal sticks" too. Outputs:
What is OpenAero32? OpenAero firmware has matured the point that it fills the needs of most aeroplane and camera stability applications, but is constrained by the 8-bit hardware of the Atmel range and the complete lack of hardware PWM etc. OpenAero32 will be completely free from these constraints. Required software tools Android and Windows-based GUI by nicodh Android version: http://www.rcgroups.com/forums/showthread.php?t=1667520 Windows version: http://www.rcgroups.com/forums/showthread.php?t=1667516 Also a terminal emulator program such as Hercules or Hyperterminal will be required. Source code is available at http://code.google.com/p/nextcopterplus/ in the 'OpenAero32' directory. OpenAero32 user guide (preliminary) http://code.google.com/p/nextcopterp...ro32_UserGuide Naze32 manual: http://www.abusemark.com/downloads/naze32_rev1.pdf READ THIS FIRST: At a minimum, after loading OpenAero32 you will have to set up the following: 1. Enable CPPM with "feature PPM" if needed. 2. Set the channel order with the "map" command. 3. Set the channel for a second aileron if used. 4. Set the flapmode to match your TX setup. See user guide for details. 5. Set a flap channel. See user guide. 6. Calibrate the acc for autolevel with "cal acc" in the flying attitude. 7. Calibrate the sticks in the flying position with "cal sticks". 8. Set any servo trims to neutral with "S[servo number]_trim = [whatever]". Do NOT use your TX trims. 9. Set the stability and autolevel triggers using the GUI Only then will you have something you can test/play with. DO NOT USE: 1. Any GPS functionality 2. Any baro functionality ...as your model will likely crash, catch fire and burn to ash. WARNING: OpenAero32 is always armed. As such, make sure you have any props off when setting up. This code has not been flight tested. Use at your own risk. Files |
|
|
|
|
|
|
Joined Sep 2010
2,263 Posts
|
Yeah that imu I linked to has the same sensors so it should work (remember my afro has just stm32+mpu3050), with the addition of that imu I will get all the other sensors (and of course disable that 4200 lousy gyro).
Openlrs has also the function of telemetry, they call it "transparent serial bridge", so maybe it could also transfer the info the FC will give to it. What about that thing, that it would look for valid signal on throttle of 9x receiver, and if no signal it initiates rth? If I may offer some ideas for further functions (when basics will be already stable): - geofencing could be interesting (http://code.google.com/p/ardupilot-mega/wiki/GeoFencing) Are you going to add support for a airspeed sensor too? ( http://store.diydrones.com/Breakout_...br-0004-03.htm ) |
|
|
||
|
|
Quote:
You'd have to have a specfic pitot tube arrangement and I'd imagine it'd be less accurate than gps? I don't plan to add any more device drivers, just port the OpenAero functionality and have the CLI GUI updated to allow setup of all the variables. |
|
|
||
|
|
|
|
Joined Sep 2010
2,263 Posts
|
Yeah I meant this kit with pitots: https://store.diydrones.com/Kit_MPXV...v7002dp-01.htm
Its very important to know airspeed..And its very precise...Arduplane uses it...Here is an example, as you know gps measures groundspeed...it doesn't take wind into effect, while this sensor does..So it can prevent stalls. |
|
|
|
|
|
|
|
Well I just pulled out the sonar code as that seemed surely pointless for an aeroplane. I don't think it works very well anyway. Everything else is there.
No plans to touch any other sensors. The code is based on the latest r205 release but it branches from here on. I can't keep updating it from baseflight although others are welcome to. |
|
|
|
|
|
|
|
I have not tried GPS yet. I have an MTK module I bought from Adafruit recently.
http://adafruit.com/products/746 |
|
|
|
| Thread Tools | |
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| New Product zeroGravity - An STM32 Flightcontroller based on PIPO32 hardware | Jessestr | Multirotor Talk | 40 | Jun 25, 2012 08:18 PM |
| Sold AfroFlight32 FC Board UK | telfel | Aircraft - Electric - Multirotor (FS/W) | 1 | May 02, 2012 10:20 AM |
| Poll Hardware vs. No Hardware | patternpilot1 | Slope | 31 | Mar 06, 2012 11:08 PM |
| Sold AfroFlight32 ~ without mag ~ | timecop | Aircraft - Electric - Multirotor (FS/W) | 6 | Feb 27, 2012 04:35 PM |