]> git.mxchange.org Git - flightgear.git/blob - src/FDM/UIUCModel/uiuc_map_record1.cpp
Updated Cameron's entry.
[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., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
63  USA or view http://www.gnu.org/copyleft/gpl.html.
64  
65 **********************************************************************/
66
67 #include "uiuc_map_record1.h"
68
69
70 void uiuc_map_record1()
71 {
72   /************************* Time ************************/
73   record_map["Simtime"]           =      Simtime_record             ;
74   record_map["dt"]                =      dt_record                  ;
75
76
77   /************************* Mass ************************/
78   record_map["Weight"]            =      Weight_record              ;
79   record_map["Mass"]              =      Mass_record                ;
80   record_map["I_xx"]              =      I_xx_record                ;
81   record_map["I_yy"]              =      I_yy_record                ;
82   record_map["I_zz"]              =      I_zz_record                ;
83   record_map["I_xz"]              =      I_xz_record                ;
84
85
86   /*********************** Geometry **********************/
87   // pilot reference locations
88   record_map["Dx_pilot"]          =      Dx_pilot_record            ;
89   record_map["Dy_pilot"]          =      Dy_pilot_record            ;
90   record_map["Dz_pilot"]          =      Dz_pilot_record            ;
91
92   // cg reference locations
93   record_map["Dx_cg"]             =      Dx_cg_record               ;
94   record_map["Dy_cg"]             =      Dy_cg_record               ;
95   record_map["Dz_cg"]             =      Dz_cg_record               ;
96
97
98   /********************** Positions **********************/
99   // geocentric positions
100   record_map["Lat_geocentric"]       =   Lat_geocentric_record       ;
101   record_map["Lon_geocentric"]       =   Lon_geocentric_record       ;
102   record_map["Radius_to_vehicle"]    =   Radius_to_vehicle_record    ;
103
104   // geodetic positions
105   record_map["Latitude"]           =     Latitude_record            ;
106   record_map["Longitude"]          =     Longitude_record           ;
107   record_map["Altitude"]           =     Altitude_record            ;
108
109   // Euler angles
110   record_map["Phi"]               =      Phi_record                 ;
111   record_map["Theta"]             =      Theta_record               ;
112   record_map["Psi"]               =      Psi_record                 ;
113
114
115   /******************** Accelerations ********************/
116   // accelerations in local axes
117   record_map["V_dot_north"]       =      V_dot_north_record         ;
118   record_map["V_dot_east"]        =      V_dot_east_record          ;
119   record_map["V_dot_down"]        =      V_dot_down_record          ;
120
121   // accelerations in body axes
122   record_map["U_dot_body"]        =      U_dot_body_record          ;
123   record_map["V_dot_body"]        =      V_dot_body_record          ;
124   record_map["W_dot_body"]        =      W_dot_body_record          ;
125
126   // acceleration of pilot
127   record_map["A_X_pilot"]         =      A_X_pilot_record           ;
128   record_map["A_Y_pilot"]         =      A_Y_pilot_record           ;
129   record_map["A_Z_pilot"]         =      A_Z_pilot_record           ;
130
131   // acceleration of cg
132   record_map["A_X_cg"]            =      A_X_cg_record              ;
133   record_map["A_Y_cg"]            =      A_Y_cg_record              ;
134   record_map["A_Z_cg"]            =      A_Z_cg_record              ;
135
136   // acceleration of pilot
137   record_map["N_X_pilot"]         =      N_X_pilot_record           ;
138   record_map["N_Y_pilot"]         =      N_Y_pilot_record           ;
139   record_map["N_Z_pilot"]         =      N_Z_pilot_record           ;
140
141   // acceleration of cg
142   record_map["N_X_cg"]            =      N_X_cg_record              ;
143   record_map["N_Y_cg"]            =      N_Y_cg_record              ;
144   record_map["N_Z_cg"]            =      N_Z_cg_record              ;
145
146   // moment acceleration rates
147   record_map["P_dot_body"]        =      P_dot_body_record          ;
148   record_map["Q_dot_body"]        =      Q_dot_body_record          ;
149   record_map["R_dot_body"]        =      R_dot_body_record          ;
150 }
151
152 // end uiuc_map_record1.cpp