2000-09-06 19:52:37 +00:00
|
|
|
/**********************************************************************
|
|
|
|
|
|
|
|
FILENAME: uiuc_map_controlSurface.cpp
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
DESCRIPTION: initializes the control surface map
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
STATUS: alpha version
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
REFERENCES:
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
HISTORY: 04/08/2000 initial release
|
2002-04-01 21:37:33 +00:00
|
|
|
06/18/2001 (RD) Added aileron_input, rudder_input,
|
2001-09-14 20:36:34 +00:00
|
|
|
pilot_elev_no, pilot_ail_no, and
|
|
|
|
pilot_rud_no
|
2002-04-01 21:37:33 +00:00
|
|
|
11/12/2001 (RD) Added flap_max, flap_rate, and
|
2000-09-06 19:52:37 +00:00
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
AUTHOR(S): Bipin Sehgal <bsehgal@uiuc.edu>
|
2003-05-13 18:45:04 +00:00
|
|
|
Jeff Scott http://www.jeffscott.net/
|
2001-09-14 20:36:34 +00:00
|
|
|
Robert Deters <rdeters@uiuc.edu>
|
2000-09-06 19:52:37 +00:00
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
VARIABLES:
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
INPUTS: none
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
OUTPUTS: none
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
CALLED BY: uiuc_initializemaps.cpp
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
CALLS TO: none
|
|
|
|
|
|
|
|
----------------------------------------------------------------------
|
|
|
|
|
|
|
|
COPYRIGHT: (C) 2000 by Michael Selig
|
|
|
|
|
|
|
|
This program is free software; you can redistribute it and/or
|
|
|
|
modify it under the terms of the GNU General Public License
|
|
|
|
as published by the Free Software Foundation.
|
|
|
|
|
|
|
|
This program is distributed in the hope that it will be useful,
|
|
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
GNU General Public License for more details.
|
|
|
|
|
|
|
|
You should have received a copy of the GNU General Public License
|
|
|
|
along with this program; if not, write to the Free Software
|
|
|
|
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
|
|
|
|
USA or view http://www.gnu.org/copyleft/gpl.html.
|
|
|
|
|
|
|
|
**********************************************************************/
|
|
|
|
|
|
|
|
#include "uiuc_map_controlSurface.h"
|
|
|
|
|
|
|
|
|
|
|
|
void uiuc_map_controlSurface()
|
|
|
|
{
|
|
|
|
controlSurface_map["de"] = de_flag ;
|
|
|
|
controlSurface_map["da"] = da_flag ;
|
|
|
|
controlSurface_map["dr"] = dr_flag ;
|
|
|
|
controlSurface_map["set_Long_trim"] = set_Long_trim_flag ;
|
|
|
|
controlSurface_map["set_Long_trim_deg"]= set_Long_trim_deg_flag ;
|
|
|
|
controlSurface_map["zero_Long_trim"] = zero_Long_trim_flag ;
|
|
|
|
controlSurface_map["elevator_step"] = elevator_step_flag ;
|
|
|
|
controlSurface_map["elevator_singlet"] = elevator_singlet_flag ;
|
|
|
|
controlSurface_map["elevator_doublet"] = elevator_doublet_flag ;
|
|
|
|
controlSurface_map["elevator_input"] = elevator_input_flag ;
|
2001-09-14 20:36:34 +00:00
|
|
|
controlSurface_map["aileron_input"] = aileron_input_flag ;
|
|
|
|
controlSurface_map["rudder_input"] = rudder_input_flag ;
|
2002-11-08 17:03:49 +00:00
|
|
|
controlSurface_map["flap_pos_input"] = flap_pos_input_flag ;
|
2001-09-14 20:36:34 +00:00
|
|
|
controlSurface_map["pilot_elev_no"] = pilot_elev_no_flag ;
|
|
|
|
controlSurface_map["pilot_ail_no"] = pilot_ail_no_flag ;
|
|
|
|
controlSurface_map["pilot_rud_no"] = pilot_rud_no_flag ;
|
2003-05-13 18:45:04 +00:00
|
|
|
|
2002-04-01 21:37:33 +00:00
|
|
|
controlSurface_map["flap_max"] = flap_max_flag ;
|
|
|
|
controlSurface_map["flap_rate"] = flap_rate_flag ;
|
2003-05-13 18:45:04 +00:00
|
|
|
controlSurface_map["use_flaps"] = use_flaps_flag ;
|
|
|
|
|
|
|
|
controlSurface_map["spoiler_max"] = spoiler_max_flag ;
|
|
|
|
controlSurface_map["spoiler_rate"] = spoiler_rate_flag ;
|
|
|
|
controlSurface_map["use_spoilers"] = use_spoilers_flag ;
|
|
|
|
|
|
|
|
controlSurface_map["gear_max"] = gear_max_flag ;
|
|
|
|
controlSurface_map["gear_rate"] = gear_rate_flag ;
|
|
|
|
controlSurface_map["use_gears"] = use_gear_flag ;
|
|
|
|
|
|
|
|
controlSurface_map["aileron_sas_KP"] = aileron_sas_KP_flag ;
|
|
|
|
controlSurface_map["aileron_sas_max"] = aileron_sas_max_flag ;
|
|
|
|
controlSurface_map["aileron_stick_gain"] = aileron_stick_gain_flag ;
|
|
|
|
controlSurface_map["elevator_sas_KQ"] = elevator_sas_KQ_flag ;
|
|
|
|
controlSurface_map["elevator_sas_max"] = elevator_sas_max_flag ;
|
|
|
|
controlSurface_map["elevator_sas_min"] = elevator_sas_min_flag ;
|
|
|
|
controlSurface_map["elevator_stick_gain"] = elevator_stick_gain_flag ;
|
|
|
|
controlSurface_map["rudder_sas_KR"] = rudder_sas_KR_flag ;
|
|
|
|
controlSurface_map["rudder_sas_max"] = rudder_sas_max_flag ;
|
|
|
|
controlSurface_map["rudder_stick_gain"] = rudder_stick_gain_flag ;
|
|
|
|
controlSurface_map["use_aileron_sas_type1"] = use_aileron_sas_type1_flag ;
|
|
|
|
controlSurface_map["use_elevator_sas_type1"] = use_elevator_sas_type1_flag ;
|
|
|
|
controlSurface_map["use_rudder_sas_type1"] = use_rudder_sas_type1_flag ;
|
2000-09-06 19:52:37 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
// end uiuc_map_controlSurface.cpp
|