Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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, 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)
-on total-energy saturation (e.g. engine failure or max climb) the energy balance lets loose of the altitude
-on takeoff the plane will not dive if the acceleration requirement is met
-you can climb with 100% and descend with 0% throttle
-full-speed climb loop (e.g. 100Hz in imu_aspirin) instead of old 4Hz
Test pilots are being searched.