| 1 |
/********************************************************************** |
| 2 |
|
| 3 |
FILENAME: uiuc_map_controlSurface.cpp |
| 4 |
|
| 5 |
---------------------------------------------------------------------- |
| 6 |
|
| 7 |
DESCRIPTION: initializes the control surface 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 aileron_input, rudder_input, |
| 21 |
pilot_elev_no, pilot_ail_no, and |
| 22 |
pilot_rud_no |
| 23 |
11/12/2001 (RD) Added flap_max, flap_rate |
| 24 |
|
| 25 |
---------------------------------------------------------------------- |
| 26 |
|
| 27 |
AUTHOR(S): Bipin Sehgal <[email protected]> |
| 28 |
Jeff Scott http://www.jeffscott.net/ |
| 29 |
Robert Deters <[email protected]> |
| 30 |
|
| 31 |
---------------------------------------------------------------------- |
| 32 |
|
| 33 |
VARIABLES: |
| 34 |
|
| 35 |
---------------------------------------------------------------------- |
| 36 |
|
| 37 |
INPUTS: none |
| 38 |
|
| 39 |
---------------------------------------------------------------------- |
| 40 |
|
| 41 |
OUTPUTS: none |
| 42 |
|
| 43 |
---------------------------------------------------------------------- |
| 44 |
|
| 45 |
CALLED BY: uiuc_initializemaps.cpp |
| 46 |
|
| 47 |
---------------------------------------------------------------------- |
| 48 |
|
| 49 |
CALLS TO: none |
| 50 |
|
| 51 |
---------------------------------------------------------------------- |
| 52 |
|
| 53 |
COPYRIGHT: (C) 2000 by Michael Selig |
| 54 |
|
| 55 |
This program is free software; you can redistribute it and/or |
| 56 |
modify it under the terms of the GNU General Public License |
| 57 |
as published by the Free Software Foundation. |
| 58 |
|
| 59 |
This program is distributed in the hope that it will be useful, |
| 60 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 61 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 62 |
GNU General Public License for more details. |
| 63 |
|
| 64 |
You should have received a copy of the GNU General Public License |
| 65 |
along with this program; if not, write to the Free Software |
| 66 |
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. |
| 67 |
|
| 68 |
**********************************************************************/ |
| 69 |
|
| 70 |
#include "uiuc_map_controlSurface.h" |
| 71 |
|
| 72 |
|
| 73 |
void uiuc_map_controlSurface() |
| 74 |
{ |
| 75 |
controlSurface_map["de"] = de_flag ; |
| 76 |
controlSurface_map["da"] = da_flag ; |
| 77 |
controlSurface_map["dr"] = dr_flag ; |
| 78 |
controlSurface_map["set_Long_trim"] = set_Long_trim_flag ; |
| 79 |
controlSurface_map["set_Long_trim_deg"]= set_Long_trim_deg_flag ; |
| 80 |
controlSurface_map["zero_Long_trim"] = zero_Long_trim_flag ; |
| 81 |
controlSurface_map["elevator_step"] = elevator_step_flag ; |
| 82 |
controlSurface_map["elevator_singlet"] = elevator_singlet_flag ; |
| 83 |
controlSurface_map["elevator_doublet"] = elevator_doublet_flag ; |
| 84 |
controlSurface_map["elevator_input"] = elevator_input_flag ; |
| 85 |
controlSurface_map["aileron_input"] = aileron_input_flag ; |
| 86 |
controlSurface_map["rudder_input"] = rudder_input_flag ; |
| 87 |
controlSurface_map["flap_pos_input"] = flap_pos_input_flag ; |
| 88 |
controlSurface_map["pilot_elev_no"] = pilot_elev_no_flag ; |
| 89 |
controlSurface_map["pilot_ail_no"] = pilot_ail_no_flag ; |
| 90 |
controlSurface_map["pilot_rud_no"] = pilot_rud_no_flag ; |
| 91 |
|
| 92 |
controlSurface_map["flap_max"] = flap_max_flag ; |
| 93 |
controlSurface_map["flap_rate"] = flap_rate_flag ; |
| 94 |
controlSurface_map["use_flaps"] = use_flaps_flag ; |
| 95 |
|
| 96 |
controlSurface_map["spoiler_max"] = spoiler_max_flag ; |
| 97 |
controlSurface_map["spoiler_rate"] = spoiler_rate_flag ; |
| 98 |
controlSurface_map["use_spoilers"] = use_spoilers_flag ; |
| 99 |
|
| 100 |
controlSurface_map["gear_max"] = gear_max_flag ; |
| 101 |
controlSurface_map["gear_rate"] = gear_rate_flag ; |
| 102 |
controlSurface_map["use_gears"] = use_gear_flag ; |
| 103 |
|
| 104 |
controlSurface_map["aileron_sas_KP"] = aileron_sas_KP_flag ; |
| 105 |
controlSurface_map["aileron_sas_max"] = aileron_sas_max_flag ; |
| 106 |
controlSurface_map["aileron_stick_gain"] = aileron_stick_gain_flag ; |
| 107 |
controlSurface_map["elevator_sas_KQ"] = elevator_sas_KQ_flag ; |
| 108 |
controlSurface_map["elevator_sas_max"] = elevator_sas_max_flag ; |
| 109 |
controlSurface_map["elevator_sas_min"] = elevator_sas_min_flag ; |
| 110 |
controlSurface_map["elevator_stick_gain"] = elevator_stick_gain_flag ; |
| 111 |
controlSurface_map["rudder_sas_KR"] = rudder_sas_KR_flag ; |
| 112 |
controlSurface_map["rudder_sas_max"] = rudder_sas_max_flag ; |
| 113 |
controlSurface_map["rudder_stick_gain"] = rudder_stick_gain_flag ; |
| 114 |
controlSurface_map["use_aileron_sas_type1"] = use_aileron_sas_type1_flag ; |
| 115 |
controlSurface_map["use_elevator_sas_type1"] = use_elevator_sas_type1_flag ; |
| 116 |
controlSurface_map["use_rudder_sas_type1"] = use_rudder_sas_type1_flag ; |
| 117 |
|
| 118 |
controlSurface_map["ap_pah"] = ap_pah_flag ; |
| 119 |
controlSurface_map["ap_alh"] = ap_alh_flag ; |
| 120 |
controlSurface_map["ap_rah"] = ap_rah_flag ; |
| 121 |
controlSurface_map["ap_hh"] = ap_hh_flag ; |
| 122 |
controlSurface_map["ap_Theta_ref"] = ap_Theta_ref_flag ; |
| 123 |
controlSurface_map["ap_alt_ref"] = ap_alt_ref_flag ; |
| 124 |
controlSurface_map["ap_Phi_ref"] = ap_Phi_ref_flag ; |
| 125 |
controlSurface_map["ap_Psi_ref"] = ap_Psi_ref_flag ; |
| 126 |
} |
| 127 |
|
| 128 |
// end uiuc_map_controlSurface.cpp |