Or an autopilot in this case. Something went wrong with the ArduPilot and the AXN Floater dived into the ground from about 50m up.
First, some nice photos from the day, which had perfect flying conditions:
And a video of a couple of ArduPilot stabilised glides down from about 170m. The glide ratio is about 10%, covering 1200-1500m.
Altitude profile of the last flight:
Overall, the AXN Floater was a great plane, I flew it for 2 months getting about 26 sessions and 7 hours of logged flight time. It took about 1 hour of flying over 5 sessions to learn as I was starting from nothing and didn't have anyone to show me the ropes (a bit stupid really, but the plane survived a couple of rebuilds and replaced servos). The eventual battery life was between 15 and 25 minutes (from a 2200mAh 3S LiPo) and it was covering about 15km distance along the ground in a session.
The maximum altitude I flew to was probably about 200m (I logged 183m with the ArduPilot on board) and the cruising speeds were between 30-70km/h on average.
I've no idea what caused the crash, I had some issues while attempting to test the Loiter and RTL modes, but was able to recover from those. At the time of the crash it was flying fairly quickly (throttle nearly wide open) and there was a bit of a wobble/turbulence, then it just turned and dived:
The fuselage was very damaged, broken in a few places including the motor pod, but the wings are salvagable. The main thing stopping me bothering to repair it (for now) is that the receiver antenna was cut (even though I hot-glued it), and since it's a coaxial cable, it's going to be pretty impossible to repair and still guarantee a decent range.
The ArduPilot was protected well by it's pod, though the GPS socket was ripped from the ArduPilot board. Thankfully there are through-the-board holes I can solder it back on to later.
Time to get serious with the QuadCopter now!
Pretty awesome really. Other videos gave the impression it was closer to life-size, it's got a 2m wingspan!
I thought I'd try adding a gyro to my AXN Floater to provide some el-cheapo stabilisation (when I didn't want the ArduPilot onboard).
I found a heading hold gyro from DealExtreme and hoped it would work (the standard HobbyKing 401B one wasn't in stock). It really does come in a "Lithium Polymer Battery" package and had no instructions, but looking around at similar products on the web gives you the general idea of how to use it.
It's attached with double sided foam tape and hooked up inline on the elevator channel and a control channel so I can switch it on and off mid-flight.
The control channel determines how the gyro behaves:
To set this up on the Turnigy 9X transmitter, I did the following:
The above is a bit random, FLP probably should be the master and GYR the slave, but that didn't work for some reason, and ideally you'd use one of the pots to adjust the gain. Using the PIT TRIM directly to control the gain works, but doesn't allow you to quickly find the zero position and switch the gyro off if you need to, so I went with the switch option instead. Someday I may try and program this into the 3 position switch so it had off/rate/heading hold modes.
I haven't flown with it in the wind yet, but expect it should work and it's certainly a cheap and easy experiment.
Just followed along with this tutorial to convert my Turnigy 9X transmitter to use Li-Ion batteries.
I used the 2500mAh batteries from DealExtreme, nice and cheap. Hot-glued them together and soldered on an XT60 connector so I can charge them easily too. They're much bigger than they look in the photos, not AA sized, but they fit in the 9X compartment with no problems.
Overall, the modification seems to have worked fine, the initial voltage reading on the transmitter was 7.9V with the new batteries, after soldering in the 8.2k resistor it now shows 10.2V. Soldering the resistor was a bit tricky, but doable and certainly better than fussing around charging all those NiMH batteries.
A simple version that looks quite nice:
And a deluxe version (that floats, awesome!):
I built a pod from 3mm plywood & hot glue to mount and protect my ArduPilot on my AXN Floater. The box weighed in at about 29g and the entire ArduPilot at about 90g.
I immediately went out to test fly it and this turned out to be a mistake. It was a bit windy and the extra weight meant the plane had to fly too fast for the small field and I crashed into a tree. Thankfully the pod protected the ArduPilot nicely, though the same can't be said for my receiver. Though I didn't notice at the time, the coax antenna cable got a small cut in it, which caused a few problems later as the range was drastically reduced. I gave up and came back the next morning for another go.
The second session went terribly, presumably because of the reduced transmitter range. I switched the ArduPilot into Stabilisation mode at one point and it dived into the ground. Other times the engine would cut out or the throttle would open fully. This all ended in me climbing a tree to retrieve the plane, but nothing was seriously damaged.
Changing tack, I began testing the stabilisation mode by simply throwing the plane in a straight line with low throttle across the field and landing it. This worked fine, but exposed the range issue for what it was.
So, I replaced the receiver with my spare and rebuilt the pod with a bit more protection.
Test flying it this time in better conditions all went much better. Stabilisation mode works like a charm, the Fly-by-wire worked, but was a bit to "tame" with a turning circle that was too large for comfort. I haven't tested the other "more automatic" modes yet, but the data logger is working well.
The following screenshot from Google Earth shows a KML file I generated of the AXN Floater gliding down to a landing:
And with a lot of fiddling around (to synchronise the ArduPilot log with the video) I was able to overlay the stats from the log over the onboard video:
This flight starts nice and high, cuts the engine and then glides down under stabilisation mode to a landing.
It's not really clear to me yet how much the "instrument error" on the video is due to:
I just managed to setup my Turnigy 9X transmitter so I can use a toggle switch and the 3-way switch to select between 6 modes on the ArduPilot. It took a lot of experimenting, and interminable beeping, but it's just about perfect now:
The Turnigy 9X (aka FlySky 9X, iMax 9X ...) transmitter is cheap and works well but has attrocious documentation and menus, add to that my limited experience with radio control and it's a bit of a miracle I figured this out.
While setting this all up, I made constant use of the [DISPLAY] function on the Turnigy 9X to see that the output was getting closer to what I wanted.
Since I wasn't able to find any working information on this elsewhere I'm posting it in the hope it helps other people get their transmitters working nicely with the ArduPilot and so I can do it again if and when I need to.
It should be simple enough to vary these instructions to use a different button/channel too.
There are a couple of downsides to this setup (that I know of, if there are more or you have any improvements, please let me know):
Note: At this point, it's also worth figuring out how to have multiple models saved in the transmitter, so you can switch between the ArduPilot setup and a simple version for flying without the ArduPilot installed. It's easy enough, though editing the names is very tedious.
According to my tech tree, it was the most productive step to take, providing me with lots of cool functionality for the plane and staring down the path to a QuadCopter. I considered the OpenPilot board, which looks and sounds great, but since it isn't really available yet I'm hoping ArduPilot will do everything I want.
It's really much smaller than I expected, not a lot bigger than my receiver. I actually thought for a second that maybe they hadn't sent me everything (it was buried in a big box with lots of polystyrene peanuts):
182 solder joints later and it was ready to be assembled:
Loading the firmware (following along with this post to get Arduino and the ArduPilot Mega Planner installed on Ubuntu and running under mono, I haven't linked it to the simulator yet):
The board was recognised with no problems by Ubuntu, showing up as /dev/ttyUSB1 (I already have another FTDI device that shows up as /dev/ttyUSB0.)
Connecting it up to the receiver (I'm still considering how to mount it "permanently" onto my AXN Floater):
A little clip showing the stabilisation mode in action, I had to use the DIP switch to reverse the elevator:
There'll be lots more info coming as I really get it going.
A panorama from the Royal Park video (view full size & make sure your browser hasn't shrunk it to fit):
The panorama consists of 36 frames from a 6 or 7 second period (approximately every 1/5th of a second) and was stitched with Hugin which also did some exposure compensation.
It's a bit messy because of the receiver aerial (red) and timestamp (yellow) which could probably be removed with some more effort.
The image is about 1.8 megapixel and spans about 155 degrees. Not bad from a $20 camera.