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 ;
113 record_map["Phi_deg"] = Phi_deg_record ;
114 record_map["Theta_deg"] = Theta_deg_record ;
115 record_map["Psi_deg"] = Psi_deg_record ;
118 /******************** Accelerations ********************/
119 // accelerations in local axes
120 record_map["V_dot_north"] = V_dot_north_record ;
121 record_map["V_dot_east"] = V_dot_east_record ;
122 record_map["V_dot_down"] = V_dot_down_record ;
124 // accelerations in body axes
125 record_map["U_dot_body"] = U_dot_body_record ;
126 record_map["V_dot_body"] = V_dot_body_record ;
127 record_map["W_dot_body"] = W_dot_body_record ;
129 // acceleration of pilot
130 record_map["A_X_pilot"] = A_X_pilot_record ;
131 record_map["A_Y_pilot"] = A_Y_pilot_record ;
132 record_map["A_Z_pilot"] = A_Z_pilot_record ;
134 // acceleration of cg
135 record_map["A_X_cg"] = A_X_cg_record ;
136 record_map["A_Y_cg"] = A_Y_cg_record ;
137 record_map["A_Z_cg"] = A_Z_cg_record ;
139 // acceleration of pilot
140 record_map["N_X_pilot"] = N_X_pilot_record ;
141 record_map["N_Y_pilot"] = N_Y_pilot_record ;
142 record_map["N_Z_pilot"] = N_Z_pilot_record ;
144 // acceleration of cg
145 record_map["N_X_cg"] = N_X_cg_record ;
146 record_map["N_Y_cg"] = N_Y_cg_record ;
147 record_map["N_Z_cg"] = N_Z_cg_record ;
149 // moment acceleration rates
150 record_map["P_dot_body"] = P_dot_body_record ;
151 record_map["Q_dot_body"] = Q_dot_body_record ;
152 record_map["R_dot_body"] = R_dot_body_record ;
155 // end uiuc_map_record1.cpp