]> git.mxchange.org Git - flightgear.git/blob - src/FDM/External/external.hxx
source tree reorganization prior to flightgear 0.7
[flightgear.git] / src / FDM / External / external.hxx
1 // external.hxx -- the "external" flight model (driven from other
2 //                 external input)
3 //
4 // Written by Curtis Olson, started December 1998.
5 //
6 // Copyright (C) 1998  Curtis L. Olson  - curt@flightgear.org
7 //
8 // This program is free software; you can redistribute it and/or
9 // modify it under the terms of the GNU General Public License as
10 // published by the Free Software Foundation; either version 2 of the
11 // License, or (at your option) any later version.
12 //
13 // This program is distributed in the hope that it will be useful, but
14 // WITHOUT ANY WARRANTY; without even the implied warranty of
15 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
16 // General Public License for more details.
17 //
18 // You should have received a copy of the GNU General Public License
19 // along with this program; if not, write to the Free Software
20 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21 //
22 // $Id$
23
24
25 #ifndef _EXTERNAL_HXX
26 #define _EXTERNAL_HXX
27
28
29 #ifndef __cplusplus                                                          
30 # error This library requires C++
31 #endif                                   
32
33
34 #include <Time/fg_time.hxx>
35 #include <Time/timestamp.hxx>
36
37
38 /*
39 class fgFDM_EXTERNAL {
40
41 public:
42
43     // Time Stamp
44
45     // The time at which these values are correct (for extrapolating
46     // later frames between position updates)
47     FGTimeStamp t;
48
49     // Positions
50
51     // placement in geodetic coordinates
52     double Latitude;
53     double Longitude;
54     double Altitude;
55
56     // orientation in euler angles relative to local frame (or ground
57     // position)
58     double Phi;       // roll
59     double Theta;     // pitch
60     double Psi;       // heading
61
62     // Velocities
63
64     // velocities in geodetic coordinates
65     double Latitude_dot;   // rad/sec
66     double Longitude_dot;  // rad/sec
67     double Altitude_dot;   // feet/sec
68
69     // rotational rates
70     double Phi_dot;
71     double Theta_dot;
72     double Psi_dot;
73 };
74 */
75
76
77 // reset flight params to a specific position 
78 void fgExternalInit( FGInterface& f );
79
80
81 #endif // _EXTERNAL_HXX
82
83