1 // external.hxx -- the "external" flight model (driven from other
4 // Written by Curtis Olson, started December 1998.
6 // Copyright (C) 1998 Curtis L. Olson - curt@flightgear.org
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.
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.
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.
30 # error This library requires C++
34 #include <Time/fg_time.hxx>
35 #include <Time/timestamp.hxx>
39 class fgFDM_EXTERNAL {
45 // The time at which these values are correct (for extrapolating
46 // later frames between position updates)
51 // placement in geodetic coordinates
56 // orientation in euler angles relative to local frame (or ground
59 double Theta; // pitch
60 double Psi; // heading
64 // velocities in geodetic coordinates
65 double Latitude_dot; // rad/sec
66 double Longitude_dot; // rad/sec
67 double Altitude_dot; // feet/sec
77 // reset flight params to a specific position
78 void fgExternalInit( FGInterface& f );
81 #endif // _EXTERNAL_HXX