autotrim
=============================================================================
Singleton class that supports quick trimming and compensates for the lack
of resistance/force feedback in most joysticks. Normally the pilot trims such
that no real or artificially generated (by means of servo motors and spring
preloading) forces act on the stick/yoke and it is in a comfortable position.
This doesn't work well on computer joysticks.
SYNOPSIS:
autotrim.start(); # on key/button press
autotrim.stop(); # on key/button release (mod-up)
USAGE:
(1) move the stick such that the aircraft is in an orientation that
you want to trim for (forward flight, hover, ...)
(2) press autotrim button and keep it pressed
(3) move stick/yoke to neutral position (center)
(4) release autotrim button