paparazzi/paparazzi — pull request #251 by dewagter (2012-08-03 10:53:27+00:00)
Title: Total Energy Control

pitch from airspeed, throttle from altitude, ... or maybe pitch from altitude and throttle from airspeed. Oh, no then we stall when the propulsion has a problem... then we do pitch from airspeed. Oh no, then the plane will dive into the ground during takeoff. Then we will takeoff with throttle from airspeed on take-off, then switch to pitch from airspeed for flight and landing. But then we must make sure we do not climb to hard to keep the speed within limits. Let's limit the MAX_CLIMB to 1m/s. Hmmm... Why can't it just do what it is supposed to do: climb and descend fast, fly at the correct airspeed all the time, not stall on motor problems and not crash on takeoff without any mode change?

Well now you can:

Total Energy Control for paparazzi-fixedwing with imu.

throttle controls the lack of energy, and pitch the balance (airspeed/height)