]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/flight.hxx
Honor the /sim/freeze/fuel property to inhibit fuel consumption at runtime.
[flightgear.git] / src / FDM / flight.hxx
index 4a6d98c3d298bc08daeb0328e005fde068db2875..810ec38b80ac2f84801628128c37ef03fb74b00d 100644 (file)
 #include <string>
 
 #include <simgear/constants.h>
-// #include <simgear/timing/timestamp.hxx>
-
 #include <Main/fgfs.hxx>
-#include <Model/model.hxx>
-#include <Main/location.hxx>
 
 SG_USING_STD(list);
 SG_USING_STD(vector);
@@ -839,6 +835,9 @@ public:
     inline double get_Phi_dot() const { return euler_rates_v[0]; }
     inline double get_Theta_dot() const { return euler_rates_v[1]; }
     inline double get_Psi_dot() const { return euler_rates_v[2]; }
+    inline double get_Phi_dot_degps() const { return euler_rates_v[0] * SGD_RADIANS_TO_DEGREES; }
+    inline double get_Theta_dot_degps() const { return euler_rates_v[1] * SGD_RADIANS_TO_DEGREES; }
+    inline double get_Psi_dot_degps() const { return euler_rates_v[2] * SGD_RADIANS_TO_DEGREES; }
 
     // inline double * get_Geocentric_rates_v() { return geocentric_rates_v; }
     inline double get_Latitude_dot() const { return geocentric_rates_v[0]; }