]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Propeller.hpp
Add support for a turbo prop condition lever.
[flightgear.git] / src / FDM / YASim / Propeller.hpp
index beb197a7e79403ce075de986eda50f33aac9bb00..5a5905e2fc26382b7e77198a0b7f5afc75486b9e 100644 (file)
@@ -20,6 +20,12 @@ public:
 
     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);
 
@@ -33,6 +39,9 @@ private:
     float _beta;        // constant, ~1.48058;
     float _tc0;         // thrust "coefficient" at takeoff
     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