Archive for February, 2007

Super Cub Upgrade to Spektrum DX6

Tuesday, February 27th, 2007

This weekend I upgraded my HobbyZone Super Cub R/C plane to use the Spektrum DX6 radio. I started by tearing out all the proprietary HobbyZone electronics. This includes the big black box (which is a receiver and speed controller), and the slow, huge ParkZone servos. To replace them, I used two of the four servos that came with my DX6 radio, the AR6000 receiver that also came with the radio, and an Electrifly C-7 speed control.

I mounted the AR6000 receiver on the side of the cockpit with a bit of velcro, like this:

Read on for details…

(more…)

Super Cub with Parachute Man

Tuesday, February 6th, 2007

I finally got the X-port drop module for my HobbyZone Super Cub and took to the skies with a parachute man on-board. Here’s a small video of his decent. The quality isn’t that great, so my apologies.


Qt: Improving QGraphicsView Performance

Saturday, February 3rd, 2007

I recently wrote a Qt-based application in C++ that relies heavily on the QGraphicsView framework that made its first public appearance in Qt 4.2. QGraphicsView has been the target of some criticism for poor performance. I am a long-time user of Qt3’s QCanvas class which served me very well, in performance terms, but that lacked several features that made it both difficult to use and less pretty. Namely, it had poor support for mouse handling and item selection, and it had no support for anti-aliasing or alpha-level transparency. The one thing it did have, however, was speed, blazing fast speed. I could throw hundreds of QCanvasItems on the screen with no apparent slow down. Blazing speed.

Then along came QGraphicsView, which promised to be every bit as fast as QCanvas, but with a much more intuitive mouse handling, item selection, and animation API. It’s true, the QGraphicsView is miles ahead of QCanvas in that regard. You basically get all that stuff for free. It even sports multi-select using both meta keys and a rubber band, all built in. It’s fantastic. What QGraphicsView doesn’t provide, however, is speed. Over the past few months I’ve found a couple tricks that speed things up a bit. Read on for three tips that have helped me improve QGraphicsView performance.

(more…)