Brandon's [http://dev.ardupilot.com/wiki/droneapi-tutorial/ drone api tutorial]. Drone API allows you to use Python scripts that send commands to the 'copter directly, using the MavLink communication protocol the 'copter uses.