1
0
Fork 0
flightgear/src/FDM/UIUCModel/uiuc_map_record5.cpp

135 lines
5.1 KiB
C++
Raw Normal View History

2000-09-06 19:52:37 +00:00
/**********************************************************************
FILENAME: uiuc_map_record5.cpp
----------------------------------------------------------------------
DESCRIPTION: initializes the record maps for forces and moments
----------------------------------------------------------------------
STATUS: alpha version
----------------------------------------------------------------------
REFERENCES:
----------------------------------------------------------------------
HISTORY: 06/03/2000 file creation
----------------------------------------------------------------------
AUTHOR(S): Bipin Sehgal <bsehgal@uiuc.edu>
Jeff Scott <jscott@mail.com>
----------------------------------------------------------------------
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_record5.h"
void uiuc_map_record5()
{
/************************ Forces ***********************/
// aero forces in local axis
record_map["F_X_wind"] = F_X_wind_record ;
record_map["F_Y_wind"] = F_Y_wind_record ;
record_map["F_Z_wind"] = F_Z_wind_record ;
// aero forces in body axis
record_map["F_X_aero"] = F_X_aero_record ;
record_map["F_Y_aero"] = F_Y_aero_record ;
record_map["F_Z_aero"] = F_Z_aero_record ;
// engine forces
record_map["F_X_engine"] = F_X_engine_record ;
record_map["F_Y_engine"] = F_Y_engine_record ;
record_map["F_Z_engine"] = F_Z_engine_record ;
// gear forces
record_map["F_X_gear"] = F_X_gear_record ;
record_map["F_Y_gear"] = F_Y_gear_record ;
record_map["F_Z_gear"] = F_Z_gear_record ;
// total forces in body axis
record_map["F_X"] = F_X_record ;
record_map["F_Y"] = F_Y_record ;
record_map["F_Z"] = F_Z_record ;
// total forces in local axis
record_map["F_north"] = F_north_record ;
record_map["F_east"] = F_east_record ;
record_map["F_down"] = F_down_record ;
/*********************** Moments ***********************/
// aero moments
record_map["M_l_aero"] = M_l_aero_record ;
record_map["M_m_aero"] = M_m_aero_record ;
record_map["M_n_aero"] = M_n_aero_record ;
// engine moments
record_map["M_l_engine"] = M_l_engine_record ;
record_map["M_m_engine"] = M_m_engine_record ;
record_map["M_n_engine"] = M_n_engine_record ;
// gear moments
record_map["M_l_gear"] = M_l_gear_record ;
record_map["M_m_gear"] = M_m_gear_record ;
record_map["M_n_gear"] = M_n_gear_record ;
// total moments
record_map["M_l_rp"] = M_l_rp_record ;
record_map["M_m_rp"] = M_m_rp_record ;
record_map["M_n_rp"] = M_n_rp_record ;
/***********************Flapper Data********************/
/* record_map["flapper_freq"] = flapper_freq_record ;
record_map["flapper_phi"] = flapper_phi_record ;
record_map["flapper_phi_deg"] = flapper_phi_deg_record ;
record_map["flapper_Lift"] = flapper_Lift_record ;
record_map["flapper_Thrust"] = flapper_Thrust_record ;
record_map["flapper_Inertia"] = flapper_Inertia_record ;
record_map["flapper_Moment"] = flapper_Moment_record ;*/
2000-09-06 19:52:37 +00:00
}
// end uiuc_map_record5.cpp