]> git.mxchange.org Git - flightgear.git/blob - src/FDM/UIUCModel/uiuc_map_init.cpp
Port over remaining Point3D usage to the more type and unit safe SG* classes.
[flightgear.git] / src / FDM / UIUCModel / uiuc_map_init.cpp
1 /********************************************************************** 
2  
3  FILENAME:     uiuc_map_init.cpp 
4
5 ---------------------------------------------------------------------- 
6
7  DESCRIPTION:  initializes the init map
8
9 ----------------------------------------------------------------------
10  
11  STATUS:       alpha version
12
13 ----------------------------------------------------------------------
14  
15  REFERENCES:   
16  
17 ----------------------------------------------------------------------
18  
19  HISTORY:      04/08/2000   initial release
20                06/18/2001   (RD) Added Alpha, Beta, U_body
21                             V_body, and W_body.
22                08/20/2003   (RD) Removed old_flap_routine
23
24 ----------------------------------------------------------------------
25  
26  AUTHOR(S):    Bipin Sehgal       <bsehgal@uiuc.edu>
27                Jeff Scott         <jscott@mail.com>
28                Robert Deters      <rdeters@uiuc.edu>
29  
30 ----------------------------------------------------------------------
31  
32  VARIABLES:
33  
34 ----------------------------------------------------------------------
35  
36  INPUTS:       none
37  
38 ----------------------------------------------------------------------
39  
40  OUTPUTS:      none
41  
42 ----------------------------------------------------------------------
43  
44  CALLED BY:    uiuc_initializemaps.cpp
45  
46 ----------------------------------------------------------------------
47  
48  CALLS TO:     none
49  
50 ----------------------------------------------------------------------
51  
52  COPYRIGHT:    (C) 2000 by Michael Selig
53  
54  This program is free software; you can redistribute it and/or
55  modify it under the terms of the GNU General Public License
56  as published by the Free Software Foundation.
57  
58  This program is distributed in the hope that it will be useful,
59  but WITHOUT ANY WARRANTY; without even the implied warranty of
60  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
61  GNU General Public License for more details.
62
63  You should have received a copy of the GNU General Public License
64  along with this program; if not, write to the Free Software
65  Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
66
67 **********************************************************************/
68
69 #include "uiuc_map_init.h"
70
71
72 void uiuc_map_init()
73 {
74   init_map["Dx_pilot"]            =      Dx_pilot_flag              ;
75   init_map["Dy_pilot"]            =      Dy_pilot_flag              ;
76   init_map["Dz_pilot"]            =      Dz_pilot_flag              ;
77   init_map["Dx_cg"]               =      Dx_cg_flag                 ;
78   init_map["Dy_cg"]               =      Dy_cg_flag                 ;
79   init_map["Dz_cg"]               =      Dz_cg_flag                 ;
80   init_map["Altitude"]            =      Altitude_flag              ;
81   init_map["V_north"]             =      V_north_flag               ;
82   init_map["V_east"]              =      V_east_flag                ;
83   init_map["V_down"]              =      V_down_flag                ;
84   init_map["P_body"]              =      P_body_flag                ;
85   init_map["Q_body"]              =      Q_body_flag                ;
86   init_map["R_body"]              =      R_body_flag                ;
87   init_map["Phi"]                 =      Phi_flag                   ;
88   init_map["Theta"]               =      Theta_flag                 ;
89   init_map["Psi"]                 =      Psi_flag                   ;
90   init_map["Long_trim"]           =      Long_trim_flag             ;
91   init_map["recordRate"]          =      recordRate_flag            ;
92   init_map["recordStartTime"]     =      recordStartTime_flag       ;
93   init_map["use_V_rel_wind_2U"]   =      use_V_rel_wind_2U_flag     ;
94   init_map["nondim_rate_V_rel_wind"]=    nondim_rate_V_rel_wind_flag;
95   init_map["use_abs_U_body_2U"]   =      use_abs_U_body_2U_flag     ;
96   init_map["dyn_on_speed"]        =      dyn_on_speed_flag          ;
97   init_map["dyn_on_speed_zero"]   =      dyn_on_speed_zero_flag     ;
98   init_map["use_dyn_on_speed_curve1"] =  use_dyn_on_speed_curve1_flag;
99   init_map["use_Alpha_dot_on_speed"]  =  use_Alpha_dot_on_speed_flag;
100   init_map["use_gamma_horiz_on_speed"]  =  use_gamma_horiz_on_speed_flag;
101   init_map["downwashMode"]        =      downwashMode_flag          ;
102   init_map["downwashCoef"]        =      downwashCoef_flag          ;
103   init_map["Alpha"]               =      Alpha_flag                 ;
104   init_map["Beta"]                =      Beta_flag                  ;
105   init_map["U_body"]              =      U_body_flag                ;
106   init_map["V_body"]              =      V_body_flag                ;
107   init_map["W_body"]              =      W_body_flag                ;
108   init_map["ignore_unknown_keywords"] = ignore_unknown_keywords_flag;
109   init_map["trim_case_2"]         =      trim_case_2_flag           ;
110   init_map["use_uiuc_network"]    =      use_uiuc_network_flag      ;
111   init_map["icing_demo"]          =      icing_demo_flag            ;
112   init_map["outside_control"]     =      outside_control_flag       ;
113 }
114
115 // end uiuc_map_init.cpp