]> git.mxchange.org Git - flightgear.git/blob - src/FDM/UIUCModel/uiuc_map_record3.cpp
Updated Cameron's entry.
[flightgear.git] / src / FDM / UIUCModel / uiuc_map_record3.cpp
1 /********************************************************************** 
2  
3  FILENAME:     uiuc_map_record3.cpp
4
5 ---------------------------------------------------------------------- 
6
7  DESCRIPTION:  initializes the record maps for atmospheric properties, 
8                Earth properties, engine inputs, and control inputs
9
10 ----------------------------------------------------------------------
11  
12  STATUS:       alpha version
13
14 ----------------------------------------------------------------------
15  
16  REFERENCES:   
17  
18 ----------------------------------------------------------------------
19  
20  HISTORY:      06/03/2000   file creation
21
22 ----------------------------------------------------------------------
23  
24  AUTHOR(S):    Bipin Sehgal       <bsehgal@uiuc.edu>
25                Jeff Scott         <jscott@mail.com>
26  
27 ----------------------------------------------------------------------
28  
29  VARIABLES:
30  
31 ----------------------------------------------------------------------
32  
33  INPUTS:       none
34  
35 ----------------------------------------------------------------------
36  
37  OUTPUTS:      none
38  
39 ----------------------------------------------------------------------
40  
41  CALLED BY:    uiuc_initializemaps.cpp
42  
43 ----------------------------------------------------------------------
44  
45  CALLS TO:     none
46  
47 ----------------------------------------------------------------------
48  
49  COPYRIGHT:    (C) 2000 by Michael Selig
50  
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.
54  
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.
59  
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.
64  
65 **********************************************************************/
66
67 #include "uiuc_map_record3.h"
68
69
70 void uiuc_map_record3()
71 {
72   /**************** Atmospheric Properties ***************/
73   record_map["Density"]           =      Density_record             ;
74   record_map["V_sound"]           =      V_sound_record             ;
75   record_map["Mach_number"]       =      Mach_number_record         ;
76
77   // pressures
78   record_map["Static_pressure"]   =      Static_pressure_record     ;
79   record_map["Total_pressure"]    =      Total_pressure_record      ;
80   record_map["Impact_pressure"]   =      Impact_pressure_record     ;
81   record_map["Dynamic_pressure"]  =      Dynamic_pressure_record    ;
82
83   // temperatures
84   record_map["Static_temperature"]=      Static_temperature_record  ;
85   record_map["Total_temperature"] =      Total_temperature_record   ;
86
87
88   /******************** Earth Properties *****************/
89   record_map["Gravity"]             =    Gravity_record             ;
90   record_map["Sea_level_radius"]    =    Sea_level_radius_record    ;
91   record_map["Earth_position_angle"]=    Earth_position_angle_record;
92
93   // runway positions
94   record_map["Runway_altitude"]   =      Runway_altitude_record     ;
95   record_map["Runway_latitude"]   =      Runway_latitude_record     ;
96   record_map["Runway_longitude"]  =      Runway_longitude_record    ;
97   record_map["Runway_heading"]    =      Runway_heading_record      ;
98   record_map["Radius_to_rwy"]     =      Radius_to_rwy_record       ;
99
100   // pilot relative to runway in local axis
101   record_map["D_pilot_north_of_rwy"]=    D_pilot_north_of_rwy_record;
102   record_map["D_pilot_east_of_rwy"] =    D_pilot_east_of_rwy_record ;
103   record_map["D_pilot_above_rwy"]   =    D_pilot_above_rwy_record   ;
104
105   // pilot relative to runway in runway axis
106   record_map["X_pilot_rwy"]       =      X_pilot_rwy_record         ;
107   record_map["Y_pilot_rwy"]       =      Y_pilot_rwy_record         ;
108   record_map["H_pilot_rwy"]       =      H_pilot_rwy_record         ;
109
110   // cg relative to runway in local axis
111   record_map["D_cg_north_of_rwy"] =      D_cg_north_of_rwy_record   ;
112   record_map["D_cg_east_of_rwy"]  =      D_cg_east_of_rwy_record    ;
113   record_map["D_cg_above_rwy"]    =      D_cg_above_rwy_record      ;
114
115   // cg relative to runway in runway axis
116   record_map["X_cg_rwy"]          =      X_cg_rwy_record            ;
117   record_map["Y_cg_rwy"]          =      Y_cg_rwy_record            ;
118   record_map["H_cg_rwy"]          =      H_cg_rwy_record            ;
119
120
121   /********************* Engine Inputs *******************/
122   record_map["Throttle_3"]        =      Throttle_3_record          ;
123   record_map["Throttle_pct"]      =      Throttle_pct_record        ;
124
125
126   /******************** Control Inputs *******************/
127   record_map["Long_control"]      =      Long_control_record        ;
128   record_map["Long_trim"]         =      Long_trim_record           ;
129   record_map["Long_trim_deg"]     =      Long_trim_deg_record       ;
130   record_map["elevator"]          =      elevator_record            ;
131   record_map["elevator_deg"]      =      elevator_deg_record        ;
132   record_map["Lat_control"]       =      Lat_control_record         ;
133   record_map["aileron"]           =      aileron_record             ;
134   record_map["aileron_deg"]       =      aileron_deg_record         ;
135   record_map["Rudder_pedal"]      =      Rudder_pedal_record        ;
136   record_map["rudder"]            =      rudder_record              ;
137   record_map["rudder_deg"]        =      rudder_deg_record          ;
138   record_map["Flap_handle"]       =      Flap_handle_record         ;
139   record_map["flap"]              =      flap_record                ;
140   record_map["flap_deg"  ]        =      flap_deg_record            ;
141 }
142
143 // end uiuc_map_record3.cpp