-/*******************************************************************************\r
- \r
- Header: FGDefs.h\r
- Author: Jon S. Berndt\r
- Date started: 02/01/99\r
- \r
- ------------- Copyright (C) 1999 Jon S. Berndt (jsb@hal-pc.org) -------------\r
- \r
- This program is free software; you can redistribute it and/or modify it under\r
- the terms of the GNU General Public License as published by the Free Software\r
- Foundation; either version 2 of the License, or (at your option) any later\r
- version.\r
- \r
- This program is distributed in the hope that it will be useful, but WITHOUT\r
- ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS\r
- FOR A PARTICULAR PURPOSE. See the GNU General Public License for more\r
- details.\r
- \r
- You should have received a copy of the GNU General Public License along with\r
- this program; if not, write to the Free Software Foundation, Inc., 59 Temple\r
- Place - Suite 330, Boston, MA 02111-1307, USA.\r
- \r
- Further information about the GNU General Public License can also be found on\r
- the world wide web at http://www.gnu.org.\r
- \r
-HISTORY\r
---------------------------------------------------------------------------------\r
-02/01/99 JSB Created\r
- \r
-********************************************************************************\r
-SENTRY\r
-*******************************************************************************/\r
-\r
-#ifndef FGDEFS_H\r
-#define FGDEFS_H\r
-\r
-#define GRAVITY 32.174\r
-#define INVGRAVITY 0.031081\r
-#define EARTHRAD 20925650.00 // feet, equatorial\r
-#define EARTHRADSQRD 437882827922500.0\r
-#define ONESECOND 4.848136811E-6\r
-#define Reng 1716 //Specific Gas Constant,ft^2/(sec^2*R)\r
-#define SHRATIO 1.4 //Specific Heat Ratio\r
-#define RADTODEG 57.29578\r
-#define DEGTORAD 1.745329E-2\r
-#define KTSTOFPS 1.68781\r
-#define FPSTOKTS 0.592484\r
-#define INCHTOFT 0.08333333\r
-#define OMEGA_EARTH .00007272205217 \r
-#define NEEDED_CFG_VERSION "1.50"\r
-#define JSBSIM_VERSION "0.9.0"\r
-\r
-#define HPTOFTLBSSEC 550\r
-#define METERS_TO_FEET 3.2808\r
-\r
-#if defined ( sgi ) && !defined( __GNUC__ )\r
-#define __STL_FUNCTION_TMPL_PARTIAL_ORDER\r
-#endif\r
-\r
-enum eParam {\r
- FG_UNDEF = 0,\r
- FG_TIME,\r
- FG_QBAR,\r
- FG_WINGAREA,\r
- FG_WINGSPAN,\r
- FG_CBAR,\r
- FG_ALPHA,\r
- FG_ALPHADOT,\r
- FG_BETA,\r
- FG_BETADOT,\r
- FG_PHI,\r
- FG_THT,\r
- FG_PSI,\r
- FG_PITCHRATE,\r
- FG_ROLLRATE,\r
- FG_YAWRATE,\r
- FG_CL_SQRD,\r
- FG_MACH,\r
- FG_ALTITUDE,\r
- FG_BI2VEL,\r
- FG_CI2VEL,\r
- FG_ELEVATOR_POS,\r
- FG_AILERON_POS,\r
- FG_RUDDER_POS,\r
- FG_SPDBRAKE_POS,\r
- FG_SPOILERS_POS,\r
- FG_FLAPS_POS,\r
- FG_ELEVATOR_CMD,\r
- FG_AILERON_CMD,\r
- FG_RUDDER_CMD,\r
- FG_SPDBRAKE_CMD,\r
- FG_SPOILERS_CMD,\r
- FG_FLAPS_CMD,\r
- FG_THROTTLE_CMD,\r
- FG_THROTTLE_POS,\r
- FG_MIXTURE_CMD,\r
- FG_MIXTURE_POS,\r
- FG_ACTIVE_ENGINE,\r
- FG_HOVERB,\r
- FG_PITCH_TRIM_CMD,\r
- FG_LEFT_BRAKE_CMD,\r
- FG_CENTER_BRAKE_CMD,\r
- FG_RIGHT_BRAKE_CMD,\r
- FG_SET_LOGGING,\r
- FG_ALPHAH,\r
- FG_ALPHAW,\r
- FG_LBARH, //normalized horizontal tail arm\r
- FG_LBARV, //normalized vertical tail arm\r
- FG_HTAILAREA,\r
- FG_VTAILAREA,\r
- FG_VBARH, //horizontal tail volume \r
- FG_VBARV //vertical tail volume \r
-};\r
-\r
-enum eAction {\r
- FG_RAMP = 1,\r
- FG_STEP = 2,\r
- FG_EXP = 3\r
-};\r
-\r
-enum eType {\r
- FG_VALUE = 1,\r
- FG_DELTA = 2,\r
- FG_BOOL = 3\r
-};\r
-\r
-/******************************************************************************/\r
-#endif\r
-\r
+/*******************************************************************************
+
+ Header: FGDefs.h
+ Author: Jon S. Berndt
+ Date started: 02/01/99
+
+ ------------- Copyright (C) 1999 Jon S. Berndt (jsb@hal-pc.org) -------------
+
+ 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; either version 2 of the License, or (at your option) any later
+ version.
+
+ 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.
+
+ Further information about the GNU General Public License can also be found on
+ the world wide web at http://www.gnu.org.
+
+HISTORY
+--------------------------------------------------------------------------------
+02/01/99 JSB Created
+
+********************************************************************************
+SENTRY
+*******************************************************************************/
+
+#ifndef FGDEFS_H
+#define FGDEFS_H
+
+#define GRAVITY 32.174
+#define INVGRAVITY 0.031081
+#define EARTHRAD 20925650.00 // feet, equatorial
+#define EARTHRADSQRD 437882827922500.0
+#define ONESECOND 4.848136811E-6
+#define Reng 1716 //Specific Gas Constant,ft^2/(sec^2*R)
+#define SHRATIO 1.4 //Specific Heat Ratio
+#define RADTODEG 57.29578
+#define DEGTORAD 1.745329E-2
+#define KTSTOFPS 1.68781
+#define FPSTOKTS 0.592484
+#define INCHTOFT 0.08333333
+#define OMEGA_EARTH .00007272205217
+#define NEEDED_CFG_VERSION "1.50"
+#define JSBSIM_VERSION "0.9.0"
+
+#define HPTOFTLBSSEC 550
+#define METERS_TO_FEET 3.2808
+
+#if defined ( sgi ) && !defined( __GNUC__ )
+#define __STL_FUNCTION_TMPL_PARTIAL_ORDER
+#endif
+
+enum eParam {
+ FG_UNDEF = 0,
+ FG_TIME,
+ FG_QBAR,
+ FG_WINGAREA,
+ FG_WINGSPAN,
+ FG_CBAR,
+ FG_ALPHA,
+ FG_ALPHADOT,
+ FG_BETA,
+ FG_BETADOT,
+ FG_PHI,
+ FG_THT,
+ FG_PSI,
+ FG_PITCHRATE,
+ FG_ROLLRATE,
+ FG_YAWRATE,
+ FG_CL_SQRD,
+ FG_MACH,
+ FG_ALTITUDE,
+ FG_BI2VEL,
+ FG_CI2VEL,
+ FG_ELEVATOR_POS,
+ FG_AILERON_POS,
+ FG_RUDDER_POS,
+ FG_SPDBRAKE_POS,
+ FG_SPOILERS_POS,
+ FG_FLAPS_POS,
+ FG_ELEVATOR_CMD,
+ FG_AILERON_CMD,
+ FG_RUDDER_CMD,
+ FG_SPDBRAKE_CMD,
+ FG_SPOILERS_CMD,
+ FG_FLAPS_CMD,
+ FG_THROTTLE_CMD,
+ FG_THROTTLE_POS,
+ FG_MIXTURE_CMD,
+ FG_MIXTURE_POS,
+ FG_MAGNETO_CMD,
+ FG_STARTER_CMD,
+ FG_ACTIVE_ENGINE,
+ FG_HOVERB,
+ FG_PITCH_TRIM_CMD,
+ FG_LEFT_BRAKE_CMD,
+ FG_CENTER_BRAKE_CMD,
+ FG_RIGHT_BRAKE_CMD,
+ FG_SET_LOGGING,
+ FG_ALPHAH,
+ FG_ALPHAW,
+ FG_LBARH, //normalized horizontal tail arm
+ FG_LBARV, //normalized vertical tail arm
+ FG_HTAILAREA,
+ FG_VTAILAREA,
+ FG_VBARH, //horizontal tail volume
+ FG_VBARV //vertical tail volume
+};
+
+enum eAction {
+ FG_RAMP = 1,
+ FG_STEP = 2,
+ FG_EXP = 3
+};
+
+enum eType {
+ FG_VALUE = 1,
+ FG_DELTA = 2,
+ FG_BOOL = 3
+};
+
+/******************************************************************************/
+#endif
+