1 // ADA.hxx -- interface to the "External"-ly driven ADA flight model
3 // This program is free software; you can redistribute it and/or
4 // modify it under the terms of the GNU General Public License as
5 // published by the Free Software Foundation; either version 2 of the
6 // License, or (at your option) any later version.
8 // This program is distributed in the hope that it will be useful, but
9 // WITHOUT ANY WARRANTY; without even the implied warranty of
10 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11 // General Public License for more details.
13 // You should have received a copy of the GNU General Public License
14 // along with this program; if not, write to the Free Software
15 // Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 #include <FDM/flight.hxx>
29 class FGADA: public FGInterface {
35 // Auxilliary Flight Model parameters, basically for HUD
36 double aux1; // auxilliary flag
37 double aux2; // auxilliary flag
38 double aux3; // auxilliary flag
39 double aux4; // auxilliary flag
40 double aux5; // auxilliary flag
41 double aux6; // auxilliary flag
42 double aux7; // auxilliary flag
43 double aux8; // auxilliary flag
44 float aux9; // auxilliary flag
45 float aux10; // auxilliary flag
46 float aux11; // auxilliary flag
47 float aux12; // auxilliary flag
48 float aux13; // auxilliary flag
49 float aux14; // auxilliary flag
50 float aux15; // auxilliary flag
51 float aux16; // auxilliary flag
52 float aux17; // auxilliary flag
53 float aux18; // auxilliary flag
54 int iaux1; // auxilliary flag
55 int iaux2; // auxilliary flag
56 int iaux3; // auxilliary flag
57 int iaux4; // auxilliary flag
58 int iaux5; // auxilliary flag
59 int iaux6; // auxilliary flag
60 int iaux7; // auxilliary flag
61 int iaux8; // auxilliary flag
62 int iaux9; // auxilliary flag
63 int iaux10; // auxilliary flag
64 int iaux11; // auxilliary flag
65 int iaux12; // auxilliary flag
67 // copy FDM state to FGADA structures
70 // copy FDM state from FGADA structures
71 bool copy_from_FGADA();
78 // reset flight params to a specific position
81 // update position based on inputs, positions, velocities, etc.
82 void update(double dt);