]> git.mxchange.org Git - flightgear.git/commitdiff
sync. w. JSBSim CVS
authorehofman <ehofman>
Wed, 28 Oct 2009 14:28:17 +0000 (14:28 +0000)
committerTim Moore <timoore@redhat.com>
Wed, 28 Oct 2009 22:23:29 +0000 (23:23 +0100)
src/FDM/JSBSim/models/propulsion/FGRocket.cpp

index 8f699bfd8f80aed05df9934c59a90569d4c61354..7a72c9fe9fd01e45ff62e218c5cc8d9e75c08394 100644 (file)
@@ -151,7 +151,12 @@ double FGRocket::Calculate(void)
 
     } else { // Calculate thrust
 
-      PctPower = Throttle / MaxThrottle; // Min and MaxThrottle range from 0.0 to 1.0, normally.
+      // This is nonsensical. Max throttle should be assumed to be 1.0. One might
+      // conceivably have a throttle setting > 1.0 for some rocket engines. But, 1.0
+      // should always be the default.
+      // PctPower = Throttle / MaxThrottle; // Min and MaxThrottle range from 0.0 to 1.0, normally.
+      
+      PctPower = Throttle;
       Flameout = false;
       VacThrust = Isp * PropellantFlowRate;