1 /**********************************************************************
3 FILENAME: uiuc_map_record1.cpp
5 ----------------------------------------------------------------------
7 DESCRIPTION: initializes the record maps for time, mass, geometry,
8 positions, and accelerations
10 ----------------------------------------------------------------------
14 ----------------------------------------------------------------------
18 ----------------------------------------------------------------------
20 HISTORY: 06/03/2000 file creation
22 ----------------------------------------------------------------------
24 AUTHOR(S): Bipin Sehgal <bsehgal@uiuc.edu>
25 Jeff Scott <jscott@mail.com>
27 ----------------------------------------------------------------------
31 ----------------------------------------------------------------------
35 ----------------------------------------------------------------------
39 ----------------------------------------------------------------------
41 CALLED BY: uiuc_initializemaps.cpp
43 ----------------------------------------------------------------------
47 ----------------------------------------------------------------------
49 COPYRIGHT: (C) 2000 by Michael Selig
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.
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.
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.
64 **********************************************************************/
66 #include "uiuc_map_record1.h"
69 void uiuc_map_record1()
71 /************************* Time ************************/
72 record_map["Simtime"] = Simtime_record ;
73 record_map["dt"] = dt_record ;
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 ;
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 ;
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 ;
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 ;
103 // geodetic positions
104 record_map["Latitude"] = Latitude_record ;
105 record_map["Longitude"] = Longitude_record ;
106 record_map["Altitude"] = Altitude_record ;
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 ;
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 ;
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 ;
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 ;
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 ;
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 ;
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 ;
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 ;
154 // end uiuc_map_record1.cpp