]> git.mxchange.org Git - flightgear.git/blob - src/FDM/UIUCModel/uiuc_map_record1.cpp
Goodbye automake.
[flightgear.git] / src / FDM / UIUCModel / uiuc_map_record1.cpp
1 /********************************************************************** 
2  
3  FILENAME:     uiuc_map_record1.cpp
4
5 ---------------------------------------------------------------------- 
6
7  DESCRIPTION:  initializes the record maps for time, mass, geometry, 
8                positions, and accelerations
9
10 ----------------------------------------------------------------------
11  
12  STATUS:       alpha version
13
14 ----------------------------------------------------------------------
15  
16  REFERENCES:   
17  
18 ----------------------------------------------------------------------
19  
20  HISTORY:      06/03/2000   file creation
21
22 ----------------------------------------------------------------------
23  
24  AUTHOR(S):    Bipin Sehgal       <bsehgal@uiuc.edu>
25                Jeff Scott         <jscott@mail.com>
26  
27 ----------------------------------------------------------------------
28  
29  VARIABLES:
30  
31 ----------------------------------------------------------------------
32  
33  INPUTS:       none
34  
35 ----------------------------------------------------------------------
36  
37  OUTPUTS:      none
38  
39 ----------------------------------------------------------------------
40  
41  CALLED BY:    uiuc_initializemaps.cpp
42  
43 ----------------------------------------------------------------------
44  
45  CALLS TO:     none
46  
47 ----------------------------------------------------------------------
48  
49  COPYRIGHT:    (C) 2000 by Michael Selig
50  
51  This program is free software; you can redistribute it and/or
52  modify it under the terms of the GNU General Public License
53  as published by the Free Software Foundation.
54  
55  This program is distributed in the hope that it will be useful,
56  but WITHOUT ANY WARRANTY; without even the implied warranty of
57  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
58  GNU General Public License for more details.
59
60  You should have received a copy of the GNU General Public License
61  along with this program; if not, write to the Free Software
62  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
63
64 **********************************************************************/
65
66 #include "uiuc_map_record1.h"
67
68
69 void uiuc_map_record1()
70 {
71   /************************* Time ************************/
72   record_map["Simtime"]           =      Simtime_record             ;
73   record_map["dt"]                =      dt_record                  ;
74
75
76   /************************* Mass ************************/
77   record_map["Weight"]            =      Weight_record              ;
78   record_map["Mass"]              =      Mass_record                ;
79   record_map["I_xx"]              =      I_xx_record                ;
80   record_map["I_yy"]              =      I_yy_record                ;
81   record_map["I_zz"]              =      I_zz_record                ;
82   record_map["I_xz"]              =      I_xz_record                ;
83
84
85   /*********************** Geometry **********************/
86   // pilot reference locations
87   record_map["Dx_pilot"]          =      Dx_pilot_record            ;
88   record_map["Dy_pilot"]          =      Dy_pilot_record            ;
89   record_map["Dz_pilot"]          =      Dz_pilot_record            ;
90
91   // cg reference locations
92   record_map["Dx_cg"]             =      Dx_cg_record               ;
93   record_map["Dy_cg"]             =      Dy_cg_record               ;
94   record_map["Dz_cg"]             =      Dz_cg_record               ;
95
96
97   /********************** Positions **********************/
98   // geocentric positions
99   record_map["Lat_geocentric"]       =   Lat_geocentric_record       ;
100   record_map["Lon_geocentric"]       =   Lon_geocentric_record       ;
101   record_map["Radius_to_vehicle"]    =   Radius_to_vehicle_record    ;
102
103   // geodetic positions
104   record_map["Latitude"]           =     Latitude_record            ;
105   record_map["Longitude"]          =     Longitude_record           ;
106   record_map["Altitude"]           =     Altitude_record            ;
107
108   // Euler angles
109   record_map["Phi"]               =      Phi_record                 ;
110   record_map["Theta"]             =      Theta_record               ;
111   record_map["Psi"]               =      Psi_record                 ;
112   record_map["Phi_deg"]           =      Phi_deg_record             ;
113   record_map["Theta_deg"]         =      Theta_deg_record           ;
114   record_map["Psi_deg"]           =      Psi_deg_record             ;
115
116
117   /******************** Accelerations ********************/
118   // accelerations in local axes
119   record_map["V_dot_north"]       =      V_dot_north_record         ;
120   record_map["V_dot_east"]        =      V_dot_east_record          ;
121   record_map["V_dot_down"]        =      V_dot_down_record          ;
122
123   // accelerations in body axes
124   record_map["U_dot_body"]        =      U_dot_body_record          ;
125   record_map["V_dot_body"]        =      V_dot_body_record          ;
126   record_map["W_dot_body"]        =      W_dot_body_record          ;
127
128   // acceleration of pilot
129   record_map["A_X_pilot"]         =      A_X_pilot_record           ;
130   record_map["A_Y_pilot"]         =      A_Y_pilot_record           ;
131   record_map["A_Z_pilot"]         =      A_Z_pilot_record           ;
132
133   // acceleration of cg
134   record_map["A_X_cg"]            =      A_X_cg_record              ;
135   record_map["A_Y_cg"]            =      A_Y_cg_record              ;
136   record_map["A_Z_cg"]            =      A_Z_cg_record              ;
137
138   // acceleration of pilot
139   record_map["N_X_pilot"]         =      N_X_pilot_record           ;
140   record_map["N_Y_pilot"]         =      N_Y_pilot_record           ;
141   record_map["N_Z_pilot"]         =      N_Z_pilot_record           ;
142
143   // acceleration of cg
144   record_map["N_X_cg"]            =      N_X_cg_record              ;
145   record_map["N_Y_cg"]            =      N_Y_cg_record              ;
146   record_map["N_Z_cg"]            =      N_Z_cg_record              ;
147
148   // moment acceleration rates
149   record_map["P_dot_body"]        =      P_dot_body_record          ;
150   record_map["Q_dot_body"]        =      Q_dot_body_record          ;
151   record_map["R_dot_body"]        =      R_dot_body_record          ;
152 }
153
154 // end uiuc_map_record1.cpp