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., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
63 USA or view http://www.gnu.org/copyleft/gpl.html.
65 **********************************************************************/
67 #include "uiuc_map_record1.h"
70 void uiuc_map_record1()
72 /************************* Time ************************/
73 record_map["Simtime"] = Simtime_record ;
74 record_map["dt"] = dt_record ;
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 ;
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 ;
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 ;
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 ;
104 // geodetic positions
105 record_map["Latitude"] = Latitude_record ;
106 record_map["Longitude"] = Longitude_record ;
107 record_map["Altitude"] = Altitude_record ;
110 record_map["Phi"] = Phi_record ;
111 record_map["Theta"] = Theta_record ;
112 record_map["Psi"] = Psi_record ;
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 ;
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 ;
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 ;
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 ;
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 ;
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 ;
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 ;
152 // end uiuc_map_record1.cpp