MuMech/MechJeb2 — pull request #207 by numerobis (2013-10-10 17:47:31+00:00)
Title: Improved vessel stats for engines

Four main effects:
1. Allow the fuel flow analyzer to see tiny amounts of fuel when computing delta-V. This largely affects the LV-1 and 48-7S engines.

2. Let the vessel stats and info screens know about engines that are active but not pointing straight down. This mostly affects landers with angled engines. I compute the vectors, and the old sums of engines now becomes the forward component of the thrust.

3. Let the vessel stats know about engines with slow response (aka jets). When you throttle up a jet, its "current thrust" and "current acceleration" now refer to whatever happened last frame, rather than being assumed to match where the main throttle is.

4. Let the vessel stats know about engines with a velocity curve (aka jets). A turbojet now correctly reports that it only has half max thrust on liftoff, but full max thrust at 1km/s. A basic jet now correctly reports that it has full max thrust on liftoff (though it is very slow to spin up, see above) and zero max thrust at 1km/s.

Runtime effect of these changes appears to be negligible. I haven't fully tested with all the autopilots -- just the ascent module, SmartASS, and maneuver node execution -- but since the effect is to reduce the reported numbers and get them closer to true values, I don't expect major problems (rather I expect this should fix some corner cases).