]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Propeller.hpp
latest updates from JSBSim
[flightgear.git] / src / FDM / YASim / Propeller.hpp
index beb197a7e79403ce075de986eda50f33aac9bb00..3f2b6099eb5de35b6b0ad14473f74565d5ccdab7 100644 (file)
@@ -16,10 +16,18 @@ public:
     // course.
     Propeller(float radius, float v, float omega, float rho, float power);
 
+    void setStops (float fine_stop, float coarse_stop);
+
     void setTakeoff(float omega0, float power0);
 
     void modPitch(float mod);
 
+    void setPropPitch(float proppitch);
+
+    void setPropFeather(int state);
+
+    void setManualPitch();
+
     void calc(float density, float v, float omega,
              float* thrustOut, float* torqueOut);
 
@@ -32,7 +40,12 @@ private:
     float _lambdaPeak;  // constant, ~0.759835;
     float _beta;        // constant, ~1.48058;
     float _tc0;         // thrust "coefficient" at takeoff
+    float _fine_stop;   // ratio for minimum pitch (high RPM)
+    float _coarse_stop; // ratio for maximum pitch (low RPM)
     bool  _matchTakeoff; // Does _tc0 mean anything?
+    bool  _manual;      // manual pitch mode
+    float _proppitch;   // prop pitch control setting (0 ~ 1.0)
+    float _propfeather; // prop feather control setting (0 = norm, 1 = feather)
 };
 
 }; // namespace yasim