]> git.mxchange.org Git - flightgear.git/commitdiff
Added fields ... this is a work in progress.
authorcurt <curt>
Wed, 27 Mar 2002 05:20:45 +0000 (05:20 +0000)
committercurt <curt>
Wed, 27 Mar 2002 05:20:45 +0000 (05:20 +0000)
src/Network/net_fdm.hxx
src/Network/raw_ctrls.hxx

index b1436e8457aca1f4d1bc509781f88ee6a6829b03..ad7bbda06e3be12f8a7e169e7f238e620fa39119 100644 (file)
@@ -30,7 +30,7 @@
 # error This library requires C++
 #endif                                   
 
-const int FG_NET_FDM_VERSION = 0x0004;
+const int FG_NET_FDM_VERSION = 5;
 
 // Define a structure containing the top level flight dynamics model
 // parameters
@@ -55,9 +55,17 @@ public:
     double psi;                        // yaw or true heading (radians)
 
     // Velocities
+    double phidot;             // roll rate (radians/sec)
+    double thetadot;           // pitch rate (radians/sec)
+    double psidot;             // yaw rate (radians/sec)
     double vcas;               // calibrated airspeed
     double climb_rate;         // feet per second
 
+    // Accelerations
+    double A_X_pilot;          // X accel in body frame ft/sec^2
+    double A_Y_pilot;          // Y accel in body frame ft/sec^2
+    double A_Z_pilot;          // Z accel in body frame ft/sec^2
+
     // Environment
     time_t cur_time;            // current unix time
     long int warp;              // offset in seconds to unix time
index bba3c36d9a8bfcf05ad22f95393cd3cf7877cece..001a21b599df017797758598f2f4c44455fb513c 100644 (file)
@@ -30,7 +30,7 @@
 # error This library requires C++
 #endif                                   
 
-const int FG_RAW_CTRLS_VERSION = 3;
+const int FG_RAW_CTRLS_VERSION = 4;
 
 const int FG_MAX_ENGINES = 4;
 const int FG_MAX_WHEELS = 3;
@@ -58,6 +58,8 @@ public:
 
     // Other interesting/useful values
     double hground;                     // ground elevation (meters)
+    double magvar;                      // local magnetic variation in degrees.
+    int speedup;                        // integer speedup multiplier
 };