# 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
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
# 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;
// Other interesting/useful values
double hground; // ground elevation (meters)
+ double magvar; // local magnetic variation in degrees.
+ int speedup; // integer speedup multiplier
};