| 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 <[email protected]> |
| 24 |
Jeff Scott <[email protected]> |
| 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., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 62 |
|
| 63 |
**********************************************************************/ |
| 64 |
|
| 65 |
#include "uiuc_map_record2.h" |
| 66 |
|
| 67 |
|
| 68 |
void uiuc_map_record2() |
| 69 |
{ |
| 70 |
/********************** Velocities *********************/ |
| 71 |
// local velocities |
| 72 |
record_map["V_north"] = V_north_record ; |
| 73 |
record_map["V_east"] = V_east_record ; |
| 74 |
record_map["V_down"] = V_down_record ; |
| 75 |
|
| 76 |
// local velocities wrt ground |
| 77 |
record_map["V_north_rel_ground"] = V_north_rel_ground_record ; |
| 78 |
record_map["V_east_rel_ground"] = V_east_rel_ground_record ; |
| 79 |
record_map["V_down_rel_ground"] = V_down_rel_ground_record ; |
| 80 |
|
| 81 |
// steady airmass velocities |
| 82 |
record_map["V_north_airmass"] = V_north_airmass_record ; |
| 83 |
record_map["V_east_airmass"] = V_east_airmass_record ; |
| 84 |
record_map["V_down_airmass"] = V_down_airmass_record ; |
| 85 |
|
| 86 |
// local velocities wrt steady airmass |
| 87 |
record_map["V_north_rel_airmass"] = V_north_rel_airmass_record ; |
| 88 |
record_map["V_east_rel_airmass"] = V_east_rel_airmass_record ; |
| 89 |
record_map["V_down_rel_airmass"] = V_down_rel_airmass_record ; |
| 90 |
|
| 91 |
// local linear turbulence velocities |
| 92 |
record_map["U_gust"] = U_gust_record ; |
| 93 |
record_map["V_gust"] = V_gust_record ; |
| 94 |
record_map["W_gust"] = W_gust_record ; |
| 95 |
|
| 96 |
// wind velocities in body axis |
| 97 |
record_map["U_body"] = U_body_record ; |
| 98 |
record_map["V_body"] = V_body_record ; |
| 99 |
record_map["W_body"] = W_body_record ; |
| 100 |
|
| 101 |
// other velocities |
| 102 |
record_map["V_rel_wind"] = V_rel_wind_record ; |
| 103 |
record_map["V_true_kts"] = V_true_kts_record ; |
| 104 |
record_map["V_rel_ground"] = V_rel_ground_record ; |
| 105 |
record_map["V_inertial"] = V_inertial_record ; |
| 106 |
record_map["V_ground_speed"] = V_ground_speed_record ; |
| 107 |
record_map["V_equiv"] = V_equiv_record ; |
| 108 |
record_map["V_equiv_kts"] = V_equiv_kts_record ; |
| 109 |
record_map["V_calibrated"] = V_calibrated_record ; |
| 110 |
record_map["V_calibrated_kts"] = V_calibrated_kts_record ; |
| 111 |
|
| 112 |
// angular rates in local axis |
| 113 |
record_map["P_local"] = P_local_record ; |
| 114 |
record_map["Q_local"] = Q_local_record ; |
| 115 |
record_map["R_local"] = R_local_record ; |
| 116 |
|
| 117 |
// angular rates in body axis |
| 118 |
record_map["P_body"] = P_body_record ; |
| 119 |
record_map["Q_body"] = Q_body_record ; |
| 120 |
record_map["R_body"] = R_body_record ; |
| 121 |
|
| 122 |
// difference between local and body angular rates |
| 123 |
record_map["P_total"] = P_total_record ; |
| 124 |
record_map["Q_total"] = Q_total_record ; |
| 125 |
record_map["R_total"] = R_total_record ; |
| 126 |
|
| 127 |
// Euler rates |
| 128 |
record_map["Phi_dot"] = Phi_dot_record ; |
| 129 |
record_map["Theta_dot"] = Theta_dot_record ; |
| 130 |
record_map["Psi_dot"] = Psi_dot_record ; |
| 131 |
|
| 132 |
// Geocentric rates |
| 133 |
record_map["Latitude_dot"] = Latitude_dot_record ; |
| 134 |
record_map["Longitude_dot"] = Longitude_dot_record ; |
| 135 |
record_map["Radius_dot"] = Radius_dot_record ; |
| 136 |
|
| 137 |
|
| 138 |
/************************ Angles ***********************/ |
| 139 |
record_map["Alpha"] = Alpha_record ; |
| 140 |
record_map["Alpha_deg"] = Alpha_deg_record ; |
| 141 |
record_map["Alpha_dot"] = Alpha_dot_record ; |
| 142 |
record_map["Alpha_dot_deg"] = Alpha_dot_deg_record ; |
| 143 |
record_map["Beta"] = Beta_record ; |
| 144 |
record_map["Beta_deg"] = Beta_deg_record ; |
| 145 |
record_map["Beta_dot"] = Beta_dot_record ; |
| 146 |
record_map["Beta_dot_deg"] = Beta_dot_deg_record ; |
| 147 |
record_map["Gamma_vert"] = Gamma_vert_record ; |
| 148 |
record_map["Gamma_vert_deg"] = Gamma_vert_deg_record ; |
| 149 |
record_map["Gamma_horiz"] = Gamma_horiz_record ; |
| 150 |
record_map["Gamma_horiz_deg"] = Gamma_horiz_deg_record ; |
| 151 |
} |
| 152 |
|
| 153 |
// end uiuc_map_record2.cpp |