]> git.mxchange.org Git - flightgear.git/blob - src/Network/opengc_data.hxx
Revert to pre-wind-sticking ground reaction forces until they can be debugged.
[flightgear.git] / src / Network / opengc_data.hxx
1 // opengc.hxx -- define shared flight model parameters
2 //
3 // Version 1.0 by J. Wojnaroski for interface to Open Glass Displays
4 // Date: Nov 18,2001
5
6 // This program is free software; you can redistribute it and/or
7 // modify it under the terms of the GNU General Public License as
8 // published by the Free Software Foundation; either version 2 of the
9 // License, or (at your option) any later version.
10 //
11 // This program is distributed in the hope that it will be useful, but
12 // WITHOUT ANY WARRANTY; without even the implied warranty of
13 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
14 // General Public License for more details.
15 //
16 // You should have received a copy of the GNU General Public License
17 // along with this program; if not, write to the Free Software
18 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
19 //
20
21 #ifndef _OPENGC_HXX
22 #define _OPENGC_HXX
23
24 #ifndef __cplusplus
25 # error This library requires C++
26 #endif
27
28 class ogcFGData {
29
30 public:
31
32         // flight parameters
33         
34         double  pitch;
35         double  bank;
36         double  heading;
37         double  altitude;
38         double  altitude_agl;
39         double  v_kcas;
40         double  groundspeed;
41         double  vvi;
42
43         // position
44
45         double  latitude;
46         double  longitude;
47         double  magvar;
48
49         // engine data
50
51         double  rpm[4];
52         double  epr[4];
53         double  egt[4];
54         double  fuel_flow[4];
55         double  oil_pressure[4];
56
57         // navigation data
58
59         double  nav1_freq;
60         double  nav1_radial;
61         double  nav1_course_dev;
62
63         double  nav2_freq;
64         double  nav2_radial;
65         double  nav2_course_dev;
66
67         // some other locations to add stuff in   
68     double d_ogcdata[16];
69     float  f_ogcdata[16];
70     int    i_ogcdata[16];
71 };
72
73 #endif // _OPENGC_HXX