]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/YASim/Atmosphere.hpp
Use SG_LOG for debugging messages from the YASim helicopter model.
[flightgear.git] / src / FDM / YASim / Atmosphere.hpp
index 2c10ff321366a30cf53b9f58f85d57ceca130a7f..b0cfd3d868adfbdb0977c1a22c4f60ded6e56fc8 100644 (file)
@@ -10,9 +10,12 @@ public:
     static float getStdDensity(float alt);
 
     static float calcVCAS(float spd, float pressure, float temp);
-    static float calcVEAS(float spd, float pressure, float temp);
+    static float calcVEAS(float spd, float pressure, float temp, float density);
     static float calcMach(float spd, float temp);
-    static float calcDensity(float pressure, float temp);
+    static float calcStdDensity(float pressure, float temp);
+
+    static float spdFromMach(float mach, float temp);
+    static float spdFromVCAS(float vcas, float pressure, float temp);
     
     // Given ambient ("0") pressure/density/temperature values,
     // calculate the properties of static air (air accelerated to the