Added fields ... this is a work in progress.
This commit is contained in:
parent
6ca7d9ae00
commit
2e34bfc5af
2 changed files with 12 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
};
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue