Smart Trainer Photo Shoot

Design Observations

I really like the looks of this aircraft.  It is a unique combination of design choices that I think should provide a nice balance of good flying qualities and lots of aerobatic capability.

It calls itself a trainer, but it is not a “learn to fly” trainer.  Instead it positions itself as an entry level pattern ship.  It is light weight which means it should maneuver effortlessly and not have bad habits.  It has long lines so it should fly like it is on rails.  It has thickened wing tips so it should have excellent slow speed characteristics and be adverse to tip stalling.  Oh, and it also has all the design elements you’d want for effortless knife edge and inverted flight.  The aircraft has a semi-symmetrical airfoil.  Most aerobatic planes pick a fully symmetrical airfoil, but in my opinion, across the flight regime that this aircraft covers, the choice of airfoil shouldn’t make much difference.

While I am grounded and waiting for the snow to melt around here I took a couple pictures:

IMG_20140312_142930 IMG_20140312_142902 IMG_20140312_142834 IMG_20140312_142844

I am hoping this will be a fun airplane to go out and cut up the sky with classic pattern style aerobatics.


Aerosky 185 Photo Shoot


Photo Shoot

Don’t look too closely, but take a few steps back and I think she looks pretty nice.  I love the older style 185 tail and the tail dragger configuration.  The relatively large wheels help me imaging this is a bush plane intended to get in an out of rough strips.


It is still winter here in MN and our ground is still covered in a foot of snow at least.  I’m hoping the snow melts quickly so I can get out and maiden this airplane soon!


Yup, she looks pretty sweet I’d say!


Aerosky 185 Build Notes

I was interested in the Aerosky Sky Trainer 185 because it looks a lot like a Cessna 185.  It has the 185 tail and is setup as a taildragger.  Technically the rear window is not correct for a 185, but there are a lot of things you could nitpick if you really wanted to go there.   The other interesting aspect of this kit is that it includes a full set of float for water operations.  I live near a little lake so I am hoping this will fly well off water on a nice calm summer evening.


In this post I simply want to hit the questions/issues I ran into with this aircraft.

Rear Fuselage Extension and Tail Surfaces

First off, the instructions say “glue” on the rear fuselage extension piece.  I don’t hae a tip for getting this exactly lined up.  I lined up the stickers exactly, but that put the horizontal stab out of alignment with the wing.  Use a bit of caution and planning and measurement here.  Maybe consider installing the wing first so you can align the tail with it.

The instructions do not say glue on the horizontal & vertical stabs, but they provide no bolts/washer so I assumed the only way to install them was with glue.   That is fine, but the instructions seemed to imply something else.  Again, I recommend bolting the wing on before gluing the tail surfaces so you can try as much as possible to align the horizontal stabilizer with the wing.

Now my biggest frustration so far is with the wing hold down bolts. Only one actually lines up well enough to get it threaded easily. I messed around quite a bit and I think I can get 2 more lined up, but the fourth is just really off kilter or something.  The bolt tries to cross thread on the blind nut whenever I start it … frustrating!!!

 Wing Mounting

I did manage to get the wing bolted on ok. The factory installed blind nuts did not line up well which made this a huge pain.  I just had to fiddle with it long enough I guess. I managed to push out one blind nut in the process of try to get the bolt started which was a setback to the process.  It took quite a while to get the bolt reseated, but I managed to get it all together in the end.

Power System

I’m not impressed with the quality of the 3-bladed prop … looks like cheap molded plastic. Anyone know the pitch on this so I can replace it with something decent?

I’m also not impressed with the glue on foam spinner.  The instructions have you glue it on, and it takes quite a bit of fiddling to get it centered so it doesn’t wobble terribly when it spins. That’s another thing I’d love to replace eventually if I keep and fly this airplane regularly.

Pro-tip: Don’t glue on the spinner until after you’ve hooked up the ESC to the motor and have all your wiring tested and tucked away.


Landing Gear

The landing gear and control linkage installation has been straightforward … no major gripes there.   In the online videos I didn’t like how nose down the aircraft sits on it’s floats.  I noticed the extra gear provided with the floats is a bit taller than the main gear to account for the fuselage being a bit more slender as you go rearward.  I swapped these and used the bigger part for the front in hopes that this will help the aircraft sit a bit more nose up (scale-like) on the floats when I finally attach them.

I think this airplane will be ok. It’s not high on the quality or fit & finish scale, but it was relatively cheap and on clearance.  I think it will look good in the air and from a few feet away. Just don’t get out the microscope or start nitpicking too much.

Build Your Own PC (2014 Edition)

The World is Constantly Changing

The last time I built up my own PC was March, 2011 – going on 3 years ago.  The basic idea of building your PC and the basic skill set required are still pretty much the same, but a couple new things caught me off guard.  Because I only do this every 2-3 years, I don’t keep track of trends and buzzwords and product nicknames, so plowing my way through this is a bit of a (fun) adventure each time!

Basic Skills Required


  • For me, the most important requirement is necessity.  I typically am interested in specific things.  I’ve wasted too much of my life struggling to make cheap PC junk work reliably.  Just about every time I’ve bought off the shelf systems, they’ve been a disappointment and a struggle.  But on the flip side, I don’t want to spend too much to get the features I need.
  • You need to be able to operate a phillips screw driver.
  • You need to be able to match up cables and get them plugged in correctly.  Almost always they are keyed and labelled so there is only one possible way to connect them. This amounts to plugging the round peg into the round hole, and the square peg into the square hole, and not mixing those up (at least not very often.)  You don’t need a sledgehammer if something isn’t going together. Backup and take another look at what you are doing. 🙂

Mini-ITX Motherboard


One thing I discovered this time around is the mini-ITX motherboard.  This is smaller than a traditional motherboard, but has a ton of stuff packed into a small area.  I was planning to build a simple file server and was hoping for a smaller footprint in my office, so I rolled the dice and chose this style motherboard.  Here are a few comments:

  • I bought the AMD FM2 socket version, and as far as I can tell it accepts any FM2 processor.  What’s FM2?  I have no idea, but typically you want the motherboard socket and the CPU socket to match.  That’s something important to keep in mind when shopping for parts.
  • The MSI A75IA-E53 motherboard I chose only offers 2 memory slots and 1 PCI expansion slot.  But what it does include onboard is most everything you’d want already: gigabit ethernet, wifi (surprise!), bluetooth (surprise!), usb-3.0, analog and hdmi video out, plus several other plugin ports that I don’t immediately recognize.  So far so good.
  • Installing the CPU and RAM is the same as it’s always been done, no surprises there.
  • Installing the Motherboard in the case is also pretty much the same: screw it down, find where all the power/connectors plug in and plug them in, and you are good to go (hopefully!)

AMD CPU/Motherboard Integrated Graphics


Here is the one thing that did catch me off guard.  The motherboard I chose has analog and hdmi video output.  However, I eventually discovered that this only works if you install an AMD CPU that has integrated video support.  I have never seen this before, and it seems to be something relatively new, or at least introduced since I built my last PC a couple years ago.

I chose a CPU without integrated graphics and spent half a day trying to figure out why my new system seemed dead on arrival.  Eventually I dug up an old PCI video card out of the bottom of a box of spare parts, installed that in the one available expansion slot, and “ta da!” I could see the motherboard booting up and running its power on stuff.  (This motherboard doesn’t beep on boot, I was expecting beeps and not getting them, but it turned out to be normal, not an indication of a problem)  So, excellent, everything is working as it is designed!

I am planning to use this machine as a simple server (backup server, nfs server, disc burning server.)  I don’t plan to play games on it, so graphics is not a big issue, and I was very relieved to have my system up and running correctly — running with a “discrete graphics card” installed which is the new terminology apparently.

The Case


Along with a new (new to me) motherboard form factor comes a new case style designed to fit the mini-ITX motherboards.  When you shop online and don’t know exactly what you are doing, occasionally you get stuck making guesses and hope that it will work out!  I was hoping for something smaller than a mid-tower case, which was my whole intent when I selected the mini-itx MB.  I chose a case listed as a “mini-tower” and designed specifically for mini-itx MB’s.  I also wanted one external 5 1/4″ bay so I could install a dvd/blu-ray burner.

What I received was much bigger than I was expecting.  It is still shorter than a mid-tower case, but actually a bit wider, and uses a standard ATX power supply.  So the downside is that the case isn’t as small as I was hoping, but the upside is that I get a system that is flexible, expandable, and upgradeable.  That said, after stuffing in all the stuff, it is still a pretty cozy fit.  There is still lots of space for add on hard drives, but everything in between is quickly packed full of cables.

Two additional things about this case I think are cool:

  • The power button and the power LED are integrated, so the button you press to turn on the computer also lights up.  That’s pretty fancy for this guy.
  • The reset button also doubles as the hard drive activity LED.  It’s a nice, clean, sharp looking case!

To Bling or Not to Bling

I have never been interested in case bling.  I don’t need to be blinded by my case.  I don’t want my case to be visible from outer space.  Give me a small power led and a small hard drive activity light and I’m happy.  Oh, and I don’t need my case to look like a Star Trek prop, basic rectangles are fine.

The case I chose came with a 12″ front fan that is illuminated with blue LED’s.  Normally it wouldn’t be something I’d pick, but I ended up with it and I think it’s pretty cool … at least it doesn’t blink or flash or change colors.

Peace and Quiet!

Another big consideration when spec’ing and building a system is fan noise.  In the past, I have put together systems that literally sounded like jet engines on an aircraft carrier deck.  Often PC fans adapt and speed up/slow down as the CPU heats up or cools down.  But combine this with a noisy fan and the end result can quickly drive a person insane.  How do you avoid noise?

  • One thing that people use is water cooling.  This can create a system that is virtually silent.  I’ve never setup a water cooled system before … it looks complex, and some of the parts get a bit pricey.
  • Use bigger fans that spin more slowly.  This is really the key point.  The case I chose has a 12″ front fan.  Bigger fans move the same amount of air at a slower RPM and are generally quieter.  Often the cheap/stock fans are small and have to spin at a high RPM.
  • After market CPU coolers.  The same bigger-fan-size principle can work for CPU cooling as well.  In this system that I just built, the stock CPU fan seems to be pretty quiet, so I’ll most likely just stick with it.  But if you find your CPU fan sounds more like a hyperactive F-16, there are a number of aftermarket cooling systems that have much larger heat syncs, and bigger/slower fans.  Just make sure you have enough case clearance for the cooler you pick.  Some of the bigger/nicer heat sync/fan coolers won’t fit in a smaller case.

Loading an Operating System

When you build a system from scratch, typically it doesn’t come with a pre-installed operating system.  That is left up to you.

I’m a long time Linux enthusiast so I loaded Fedora 20 (the current release) on this system.  Linux offers packages like “BackupPC” which can backup all my  other systems on a regular schedule.   I can also easily do NFS file sharing, blu-ray/dvd burning, web serving, and a host of other useful tasks with this system.

For everyday uses, Linux offers Chrome and Firefox, so as our lives increasingly exist “in the cloud”, and more and more our interface is through our phone, tablet, or web browser; I think Linux is becoming more and more of a good option for ordinary computer users.

  1. It is free (no microsoft tax on your new computer.)
  2. It is every bit as easy to install as windows or osx
  3. It offers many of the same capabilities as other systems for most things people want to do.  We all have our preferences, but these days it’s becoming more and more difficult to practice “OS advocacy” on the basis of capability or available software.
  4. These days with Windows 8 still being so new,  Linux often supports more hardware and devices out of the box than your other options.

Wisconsin Dells


A popular tourist destination going back to at least 1856.  From Wikipedia: the Dells of the Wisconsin River, a scenic, glacially formed gorge that features striking sandstone formations along the banks of the Wisconsin River.

Today the Wisconsin Dells is a regional summer hotspot for water parks and other attractions, not to mention timeshare salespersons.

We just spent 4 days in the dells and never having been there before, stumbled on some things that were wonderful and a few things that were real stinkers.


Restaurant: Carvelli’s Pizza and Pasta House


We went to Carvelli’s on our last night and were blown away.  We had a late lunch and were trying to do a quick dinner before the magic show in town, so Carvelli’s was an afterthought for us.  Big mistake!  Both my wife and my daughter thought it was the best italian food they’d ever tasted!  I ordered a simple spaghetti and meatballs, and have to say that was the fanciest and tastiest spaghetti I’d ever had.  I’m an applebees and olive garden regular, so I just wasn’t used to seeing green bits with extra flavor mixed in with my noodles.  There was just something about the food and you could tell the chef had poured his heart and soul into it.  There was some extra love, extra attention to detail, extra energy that showed through in the result.  The desert was somewhere on the continuum between heaven and perfection.



My wife was so enamored with her dish that she asked our server if we could meet the chef and if not to at least pass on our highest compliments.  Sure enough, right at the end of our meal the chef came out to say greet us, and he was just a young kid!  It turns out he was not italian but was from Peru and had studied culinary arts in Lima.  Even though I’m a white guy, I was born in Peru myself so that was kind of a cool connection.  All I can say is Roberto, you rock, your italian speaks for itself!  I hope you are there next time we visit, and if not I know you’ll be a tremendous success anywhere you choose to go!

Restaurant: San Antonio


San Antonio’s is traditional Mexican restaurante located towards the far western end of the main broadway strip in the Dells.  Honestly, we just stumbled in on a whim.  We were walking the broadway strip, half thinking we should get something to eat, and half thinking maybe we’d just get french fries or ice cream or fudge or something, half thinking we were too tired to decide on anything and might just hit the McDonalds drive through on the way back to the hotel.  But we got all the way to the end of the broadway strip and really didn’t see anything that captured all four of us, so there was this Mexican restaraunte 2 doors up the side street next to the ‘torture museum’ and we figured for lack of anything better we’d at least look at their menu.

We really were pleasantly surprised.  Their prices were extremely reasonable and not seasonally adjusted like so many places in the summer time at the dells.  The service was very good.  And the food was way above average.  The restaurante was also very open and clean and looked like it was recently remodeled.  Next time we are at the dells, we’ll definitely make time to visit San Antonio again.

Restaurant: Cheesecake Heaven

Ok, they do sell cheesecake, and it does look wonderful, but we didn’t try any of that.  Instead we went for the ice cream.  It had to have been made in house because I’ve never seen those exact collections before any other place.  This is probably the best, or at least on par with the best ice cream I’ve ever had.  I’m not exactly an ice cream expert, but I have eaten a lot of ice cream over the years.  If there is some concept of ‘balance’ in ice cream in terms of heaviness/lightness, consistency, flavor combinations, quality ingredients, etc. they just nailed every specific criteria you could come up with.  If you just close your eyes and take the whole thing in, they nailed it.  Boom!  If you like ice cream, go here.  If you skip this place, then you deserve your own dismal fate.  What else can I say, it’s that good!

Restaurant: Moose Jaw

This was a fun place with good atmosphere and good food.  It had a polished, chain sort of feel, but I think it was just a really well run establishment.  A good solid choice.

Entertainment: Rick Wilcox Magic Show


Wow, fun, real top notch magic and illusion like you might get from David Copperfield, or Pen & Teller, or Lance Burton in Vegas.  Rick and his wife put on a really great show.  Our kids had never seen anything remotely like this and were blown away.  Along with being a really great magic show, it was a rated “G” for the kids.  They had lots of variety, lots of humor, lots of classic styles of illusions, and all really well performed.  I’m really glad we went, even though it was our last night and we were tired and pressed for time.  It ended up being one of the top highlights of our trip.

Entertainment: The Original Ducks


This was our first time at the dells, but the one thing we knew going into this trip is we had to do the ducks.  A duck is a vintage WW-II amphibious vehicle.  It has a noisy diesel engine, 6 wheels, and a propellor and rudder.  They can drive right in and out of open water.  In the water they are a boat, on land they are a bus.  They can do maybe 50 mph on land and maybe 10 mph in the water.  The ducks ride was probably about an hour with a college age driver guide who gave some history of the area, told some outright bologna, and cracked more than a few jokes and cheesy puns along the way.  It was actually a pretty fun time and worth doing if you are ever in the dells.  They take you through the woods and out onto the wisconsin river.  Then up a stream, back through some woods, out on a lake, etc.  This might be one attraction that would be especially pretty during the fall when the leaves are turning colors.

Entertainment: Mount Olympus Theme and Water Park


It turns out this is the world head quarters for wood roller coasters and go carts.  That’s about all the non-water stuff they have, but they have at least 4 high intensity roller coasters (Pegasus, Cyclops, Zeus, and Hades 360 which goes underground and loops and was too crazy for my girls to want to attempt) and at least 4 crazy go-cart tracks.  They also have a huge area of indoor and outdoor waterpark type attractions.  The one my girls really liked was the wave pool which was crazy.  After I got kicked in the head and my suit kept coming off with each wave, I decided I was done, but my girls wanted to stay in there the whole day.  The downside to Mt. Olympus was it was big and crazy and a ton of people.  You get unlimited ride wristbands which means there was 30-60 minute waits for anything interesting.

Entertainment: Chula Vista Water Park

Much smaller and more low key than Mt. Olympus, they still had 4 pretty intense water slides.  You could spend a day here easily and the lines are nothing compared to Mt. Olympus.  The downside: their snack shop was horrible.  Gas station hot dogs are a big step up from what they were offering.   Chicken strip baskets just sitting out and attracting flies all day?  $6 for an 8 oz plastic cup of warm bud light?  No thanks!  What little nourishment I do have in my stomach I would like to keep there!

Take Your Chances:

Restaurant: House of Embers

I hate being negative. 🙁  They did have a lovely out door seating area with tons of flowers and hanging baskets and we went on the perfect evening for sitting outside.  But the first thing they brought us was a basket of wrapped up butter cubes (I’m not sure what for since they didn’t bring us any bread) and one of the butter cubes had a used piece of chewing gum stuck to it.  Gross!  We were willing to forgive one innocent error, but then the food came and my chicken sandwich was poor at best and my daughter’s hamburger was not cooked through properly and honestly, the food was just gross.  And this is a place that charges ‘fine dining’ prices.  The prices seem fairly arrogant after you see the food.  Maybe they had a bad night?  Maybe the pilots ate the fish and the flight attendants were trying to land the plane?  I don’t know.  There’s an applebees in town which is twice the food for half the price so surely House of Embers will never see us again. (Stop calling me Shirly.)

Timeshare: Bluegreen

Think you are getting an awesome free vacation in return for sitting through a 90 minute presentation and a quick tour of a couple timeshare properties?  Well … (1) I’ll never get those 4 hours of my life back and neither will our sales guy, (2) the hotel we got for ‘free’ was “meh” at best, (3) you still have to pay your transportation, food, entertainment, etc. and all that adds up really quick.  Oh, and the timeshare sales guys are really good at what they do.  In the heat of the moment it sure seems like a great deal and the longer you hold out, the more they sweeten the deal.  But search for timeshares on craigslist for example.  There is more than one big company offering these plans and there are people willing to all but give theirs away just to get out of the monthly/yearly maintenance fees and dues.  Does that tell you something?  My take: maybe if you are an avid ‘pure’ vacationer and are really good at structuring your life around your timeshare plan and disciplined to get just the good deals and only the good deals a timeshare can work for you.  But if you are that structured and disciplined, why are you signing up for a $10,000 plan at 17% interest over 10 years on a 90 minute whim because you can’t tell a slick sales dude a simple “no”?  If it’s a good deal, shouldn’t you be able to go away and think about it and confirm to yourself that it’s a good deal?  Why do you need to sign right now today or lose all your ‘incentives’?  Do it!  Sign it! Now! Now! Now!


Hotel: Skyline Hotel & Suites


I don’t really have too much negative to say.  I don’t have a lot positive to say either.  The hotel is what it is I guess.  I’ve stayed in a lot nicer for a lot less money, but this is the Dells in their prime summer months so probably the price was fair enough for what they offered.  The best thing I can say about the hotel is that it was right in the middle of the action: next door to the ‘Original Ducks’, right across the street (walking distance) from Mount Olympus (wood roller coaster & go-cart & waterpark heaven.)  Everything else about the hotel was just a bit underwhelming, not quite making average marks.  The wifi was slow and often sketchy, the breakfast was meh at best (other than the waffles you cook yourself), the coffee was actually undrinkable.  But hey, you don’t go to the Dells to hang out in your hotel room, and there’s a starbucks if you drive into town so no worries!

Todo Next Visit:

Entertainment: Top Secret


So you come up the hill and at the top is this crazy structure that doesn’t make any sense.  As you look closer it looks kind of familiar, but you can’t quite place it.  Then it hits you … it’s the White House, but ripped off it’s foundation and dropped upside down … full size … with a crushed presidential limo at one corner and a dinosaur head breaking out one wall.  It’s one of those things where you ask yourself if it might just be worth checking out?

As with just about any place, there is far too much to do in one visit.  Next time we’ll definitely try to find a hotel that’s a step above what we had this time.  Mount Olympus is an impressive park, but next time we’ll probably try out one of the other water/theme parks.  Next time maybe we’ll try going back in one of the winter months and focus on indoor stuff … hopefully to find saner hotel/food prices and maybe a slower pace than you get during the crazy busy summer months.

If you have some ideas to suggest for the Dells; something we missed or didn’t notice; please let me know!

BackupPC, LVM, Cloning and Resizing Drives

I recently went through the process of trying to move my entire 1.5 Tb BackupPC tree to a new drive.  Here are some thoughts and comments from that experience.

  • I spent 40 days (literally) attempting to get various combinations of rsync, tar, cp, etc. to clone the contents of the drives to a new larger drive.  However, the bazillion of small little files hard-linked to a pool of randomly named actual files made this practically impossible to do in a finite amount of time.
  • In the end I used the unix utility ‘dd’ for the fastest possible copying.
  • In order to clone to a larger drive I first ran resize2fs to make the target file system match the size of the source file system.  Then I could do a direct dd copy of the source disk, and finally I resized the file system up to consume the full physical space after the clone was complete.
  • Make sure to add “conv=noerror,sync” to your “dd” options to avoid your transfer dying if it hits a bad-block on the source disk (perhaps a dying drive is among the reasons you are transferring to a new drive?)

Reasons to clone your backuppc drive (or any drive)

  • Your data is beginning to outgrow your available space.
  • The drive is starting to fail (showing smart sector errors, read errors, etc.)
  • Backup/redundancy
  • Prepare a copy of your data for offsite storage (extra safety for your important data, like your life long collection of digital photos …)

Cloning a BackupPC storage tree (or any other file system structure that is too big/complex for rsync/tar/cp to handle efficiently)

  1. Physically attach the destination drive and create physical and logical volumes. “system-config-lvm” is a gui tool that can help do this, otherwise there is the myriad of “pv…” and “lv…” command line tools if you wish to go that route.
  2. Make (or resize) the destination logical volume so its size matches as closely as possible the size of the source volume. I wasn’t able to get it exact, but I forged ahead anyway and it appears that e2fsck and resize2fs were able to get it all sorted out properly after the fact.  Perhaps making your target volume just slightly larger would be safer than making it slightly smaller.
  3. Make sure the dest volume is not mounted! If you have the option, also unmount the source volume. This isn’t absolutely required, but will avoid the risk of copying a drive in an inconsistent state which could lead to some loss of files or data that are being written at the time of the dd.
  4. Run “dd if=/dev/mapper/source_lv of=/dev/mapper/dest_lv bs=100M conv=noerror,sync”  I can’t say what the optimal block size (bs=xxx) value is. Make that too small and you waste time making endless trips back and forth from one drive to the other. Make it too big and you might get into swap. There may be a specific value that runs faster with your hardware than some other value and that might be non-intuitive?
  5. “dd” has no output unless there is an error and on a 1 TB drive or larger this can literally run for many hours. You can find the pid of the dd process and run “kill -USR1 <pid>” and that will signal dd to dump out a status message of how much it has copied so far. With a few brain cells you can figure out how many total blocks there are to copy (at your specified block size) and get an rough estimate of when the copy will finish.
  6. After the “dd” command completes, run “e2fsck -f -y /dev/mapper/dest_lv”. If you were dd’ing a live drive, or if the source drive had some bad/unreadable blocks, or you couldn’t make a destination volume of the exact size of the original, or … This will (or should) bring the destination volume into full consistency with itself.  The end result is pretty much the best possible copy you can get from your source drive.
  7. Now the beautiful part: either by system-config-lvm or with a cli tool like “lvextend” you can now resize your logical volume to fill up the entire available physical space. system-config-lvm will run e2fsck (again) and resize2fs in the background so it may take some time.
  8. The gui tools makes things a bit ‘easier’ but they are silent in their output so you don’t know what’s going on or how long your operation may take (seconds? hours? days?) The command line tools output useful information and can run in ‘verbose’ mode so it may be worth it to pull up the man pages on them and run them directly depending on your level of interest and time available.

BackupPC specifics

  • I mount /dev/mapper/logical_volume someplace like /backuppc03 and then I make /var/lib/BackupPC a symbolic link to “/backuppc03/BackupPC”.  So update this link to point to the dest drive, restart BackupPC and you should be fully up and running on the dest drive … now hopefully with more space and a new error free drive.
  • Hopefully if there were some drive read errors, they are few and come at non-critical locations … hopefully only corrupting some random unimportant file in some random unimportant backup that you will never need to restore.
  • If the drive is too shot and your previous backups too corrupted after the copy process, you may be better off just starting from scratch with a brand new backuppc installation and begin accumulating your backup history from this point forward.
  • One more tip. Gnome (and probably other desktops) have software that can show you your hard drive’s ‘smart’ status. In gnome this tool is called “Disks”. If the drive isn’t showing any smart status, you may wish to double check your bios settings (it’s possible to turn off smart in bios.) It’s good to look at your drive status once in a while to make sure it’s not starting to accumulate bad sectors.
  • The drive I just cloned and replaced was up to 283 bad sectors with about 6 bad block unrecoverable read errors. It was running at about 45C which is pretty hot.

Spiraling Under Control

One of the staples of fixed wing autopilots is the circle hold.  A circle hold is the closest thing you can get to a pause button with a vehicle that must be in constant forward motion to stay aloft.  There are a few hidden challenges in the task, including wind compensation and some unexpected coupling that can lead to weird looking oscillations if not handled well.  People have been doing circle holds with UAV’s for a long long time, so I don’t bring anything new to the table, but it is always fun to play, err I mean experiment.


What happens if you periodically move the center of your circle (maybe every 5 mintues) to a new location, hold for a while, move the circle center again, circle for a while, and repeat?  Well short answer is you end up with a bunch of circles, but if you are strategic in the placement of the circle center, some pretty patterns can begin to emerge.  To add visual interest we can also change the circle speed when we move the center of the circle.  Increasing the circling speed, increases the circle radius.


What if each time we move the circle center point, we move it by a fixed angle (let’s try 30 degrees), and increase the offset distance by a little bit, and also in crease the airspeed by a 1 kt?  An interesting spiral pattern begins to emerge.  From the original starting point, each circle is a bit bigger than the one before, and also a bit further away.  A spiral pattern begins to emerge.


A flight simulator isn’t encumbered by battery or fuel limitations, so what happens if we let this run for a long time?  The spiral pattern continues to develop and grow.fgfs-screen-003

Spirals aren’t that big of a deal of course.  20 minutes of python coding could produce some far fancier spirals.  What interests me is how the patterns are produced … this is the flight track of a simulated UAV and that makes it a bit more challenging and fun.

Continuous Spirals

What happens if we fly a basic circle hold, but instead of changing the circle center point every 5 minutes, we continually move the center target of the circle in sweeping spiral pattern?  We would get something that looks a bit like a stretched spring viewed from a bit of an angle.

At the beginning of the pattern, the airspeed is set to 25 kts.  The radius (not of the circle hold but of the spiral) is set to 0.1 nm.   Each second the position is swept forward 0.125 degrees.  This means the spiral pattern sweeps forward 7.5 degrees per minute, or 450 degrees per hour.  The airspeed and spiral radius are also increased by a tiny bit each second.  The next picture shows the pattern after a bit more than an hour of flight.


After about 5 hours of flight we get the next picture:


And if we let the simulation run over night and zoom out the map a couple steps, we get:


A Few More Details

All these patterns were produced by the flight track of a UAV.  That means we aren’t just plotting mathematical functions, but instead are combatting wind and physics to produce these patterns.  A complex system of sensors, attitude estimation, control theory, navigation and planning blends together to produce the end result.

Simulation vs. Reality

All of this was flown in the flight simulator.  However, there is a much stronger tie to reality than might first appear.  FlightGear is the ‘stand in’ for reality.  However all the sensor data is sent externally to the “avior” autopilot running in “software in the loop” testing mode.  The avior autopilot code sends all the raw sensor information (simulated IMU and simulated GPS) into a 15 state kalman filter to estimate the actual roll, pitch, and yaw.  It would be possible to cheat and use the simulators exact roll, pitch, and yaw, but the “avior” can’t cheat in real life (because this information isn’t directly available) so it faithfully estimates these values in simulation just like it must in the real aircraft.

The roll, pitch, & yaw estimates are then passed to flight control system and compared with target values for basic flight control and navigation.  The “avior” autopilot computes control surface deflections to eliminate the error between target speed, and attitude vs. actual speed and attitude.

Finally, these control surface positions are sent back to FlightGear which then computes the flight physics based on where the avior moves the control surfaces and throttle.  FlightGear computes new gyro, accelerometer, and gps sensor values, sends them to the avior autopilot, and the process repeats.

In this way we can test the “avior” autopilot quite thoroughly using the simulation.  The avior thinks it’s really flying, it receives realistic sensor data, drives control surfaces as if they were real servos, and the simulator responds realistically.  Really the only part of the avior not being thoroughly exercised is the specific code that reads the real world sensors and the specific code that drives the real world servos.


At first glance, the job of flying a circle hold around a fixed center point amounts to holding a fixed bank angle.  There is a relationship between airspeed, bank angle, and turning radius, so we just need to work out these numbers and we can fly any circle of any radius at any speed, simply by computing the required bank angle.

But things get a bit more complicated than this because we need to adjust our actual heading and bank angle to compensate for drifting inside or outside the target circle radius.  And there is this whole business of figuring out how to smoothly enter the circle pattern from any starting position and heading inside or outside the circle.

I’ll skip over the boring details (ask if you are curious) but along with all the other things that must be accounted for, the real world almost always has a little (or a lot) of wind.  Flying up wind, small heading changes of the aircraft can yield large changes in your ground track heading.  Imagine a worst case scenario where you are flying at 30 kts, exactly into a 30 kt head wind.  You are hoving relative to the ground.  But even the tiniest heading change (or wind change) will slide you 90 degrees left or right.  The opposite happens when you are flying downwind.  Aircraft heading changes produce proportionally smaller ground track heading changes.

Wind adds some unique challenges to flying circle holds that are actual circles from a ground perspective.


I also wanted to say some brief words about coupling between axis, because it can be a bigger issue in circle holds than might first be expected.  Imagine you are flying a perfect circle hold in zero wind.  You are at a 30 degree bank, at your target airspeed, and at your target radius.  Now imagine you are a bit outside of the target radius.  You need to bank a bit more to tighten your turning radius.  But this tighter bank could cause a loss of altitude (basic airplane physics).  If the aircraft responds to the lost altitude with increased elevator, this will tighten your turn even more because you are banked.  It is easy to over shoot and end up inside the circle, which means the flight controller will command the aircraft to fly less of a bank, increasing the circle radius, but that creates more lift, more climb, etc.  Roll, pitch, and throttle can combine in some very awkward ways during a circle hold and that, along with wind and all the other aspects of basic aerodynamics and physics can make flying an accurate and stable circle hold a bit more of a challenge than you might first expect.

External Scripting

Hah, if you are still reading all the way down here, you are really a UAV geek (or you are following good skimming rules of reading the first paragraph, the last paragraph, and looking at the pictures.)

One of the fun things about the avior autopilot is that all the sensor data, attitude estimations, control surface positions, navigation state, and just about every other interesting variable is published in a giant hierarchical tree of name/value pairs.  If you’ve poked inside the windows registery, it’s kind of the same basic idea, except all in memory and very fast to access or update.

The cool thing about this is that we can expose external interfaces to this giant data structure and completely command or monitor the autopilot externally.  This enables a developer to write a perl or python script to monitor and command the autopilot.  What sorts of things could such a script do?

  • Command the autopilot to do a circle hold, then smoothly adjust the center point of the circle hold to produce interesting patterns in the UAV flight track.  That’s what this whole article is about.
  • Fly specific flight test maneuvers repeatably and accurately.  Do you want to nail down the exact stall speed of your aircraft under different scenarios?  You could write a script to fly the aircraft into a stall, then recover, climb to safe altitude, repeat.  You could write scripts to put the aircraft into all kinds of different specific flight situations and carefully record the data.  What is the elevator trim and power settings for level flight @ 25 kts, 30 kts, 35 kts, 40 kts, etc.  How about at a 5 degree bank, 10 degree bank, etc.
  • Create higher level intelligence without having to write code inside the core autopilot.  The autopilot does everything for the aircraft, and it must be reliable and robust and never fail or do something dumb.  This comes through long hours of flight testing.  Now you want to go fiddle around under the hood and change something?  That is begging for trouble!  Why not leave the autopilot alone and write your new functions in an external script?  Maybe you could write a fancy engine-out auto-land script that knows the basic performance characteristics of your aircraft and can plot and command an optimal approach path to touch down from any position and altitude to any landing strip in any wind conditions.

RC Aircraft Precision Balancer and Work Stand

This morning I whipped together a “precision aircraft balancer” (like the Great Planes “C.G. Machine”.)  I built it out of $5.57 worth of PVC pipe and connectors from Fleet Farm and it probably took me an hour at the most.

The Plan

Here is my concept drawing:


Shopping List

Here you are looking at $5.57 worth of PVC parts purchased locally.  The one flaw in the original design is that no one locally sold those 3-way corner connectors.  Maybe they don’t even exist?  So I made an on the fly design change while I was shopping.  The new design uses a “T” connector and a 90 degree elbow with 1.5″ long pieces of pipe connecting them.  The parts list is: 8 x 90-degree elbows, 4 x “T” connectors, 14′ of 1/2″ PVC pipe (in 2 10′ sections.)  I went with 1/2″ PVC and that is plenty strong for my needs, but 3/4″ PVC would work just as well and make the stand a bit beefier.



Cut the straight sections and fit it together.  There is no rocket science, but do remember “measure twice, cut once”.  Here you can see the parts starting to come together.  How exciting! 🙂


Finally here it is all put together:



You might imagine that if the parts are only friction fit together, the two rails could flop over if you placed a heavy model on top.  So what I did was use PVC cement to glue the joints between the “T” connector and the 90 degree elbow connectors at the base.  I left everything else just friction fit so I could potentially take it apart for transport/storage.

Finished Stand

Finally, here is the payoff picture of the stand in action!!!  Yes, those are Christmas decorations that have not found an off season storage location.


There are a variety of modifications that could be made to the design

  • Add pipe insulation to the top rails to help protect your more fragile models
  • Go with bigger PVC (like 3/4″) to make a beefier stand.
  • Drill a vertical hole into the top rail to insert a peg.  (A bolt with a rounded head with a nut screwed most of the way in makes a nice drop in peg.)  Make marks on the top rail in your favorite units.  Now you have a “Precision C.G. Machine” and saved yourself $50 at the hobby shop.  Personally I would suggest locating the peg about 1/4 to 1/3 from the rear along the top rail (not dead center) so it’s easy to just place the aircraft forward and use it as a stand without removing the pegs.
  • If you add balancing pegs, make them drop in/removable and tether them to the rail with dental floss so you can use the device as a stand without worrying about scratching or denting your model with the balance pegs.
  • Adjust the dimensions.  I built this for a flying wing with a 16″ wide fuselage so I made my stand really wide.  I also made it pretty tall to accommodate setting the aircraft on it inverted (leaving room for the vertical fins.)  If you have a different aircraft in mind, it might make sense to adjust some of the dimensions … but don’t make it too tall and skinny or it’s likely to blow over in the wind at the field.
  • Do an image search for Escher and instead of making an aircraft stand, try to build some sort of perspective/perpetual work of art.

Sold the P-47

I sold my P-47 on craigslist today.  I liked it, but for whatever reason, it wasn’t my favorite to fly and I’ve got my eye on something else … but I need to free up some space first … !  I really enjoy flying my PBY though … I need to set up a category and post a few pictures of that soon!

“fedup” with Fedora!

Fedora 18 “Spherical Cow”


I think everyone has a bit of a love/hate relationship with their technology.  We hate it when it doesn’t work, or we can’t figure something out, or something breaks or doesn’t make sense.  But we love the new upgrade, the fancy new desktop background, animated menus, or what have you.  Fedora 18 was just recently released so of course I had to jump on that and get all the new stuff here as quickly as possible.  Is it great?!?  Was it worth the wait?  Is it a waste of time?  Do I love it?  Do I hate it?  Yes!

fedup (or fedora upgrade)

Over the past week I’ve been migrating several of my machines from Fedora 17 to Fedora 18.  The old “preupgrade” tool that was available for upgrading your system to new releases no longer is available for upgrading to fedora 18. Instead a new utility called “fedup” is provided.

What do I think of the new “fedup” tool?  For me on my systems it has been a resounding #fail.  Both systems I tried to update got trashed.  In the first case I was able to run “fedup” and do the initial pre-load.  Upon rebooting I was able to do the “upgrade” boot and the installer ran all the way through to the end and it all looked really good.  But when I rebooted after completing the upgrade I found a mess.  My system couldn’t boot or booted partially into an error state of not being able to find what it needed.  I didn’t continue to debug or try to figure out what happened.  Personally I’d rather have a fresh clean system, than a trashed system that’s been just barely patched together enough to boot and run.  So I blew everything away and loaded from scratch off the DVD ISO.

On the second machine (a laptop this time.)  I ran fedup and prep’ed the system for upgrade, rebooted into the upgrade installer and proceeded with the upgrade.  But partway through the package installation process my entire machine rebooted with no warning.  This laptop isn’t prone to doing that sort of thing.  Blame it on the hardware?  Maybe, but …. ???  This also left me with a system that wouldn’t boot, so again I blew it all away and loaded Fedora 18 from scratch off the DVD.

In both cases, installing from scratch from the DVD worked flawlessly after seeing fedup fail.  On my other machines, the DVD install from scratch has worked well.  So fedup is a #fail, but otherwise I’m happy.  There’s something to be said about a clean system that hasn’t carried over all the cruft from previous revisions and years of use, so I’m not entirely unhappy that I was forced to install my systems from scratch.  (I have a sophisticated backup system “backuppc” and store my home directories on separate hard drives, so an install from scratch is not as big a deal as it might be if I had everything on a single drive with no backups.)

Freshly installing Fedora 18

In all cases (for me) installing from scratch has worked perfectly.  I’m disappointed that the upgrade didn’t work, but the fresh install procedure works quite well.  In my case what ultimately happens with a fresh install is that later I stumble on packages I forgot about or configurations or tools I had setup for some task on the old machine, and a few months later when I need to do something again, I discover that and need to scramble to get it going again from scratch on the new system.

Here are some installation hints, tips, and tweaks for Fedora 18 that I discovered along the way:

  • Naming your machine: the layout of the network config dialog box caused me to miss seeing the field where you enter the machine name.  When I was all done, I had “localhost.localhost” which I was not happy about.  I used: “hostnamectl set-hostname <name>” to set the domain name (which seems to be the way to do it on Fedora 18).  There are some nuances of fully qualified domain names that I’m not sure I got 100% right, but for now it’s close enough, the machine has a name.  The real answer is to make sure you enter your machine name during the install process (in a box way down in the lower left of the screen that can be easy to miss.)
  • Picking a drive: one other area of the installer that I tripped on was also mainly due to screen layout/ui issues.  I was installing over the top of an existing linux system and I wanted to wipe those existing partitions.  So after selecting the target disk, there is a continue button hidden in the lower right corner of the screen.  Hit that and you can go on to “reclaim” the space, delete the existing partitions and let the installer automatically reformat and repartition that area that is now available.  (Note it happily works around existing windows partitions on a system that’s already setup for dual boot.)
  • Nvidia drivers: several of my machines have nvidia graphics hardware.  I am heavily involved in FlightGear which requires 3d hardware acceleration.  The nouveau drivers are ok for desktop work, but no where close to good enough for all out 3d graphics.  In the past I’ve downloaded the NVIDIA driver from and installed things manually.  This time around I added the repository and installed the akmod-nvidia package.  This seems to have worked well so far.  We’ll see how it gets through a kernel upgrade.  Being left in the cold for a few days with package mismatches isn’t really an option for me so I could be back to manual installation before long — depends on how quickly the guys can track fedora updates.

Tweaking for Personal Preferences

No one likes a straight up stock machine (except maybe iUsers) so right out of the starting gate we need to tweak and configure several things.  Here is my list of “must tweaks.”

  • “yum install vino”  This adds desktop sharing.  I have several computers on my home network and this helps manage and use them by allowing me to share and view desktops from one machine to the next.  I don’t need a monitor and keyboard and desk for each computer.  Look for “desktop sharing” to enable this and run “remote desktop” to connect to shared machines.  And yes, if you are wondering, I am a heavy ssh/command line  user too. 🙂
  • “yum install gconf-editor”  This is a graphical tool that allows you to tweak gnome-shell options.
  • I run 2 monitors on my main machine and by default, gnome-shell makes all windows on the second monitor follow me to every virtual desktop.  If you aren’t sure what a virtual desktop is, then sheesh, how do you live?  I’d give up my coffee before my virtual desktops!  So to make the second monitor obey desktop switching run gconf-editor and Desktop->Gnome->Shell->Windows-> uncheck workspaces_only_on_primary
  • By default gnome only maps 4 virtual work spaces to hot keys.  Virtual desktops (err work spaces?) are worthless without being able to hotkey between them.  From a shell you can run the following command to assign Alt-1 to switching to the first virtual desktop.  Then replace 1 with 2, 3, 4, … to assign hot keys for up to 9 work spaces.  I usually do 6, that’s as crazy as I get: gsettings set org.gnome.desktop.wm.keybindings switch-to-workspace-1 “[‘<Alt>1’]”
  • For what it’s worth, I tend to setup specific tasks (like email, or working on a program, or web browsing) each in their own virtual desktop, and then throughout the day I can hotkey back and forth between them as needed.  For the cynical, this is sort of like the instant spreadsheet “boss hack” on the old video game that I can’t remember the name of now.  Facebook and google+ can get their own virtual desktop. 🙂
  • Autologin: I’m getting lazy in my old age so why not setup the machine to log me in automatically?  In “System Settings” (under user name in top bar when logged in) select “User Accounts”. Select the account and enable “automatic login”.
  • provides a number of packages that aren’t available in the default Fedora distribution.  I like installing mplayer which plays all those odd format movies.  Or maybe you want to be able to play mp3’s from rhythmbox.  Run this long command as root: yum localinstall –nogpgcheck  Then install what you want.  In my case I do: yum install mplayer ffmpeg gstreamer-plugins-bad gstreamer-plugins-bad-nonfree gstreamer-plugins-ugly unrar
  • NVIDIA hardware accelerated opengl drivers: A must for any gamer or flight sim enthusiast (or flight sim developer!)  Once you setup the repository you can run “yum install akmod-nvidia” to install nvidia drivers for your system.  Be sure to reboot to activate them.
  • Here is my personal list of extra packages I like to install on any fedora system: yum install emacs jpilot lsb gnumeric subversion subversion-devel apr apr-devel openal-soft openal-soft-devel freealut freealut-devel freeglut freeglut-devel libudev-devel fltk-devel fltk-fluid libopenvrlm-devel system-config-lvm librsvg2-devel libpng-devel libjpg-devel texi2html chrpathopencv opencv-devel aspell lm_sensors gnome-shell-extension-weather gnome-shell-extension-cpu-temperature gnome-shell-extension-systemMonitor gnome-tweak-tool libreoffice minicom inkscape
  • Virtualbox: I’ve always run virtualbox (now owned by oracle) but Fedora by default now has something called “boxes”.  I need to check that out at some point and see if it works.  If I can migrate my disk image over without needing to reinstall Windows XP again from scratch it might be worth doing, just to use default packages.  Oh by the way, I’m a linux guy, but I have windows xp setup in a virtual box to run a couple small programs once in a while.
  • Do you want to see the date on the status bar?  Run gnome-tweak-tool and do: Shell -> show date in clock -> on
  • Do you want google chome?  Go download the package from google and “rpm -Uvh <filename>.rpm”  Make sure you have run “yum install lsb” first to get the required supporting libs.


So far I’ve been very pleased with the newest release of Fedora.  Fedora 18 is a worthy successor to Fedora 17 and the previous versions too.  If you are coming from some other platform, you may find aggravations or things that don’t work (or don’t work the same way.)  But if you are coming from a Fedora background, everything I do works at least as good or better in the new Fedora 18.  With a bit of tweaking for personal preference, it offers a very solid and very powerful system with recent versions of the kernel, gnome, gcc, libreoffice, gimp and other major software packages.  It is built around standard open source packages so if there are glitches or things I (or others) might not like, you will often find the exact same behavior in other modern Linux distributions that are built on the same packages.  The upgrade installer “fedup” is worthless as far as I’ve been able to see.  But installing from scratch works great.  I can’t say if Fedora is better or worse than other linux distributions (I know we all have our personal preferences) but I will say that I’m a solidly commited “linux guy” and Fedora 18 is really great and the best Fedora so far.