X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=src%2FFDM%2FYASim%2FAirplane.cpp;h=82b10d7d144844c255759b23206c5a6867243f0e;hb=adeeed1a0e9dba19ba9e02f3fb28ba080e6ff021;hp=be30389c1a8580a36d676008eccf5d6dbb005b86;hpb=4535c84b993fb9b6adecc9a699309b329f23c4ee;p=flightgear.git diff --git a/src/FDM/YASim/Airplane.cpp b/src/FDM/YASim/Airplane.cpp index be30389c1..82b10d7d1 100644 --- a/src/FDM/YASim/Airplane.cpp +++ b/src/FDM/YASim/Airplane.cpp @@ -1,5 +1,3 @@ -#include - #include "Atmosphere.hpp" #include "ControlMap.hpp" #include "Gear.hpp" @@ -892,13 +890,6 @@ void Airplane::solve() _tailIncidence = clamp(_tailIncidence, -0.174f, 0.174f); _approachElevator.val = clamp(_approachElevator.val, -1.f, 1.f); - fprintf(stderr, "p0 %6f p1 %6f e %5f d %5f\n", - apitch0, apitch1, _approachElevator.val, elevDelta); // DEBUG - - fprintf(stderr, "l %5f d %5f aoa %5f inc %5f ele %5f\n", - _liftRatio, _dragFactor, _cruiseAoA, _tailIncidence, - _approachElevator.val); - if(norm(dragFactor) < 1.00001 && norm(liftFactor) < 1.00001 && abs(aoaDelta) < .000017 &&