//
// You should have received a copy of the GNU General Public License
// along with this program; if not, write to the Free Software
-// Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+// Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
//
#ifndef _OPENGC_DATA_HXX
int version_id;
int msg_type;
int msg_content;
+ int reserved;
// position
double latitude;
double longitude;
+ double elevation;
double magvar;
// flight parameters
double gear_left;
double gear_right;
double gear_left_rear;
- double gear_right_rear;
-
+ double gear_right_rear;
+ double parking_brake;
+ bool wow_main; // logical and of main gear
+ bool wow_nose;
// engine data
double rpm[4]; // this is for pistons, jets see below
- double n1_turbine[4];
+ double n1_turbine[4];
double epr[4];
double egt[4];
- double n2_turbine[4];
+ double n2_turbine[4];
double fuel_flow[4];
double man_pressure[4];
double oil_pressure[4];
+ double oil_temp[4];
+ double oil_quantity[4];
+ double hyd_pressure[4];
double throttle[4];
double mixture[4];
double prop_advance[4];
+
+ // fuel system
+ int num_tanks;
+ double fuel_tank[9];
// Pressures and temperatures
// more environmental data
double wind;
double wind_dir;
+ double sea_level_pressure;
};
#endif // _OPENGC_HXX