]> git.mxchange.org Git - flightgear.git/blob - src/FDM/UIUCModel/uiuc_map_record2.cpp
Updated to match changes in radiostack.[ch]xx
[flightgear.git] / src / FDM / UIUCModel / uiuc_map_record2.cpp
1 /********************************************************************** 
2  
3  FILENAME:     uiuc_map_record2.cpp
4
5 ---------------------------------------------------------------------- 
6
7  DESCRIPTION:  initializes the record maps for velocities and angles
8
9 ----------------------------------------------------------------------
10  
11  STATUS:       alpha version
12
13 ----------------------------------------------------------------------
14  
15  REFERENCES:   
16  
17 ----------------------------------------------------------------------
18  
19  HISTORY:      06/03/2000   file creation
20
21 ----------------------------------------------------------------------
22  
23  AUTHOR(S):    Bipin Sehgal       <bsehgal@uiuc.edu>
24                Jeff Scott         <jscott@mail.com>
25  
26 ----------------------------------------------------------------------
27  
28  VARIABLES:
29  
30 ----------------------------------------------------------------------
31  
32  INPUTS:       none
33  
34 ----------------------------------------------------------------------
35  
36  OUTPUTS:      none
37  
38 ----------------------------------------------------------------------
39  
40  CALLED BY:    uiuc_initializemaps.cpp
41  
42 ----------------------------------------------------------------------
43  
44  CALLS TO:     none
45  
46 ----------------------------------------------------------------------
47  
48  COPYRIGHT:    (C) 2000 by Michael Selig
49  
50  This program is free software; you can redistribute it and/or
51  modify it under the terms of the GNU General Public License
52  as published by the Free Software Foundation.
53  
54  This program is distributed in the hope that it will be useful,
55  but WITHOUT ANY WARRANTY; without even the implied warranty of
56  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
57  GNU General Public License for more details.
58  
59  You should have received a copy of the GNU General Public License
60  along with this program; if not, write to the Free Software
61  Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
62  USA or view http://www.gnu.org/copyleft/gpl.html.
63  
64 **********************************************************************/
65
66 #include "uiuc_map_record2.h"
67
68
69 void uiuc_map_record2()
70 {
71   /********************** Velocities *********************/
72   // local velocities
73   record_map["V_north"]           =      V_north_record             ;
74   record_map["V_east"]            =      V_east_record              ;
75   record_map["V_down"]            =      V_down_record              ;
76
77   // local velocities wrt ground
78   record_map["V_north_rel_ground"]  =    V_north_rel_ground_record  ;
79   record_map["V_east_rel_ground"]   =    V_east_rel_ground_record   ;
80   record_map["V_down_rel_ground"]   =    V_down_rel_ground_record   ;
81
82   // steady airmass velocities
83   record_map["V_north_airmass"]   =      V_north_airmass_record     ;
84   record_map["V_east_airmass"]    =      V_east_airmass_record      ;
85   record_map["V_down_airmass"]    =      V_down_airmass_record      ;
86
87   // local velocities wrt steady airmass
88   record_map["V_north_rel_airmass"]  =   V_north_rel_airmass_record  ;
89   record_map["V_east_rel_airmass"]   =   V_east_rel_airmass_record   ;
90   record_map["V_down_rel_airmass"]   =   V_down_rel_airmass_record   ;
91
92   // local linear turbulence velocities
93   record_map["U_gust"]            =      U_gust_record              ;
94   record_map["V_gust"]            =      V_gust_record              ;
95   record_map["W_gust"]            =      W_gust_record              ;
96
97   // wind velocities in body axis
98   record_map["U_body"]            =      U_body_record              ;
99   record_map["V_body"]            =      V_body_record              ;
100   record_map["W_body"]            =      W_body_record              ;
101
102   // other velocities
103   record_map["V_rel_wind"]        =      V_rel_wind_record          ;
104   record_map["V_true_kts"]        =      V_true_kts_record          ;
105   record_map["V_rel_ground"]      =      V_rel_ground_record        ;
106   record_map["V_inertial"]        =      V_inertial_record          ;
107   record_map["V_ground_speed"]    =      V_ground_speed_record      ;
108   record_map["V_equiv"]           =      V_equiv_record             ;
109   record_map["V_equiv_kts"]       =      V_equiv_kts_record         ;
110   record_map["V_calibrated"]      =      V_calibrated_record        ;
111   record_map["V_calibrated_kts"]  =      V_calibrated_kts_record    ;
112
113   // angular rates in local axis
114   record_map["P_local"]           =      P_local_record             ;
115   record_map["Q_local"]           =      Q_local_record             ;
116   record_map["R_local"]           =      R_local_record             ;
117
118   // angular rates in body axis
119   record_map["P_body"]            =      P_body_record              ;
120   record_map["Q_body"]            =      Q_body_record              ;
121   record_map["R_body"]            =      R_body_record              ;
122
123   // difference between local and body angular rates
124   record_map["P_total"]           =      P_total_record             ;
125   record_map["Q_total"]           =      Q_total_record             ;
126   record_map["R_total"]           =      R_total_record             ;
127
128   // Euler rates
129   record_map["Phi_dot"]           =      Phi_dot_record             ;
130   record_map["Theta_dot"]         =      Theta_dot_record           ;
131   record_map["Psi_dot"]           =      Psi_dot_record             ;
132
133   // Geocentric rates
134   record_map["Latitude_dot"]      =      Latitude_dot_record        ;
135   record_map["Longitude_dot"]     =      Longitude_dot_record       ;
136   record_map["Radius_dot"]        =      Radius_dot_record          ;
137
138
139   /************************ Angles ***********************/
140   record_map["Alpha"]             =      Alpha_record               ;
141   record_map["Alpha_deg"]         =      Alpha_deg_record           ;
142   record_map["Alpha_dot"]         =      Alpha_dot_record           ;
143   record_map["Alpha_dot_deg"]     =      Alpha_dot_deg_record       ;
144   record_map["Beta"]              =      Beta_record                ;
145   record_map["Beta_deg"]          =      Beta_deg_record            ;
146   record_map["Beta_dot"]          =      Beta_dot_record            ;
147   record_map["Beta_dot_deg"]      =      Beta_dot_deg_record        ;
148   record_map["Gamma_vert"]        =      Gamma_vert_record          ;
149   record_map["Gamma_vert_deg"]    =      Gamma_vert_deg_record      ;
150   record_map["Gamma_horiz"]       =      Gamma_horiz_record         ;
151   record_map["Gamma_horiz_deg"]   =      Gamma_horiz_deg_record     ;
152 }
153
154 // end uiuc_map_record2.cpp