Friday the 13th JSBSim update ... :-0 !!!
This commit is contained in:
parent
5018278831
commit
972bf22630
89 changed files with 268 additions and 58 deletions
|
@ -37,6 +37,9 @@ INCLUDES
|
|||
|
||||
#include "FGAerodynamics.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_AERODYNAMICS;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -55,6 +55,8 @@ INCLUDES
|
|||
|
||||
#include "FGModel.h"
|
||||
|
||||
#define ID_AERODYNAMICS "$Header$"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -128,8 +128,8 @@ INCLUDES
|
|||
#include "FGAuxiliary.h"
|
||||
#include "FGOutput.h"
|
||||
|
||||
const char *IdSrc = "$Header$";
|
||||
const char *IdHdr = ID_AIRCRAFT;
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_AIRCRAFT;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
|
|
|
@ -133,6 +133,18 @@ DEFINITIONS
|
|||
aerodynamic and mass properties, landing gear, etc.
|
||||
@author Jon S. Berndt
|
||||
@version $Id$
|
||||
@see
|
||||
[1] Cooke, Zyda, Pratt, and McGhee, "NPSNET: Flight Simulation Dynamic Modeling
|
||||
Using Quaternions", Presence, Vol. 1, No. 4, pp. 404-420 Naval Postgraduate
|
||||
School, January 1994
|
||||
[2] D. M. Henderson, "Euler Angles, Quaternions, and Transformation Matrices",
|
||||
JSC 12960, July 1977
|
||||
[3] Richard E. McFarland, "A Standard Kinematic Model for Flight Simulation at
|
||||
NASA-Ames", NASA CR-2497, January 1975
|
||||
[4] Barnes W. McCormick, "Aerodynamics, Aeronautics, and Flight Mechanics",
|
||||
Wiley & Sons, 1979 ISBN 0-471-03032-5
|
||||
[5] Bernard Etkin, "Dynamics of Flight, Stability and Control", Wiley & Sons,
|
||||
1982 ISBN 0-471-08936-2
|
||||
*/
|
||||
|
||||
/*******************************************************************************
|
||||
|
@ -150,6 +162,7 @@ public:
|
|||
@param Executive a pointer to the parent executive object
|
||||
*/
|
||||
FGAircraft(FGFDMExec *Executive);
|
||||
|
||||
/// Destructor
|
||||
~FGAircraft(void);
|
||||
|
||||
|
@ -158,6 +171,7 @@ public:
|
|||
@return bool returns false if no error
|
||||
*/
|
||||
bool Run(void);
|
||||
|
||||
/** Loads the aircraft.
|
||||
The executive calls this method to load the aircraft into JSBSim.
|
||||
@param apath path to the aircraft files (e.g. "aircraft/X15/")
|
||||
|
@ -166,7 +180,12 @@ public:
|
|||
@return true if succesful
|
||||
*/
|
||||
bool LoadAircraft(string apath, string epath, string acname);
|
||||
|
||||
/** Retrieves the aircraft name
|
||||
@return the name of the aircraft as a string type
|
||||
*/
|
||||
inline string GetAircraftName(void) { return AircraftName; }
|
||||
|
||||
inline void SetGearUp(bool tt) { GearUp = tt; }
|
||||
inline bool GetGearUp(void) { return GearUp; }
|
||||
inline int GetNumGearUnits(void) { return lGear.size(); }
|
||||
|
|
|
@ -59,6 +59,9 @@ INCLUDES
|
|||
#include "FGDefs.h"
|
||||
#include "FGMatrix.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_ATMOSPHERE;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -45,6 +45,8 @@ INCLUDES
|
|||
#include "FGModel.h"
|
||||
#include "FGMatrix.h"
|
||||
|
||||
#define ID_ATMOSPHERE "$Header$"
|
||||
|
||||
/*******************************************************************************
|
||||
COMMENTS, REFERENCES, and NOTES
|
||||
********************************************************************************
|
||||
|
|
|
@ -52,6 +52,9 @@ INCLUDES
|
|||
#include "FGOutput.h"
|
||||
#include "FGMatrix.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_AUXILIARY;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -42,6 +42,8 @@ INCLUDES
|
|||
#include "FGModel.h"
|
||||
#include "FGMatrix.h"
|
||||
|
||||
#define ID_AUXILIARY "$Header"
|
||||
|
||||
/*******************************************************************************
|
||||
DEFINES
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -48,6 +48,9 @@ INCLUDES
|
|||
#include "FGState.h"
|
||||
#include "FGFDMExec.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = "ID_COEFFICIENT";
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -51,6 +51,8 @@ INCLUDES
|
|||
DEFINES
|
||||
*******************************************************************************/
|
||||
|
||||
#define ID_COEFFICIENT "$Header"
|
||||
|
||||
/*******************************************************************************
|
||||
FORWARD DECLARATIONS
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -21,6 +21,9 @@ INCLUDES
|
|||
#include <stdlib.h>
|
||||
#include <math.h>
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = "ID_CONFIGFILE";
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -56,6 +56,8 @@ INCLUDES
|
|||
DEFINES
|
||||
*******************************************************************************/
|
||||
|
||||
#define ID_CONFIGFILE "$Header"
|
||||
|
||||
using std::string;
|
||||
using std::ifstream;
|
||||
|
||||
|
|
|
@ -24,6 +24,8 @@
|
|||
|
||||
#include "FGControls.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = "ID_CONTROLS";
|
||||
|
||||
FGControls controls;
|
||||
|
||||
|
@ -51,10 +53,11 @@ FGControls::~FGControls() {
|
|||
|
||||
|
||||
// $Log$
|
||||
// Revision 1.18 2000/10/13 21:34:57 curt
|
||||
// Panel tweaks to support "shaped" panels.
|
||||
// Additional HUD support for waypoints.
|
||||
// JSBSim updates.
|
||||
// Revision 1.19 2000/10/14 00:10:12 curt
|
||||
// Friday the 13th JSBSim update ... :-0 !!!
|
||||
//
|
||||
// Revision 1.4 2000/10/13 19:21:02 jsb
|
||||
// ** JSB ** Added version identifiers for all files
|
||||
//
|
||||
// Revision 1.3 2000/04/26 10:55:57 jsb
|
||||
// Made changes as required by Curt to install JSBSim into FGFS
|
||||
|
|
|
@ -25,11 +25,12 @@
|
|||
#ifndef _CONTROLS_HXX
|
||||
#define _CONTROLS_HXX
|
||||
|
||||
|
||||
#ifndef __cplusplus
|
||||
# error This library requires C++
|
||||
#endif
|
||||
|
||||
#define ID_CONTROLS "$Header"
|
||||
|
||||
// Define a structure containing the control parameters
|
||||
|
||||
class FGControls {
|
||||
|
@ -177,10 +178,11 @@ extern FGControls controls;
|
|||
|
||||
|
||||
// $Log$
|
||||
// Revision 1.17 2000/10/13 21:34:58 curt
|
||||
// Panel tweaks to support "shaped" panels.
|
||||
// Additional HUD support for waypoints.
|
||||
// JSBSim updates.
|
||||
// Revision 1.18 2000/10/14 00:10:12 curt
|
||||
// Friday the 13th JSBSim update ... :-0 !!!
|
||||
//
|
||||
// Revision 1.7 2000/10/13 19:21:02 jsb
|
||||
// ** JSB ** Added version identifiers for all files
|
||||
//
|
||||
// Revision 1.6 2000/06/03 13:59:52 jsb
|
||||
// Changes for compatibility with MSVC
|
||||
|
|
|
@ -62,6 +62,9 @@ INCLUDES
|
|||
#include "FGOutput.h"
|
||||
#include "FGDefs.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = "ID_ENGINE";
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -56,6 +56,8 @@ FG_USING_STD(string);
|
|||
DEFINES
|
||||
*******************************************************************************/
|
||||
|
||||
#define ID_ENGINE "$Header"
|
||||
|
||||
using std::string;
|
||||
|
||||
/*******************************************************************************
|
||||
|
|
|
@ -56,6 +56,9 @@ INCLUDES
|
|||
#include "filtersjb/FGSummer.h"
|
||||
#include "filtersjb/FGFlaps.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = "ID_FCS";
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -54,6 +54,8 @@ INCLUDES
|
|||
#include "FGModel.h"
|
||||
#include "FGConfigFile.h"
|
||||
|
||||
#define ID_FCS "$Header"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -63,6 +63,9 @@ INCLUDES
|
|||
#include "FGAuxiliary.h"
|
||||
#include "FGOutput.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = "ID_FDMEXEC";
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -41,6 +41,8 @@ SENTRY
|
|||
INCLUDES
|
||||
*******************************************************************************/
|
||||
|
||||
#define ID_FDMEXEC "$Header"
|
||||
|
||||
#include "FGModel.h"
|
||||
#include "FGInitialCondition.h"
|
||||
|
||||
|
|
|
@ -47,6 +47,8 @@ and the cg.
|
|||
#include "FGDefs.h"
|
||||
#include "FGForce.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = "ID_FORCE";
|
||||
|
||||
FGForce::FGForce(FGFDMExec *FDMExec) :
|
||||
vFn(3),
|
||||
|
|
|
@ -57,6 +57,8 @@ SENTRY
|
|||
INCLUDES
|
||||
*******************************************************************************/
|
||||
|
||||
#define ID_FORCE "$Header"
|
||||
|
||||
#include "FGFDMExec.h"
|
||||
#include "FGMatrix.h"
|
||||
|
||||
|
|
|
@ -37,6 +37,9 @@ INCLUDES
|
|||
|
||||
#include "FGGroundReactions.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_GROUNDREACTIONS;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -55,6 +55,8 @@ INCLUDES
|
|||
|
||||
#include "FGModel.h"
|
||||
|
||||
#define ID_GROUNDREACTIONS "$Header"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -37,6 +37,9 @@ INCLUDES
|
|||
|
||||
#include "FGInertial.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_INERTIAL;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -56,6 +56,8 @@ INCLUDES
|
|||
#include "FGModel.h"
|
||||
#include "FGConfigFile.h"
|
||||
|
||||
#define ID_INERTIAL "$Header"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -55,6 +55,9 @@ INCLUDES
|
|||
#include "FGOutput.h"
|
||||
#include "FGDefs.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_INITIALCONDITION;
|
||||
|
||||
FGInitialCondition::FGInitialCondition(FGFDMExec *FDMExec) {
|
||||
vt=vc=ve=0;
|
||||
mach=0;
|
||||
|
|
|
@ -53,6 +53,8 @@ INCLUDES
|
|||
#include "FGAtmosphere.h"
|
||||
#include "FGMatrix.h"
|
||||
|
||||
#define ID_INITIALCONDITION "$Header"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -39,6 +39,9 @@ INCLUDES
|
|||
#include "FGLGear.h"
|
||||
#include <algorithm>
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_LGEAR;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -68,6 +68,8 @@ INCLUDES
|
|||
DEFINITIONS
|
||||
*******************************************************************************/
|
||||
|
||||
#define ID_LGEAR "$Header"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -40,6 +40,9 @@ INCLUDES
|
|||
|
||||
#include "FGMassBalance.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_MASSBALANCE;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -44,6 +44,8 @@ INCLUDES
|
|||
|
||||
#include "FGModel.h"
|
||||
|
||||
#define ID_MASSBALANCE "$Header"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -20,6 +20,9 @@ INCLUDES
|
|||
|
||||
#include "FGMatrix.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_MATRIX;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -40,6 +40,8 @@ INCLUDES
|
|||
|
||||
#include <string>
|
||||
|
||||
#define ID_MATRIX "$Header"
|
||||
|
||||
/*******************************************************************************
|
||||
FORWARD DECLARATIONS
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -50,6 +50,9 @@ INCLUDES
|
|||
#include "FGAuxiliary.h"
|
||||
#include "FGOutput.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_MODEL;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -53,6 +53,8 @@ INCLUDES
|
|||
|
||||
#include <string>
|
||||
|
||||
#define ID_MODEL "$Header$"
|
||||
|
||||
/*******************************************************************************
|
||||
DEFINES
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -37,6 +37,9 @@ INCLUDES
|
|||
|
||||
#include "FGNozzle.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_NOZZLE;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -49,6 +49,9 @@ INCLUDES
|
|||
#include "FGPosition.h"
|
||||
#include "FGAuxiliary.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_OUTPUT;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -56,6 +56,8 @@ INCLUDES
|
|||
|
||||
#include "FGfdmSocket.h"
|
||||
|
||||
#define ID_OUTPUT "$Header$"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -40,6 +40,9 @@ INCLUDES
|
|||
|
||||
#include "FGPiston.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_PISTON;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -78,6 +78,9 @@ INCLUDES
|
|||
#include "FGAuxiliary.h"
|
||||
#include "FGOutput.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_POSITION;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -45,6 +45,17 @@ INCLUDES
|
|||
#include "FGModel.h"
|
||||
#include "FGMatrix.h"
|
||||
|
||||
#define ID_POSITION "$Header$"
|
||||
|
||||
|
||||
/*******************************************************************************
|
||||
DEFINITIONS
|
||||
*******************************************************************************/
|
||||
|
||||
/** Models the lateral and longitudinal translational EOM.
|
||||
@author Jon S. Berndt
|
||||
@version $Id$
|
||||
*/
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -37,6 +37,9 @@ INCLUDES
|
|||
|
||||
#include "FGPropeller.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_PROPELLER;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -44,6 +44,8 @@ INCLUDES
|
|||
|
||||
#include "FGThruster.h"
|
||||
|
||||
#define ID_PROPELLER "$Header$"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -58,6 +58,9 @@ INCLUDES
|
|||
|
||||
#include "FGPropulsion.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_PROPULSION;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -38,6 +38,8 @@ SENTRY
|
|||
#ifndef FGPROPULSION_H
|
||||
#define FGPROPULSION_H
|
||||
|
||||
#declare ID_PROPULSION "$Header$"
|
||||
|
||||
/*******************************************************************************
|
||||
INCLUDES
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -40,6 +40,9 @@ INCLUDES
|
|||
|
||||
#include "FGRocket.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_ROCKET;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -44,6 +44,8 @@ INCLUDES
|
|||
|
||||
#include "FGEngine.h"
|
||||
|
||||
#define ID_ROCKET "$Header$"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -66,6 +66,9 @@ INCLUDES
|
|||
#include "FGAuxiliary.h"
|
||||
#include "FGOutput.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_ROTATION;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -75,6 +75,8 @@ INCLUDES
|
|||
#include "FGModel.h"
|
||||
#include "FGMatrix.h"
|
||||
|
||||
#define ID_ROTATION "$Header$"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -37,6 +37,9 @@ INCLUDES
|
|||
|
||||
#include "FGRotor.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_ROTOR;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -44,6 +44,8 @@ INCLUDES
|
|||
|
||||
#include "FGThruster.h"
|
||||
|
||||
#define ID_ROTOR "$Header$"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -63,6 +63,9 @@ INCLUDES
|
|||
#include "FGAuxiliary.h"
|
||||
#include "FGOutput.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_STATE;
|
||||
|
||||
/*******************************************************************************
|
||||
MACROS
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -65,6 +65,8 @@ INCLUDES
|
|||
DEFINES
|
||||
*******************************************************************************/
|
||||
|
||||
#define ID_STATE "$Header$"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -35,8 +35,12 @@ HISTORY
|
|||
********************************************************************************
|
||||
INCLUDES
|
||||
*******************************************************************************/
|
||||
|
||||
#include "FGTank.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_TANK;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -55,6 +55,8 @@ INCLUDES
|
|||
DEFINES
|
||||
*******************************************************************************/
|
||||
|
||||
#define ID_TANK "$Header"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -37,6 +37,9 @@ INCLUDES
|
|||
|
||||
#include "FGThruster.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_THRUSTER;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -44,6 +44,8 @@ INCLUDES
|
|||
|
||||
#include "FGForce.h"
|
||||
|
||||
#define ID_THRUSTER "$Header"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -68,6 +68,9 @@ INCLUDES
|
|||
#include "FGAuxiliary.h"
|
||||
#include "FGOutput.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_TRANSLATION;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -70,6 +70,8 @@ INCLUDES
|
|||
#include "FGModel.h"
|
||||
#include "FGMatrix.h"
|
||||
|
||||
#define ID_TRANSLATION "$Header"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -52,6 +52,9 @@ INCLUDES
|
|||
#include "FGTrim.h"
|
||||
#include "FGAircraft.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_TRIM;
|
||||
|
||||
/*******************************************************************************/
|
||||
|
||||
FGTrim::FGTrim(FGFDMExec *FDMExec,FGInitialCondition *FGIC, TrimMode tt ) {
|
||||
|
|
|
@ -65,6 +65,7 @@ INCLUDES
|
|||
|
||||
#include <vector.h>
|
||||
|
||||
#define ID_TRIM "$Header"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
|
|
|
@ -28,9 +28,7 @@
|
|||
--------------------------------------------------------------------------------
|
||||
7/3/00 TP Created
|
||||
|
||||
|
||||
*/
|
||||
/*******************************************************************************
|
||||
********************************************************************************
|
||||
INCLUDES
|
||||
*******************************************************************************/
|
||||
|
||||
|
@ -43,6 +41,9 @@ INCLUDES
|
|||
#include "FGTrimAxis.h"
|
||||
#include "FGAircraft.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_TRIMAXIS;
|
||||
|
||||
/*****************************************************************************/
|
||||
|
||||
FGTrimAxis::FGTrimAxis(FGFDMExec* fdex, FGInitialCondition* ic, Accel acc,
|
||||
|
|
|
@ -54,6 +54,7 @@ INCLUDES
|
|||
#include "FGAuxiliary.h"
|
||||
#include "FGOutput.h"
|
||||
|
||||
#define ID_TRIMAXIS "$Header"
|
||||
|
||||
const string AccelNames[6]= { "udot","vdot","wdot","qdot","pdot","rdot" };
|
||||
const string ControlNames[13]= { "Throttle","Sideslip","Angle of Attack",
|
||||
|
|
|
@ -40,6 +40,9 @@ INCLUDES
|
|||
|
||||
#include "FGTurboJet.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_TURBOJET;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -44,6 +44,8 @@ INCLUDES
|
|||
|
||||
#include "FGEngine.h"
|
||||
|
||||
#define ID_TURBOJET "$Header"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -40,6 +40,9 @@ INCLUDES
|
|||
|
||||
#include "FGTurboShaft.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_TURBOSHAFT;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -44,6 +44,8 @@ INCLUDES
|
|||
|
||||
#include "FGEngine.h"
|
||||
|
||||
#define ID_TURBOSHAFT "$Header"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -57,6 +57,9 @@ INCLUDES
|
|||
#include "FGState.h"
|
||||
#include "FGFDMExec.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_UTILITY;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -42,6 +42,8 @@ INCLUDES
|
|||
DEFINES
|
||||
*******************************************************************************/
|
||||
|
||||
#define ID_UTILITY "$Header"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -39,6 +39,9 @@ INCLUDES
|
|||
|
||||
#include "FGfdmSocket.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_FDMSOCKET;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -76,6 +76,8 @@ INCLUDES
|
|||
DEFINITIONS
|
||||
*******************************************************************************/
|
||||
|
||||
#define ID_FDMSOCKET "$Header"
|
||||
|
||||
using std::cout;
|
||||
using std::endl;
|
||||
|
||||
|
|
|
@ -115,6 +115,8 @@ USEUNIT("FGAerodynamics.cpp");
|
|||
#include <ctime>
|
||||
#endif
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
|
||||
int main(int argc, char** argv)
|
||||
{
|
||||
FGFDMExec* FDMExec;
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
|
||||
/*******************************************************************************
|
||||
|
||||
Module: FGDeadBand.cpp
|
||||
Author:
|
||||
Date started:
|
||||
Author: Jon S. Berndt
|
||||
Date started: 11/1999
|
||||
|
||||
------------- Copyright (C) 2000 -------------
|
||||
|
||||
|
@ -40,6 +39,9 @@ INCLUDES
|
|||
|
||||
#include "FGDeadBand.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_DEADBAND;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -49,6 +49,8 @@ INCLUDES
|
|||
DEFINES
|
||||
*******************************************************************************/
|
||||
|
||||
#define ID_DEADBAND "$Header"
|
||||
|
||||
class FGFCS;
|
||||
|
||||
/*******************************************************************************
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*******************************************************************************
|
||||
|
||||
Module: FGFCSComponent.cpp
|
||||
Author:
|
||||
Date started:
|
||||
Author: Jon S. Berndt
|
||||
Date started: 11/1999
|
||||
|
||||
------------- Copyright (C) 2000 -------------
|
||||
|
||||
|
@ -39,16 +39,13 @@ INCLUDES
|
|||
|
||||
#include "FGFCSComponent.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_FCSCOMPONENT;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
||||
// *****************************************************************************
|
||||
// Function: Constructor
|
||||
// Purpose:
|
||||
// Parameters: void
|
||||
// Comments:
|
||||
|
||||
FGFCSComponent::FGFCSComponent(FGFCS* _fcs) : fcs(_fcs)
|
||||
{
|
||||
Type = "";
|
||||
|
|
|
@ -53,6 +53,8 @@ INCLUDES
|
|||
DEFINES
|
||||
*******************************************************************************/
|
||||
|
||||
#define ID_FCSCOMPONENT "$Header"
|
||||
|
||||
using std::string;
|
||||
|
||||
class FGFCS;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*******************************************************************************
|
||||
|
||||
Module: FGFilter.cpp
|
||||
Author:
|
||||
Date started:
|
||||
Author: Jon S. Berndt
|
||||
Date started: 11/2000
|
||||
|
||||
------------- Copyright (C) 2000 -------------
|
||||
|
||||
|
@ -39,16 +39,13 @@ INCLUDES
|
|||
|
||||
#include "FGFilter.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_FILTER;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
||||
// *****************************************************************************
|
||||
// Function: constructor
|
||||
// Purpose:
|
||||
// Parameters: void
|
||||
// Comments:
|
||||
|
||||
FGFilter::FGFilter(FGFCS* fcs, FGConfigFile* AC_cfg) : FGFCSComponent(fcs),
|
||||
AC_cfg(AC_cfg)
|
||||
{
|
||||
|
|
|
@ -48,6 +48,8 @@ INCLUDES
|
|||
DEFINES
|
||||
*******************************************************************************/
|
||||
|
||||
#define ID_FILTER "$Header"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -39,6 +39,9 @@ INCLUDES
|
|||
|
||||
#include "FGFlaps.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_FLAPS;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -61,6 +61,8 @@ INCLUDES
|
|||
DEFINES
|
||||
*******************************************************************************/
|
||||
|
||||
#define ID_FLAPS "$Header"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*******************************************************************************
|
||||
|
||||
Module: FGGain.cpp
|
||||
Author:
|
||||
Date started:
|
||||
Author: Jon S. Berndt
|
||||
Date started: 4/2000
|
||||
|
||||
------------- Copyright (C) 2000 -------------
|
||||
|
||||
|
@ -39,6 +39,9 @@ INCLUDES
|
|||
|
||||
#include "FGGain.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_GAIN;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -61,6 +61,8 @@ INCLUDES
|
|||
DEFINES
|
||||
*******************************************************************************/
|
||||
|
||||
#define ID_GAIN "$Header"
|
||||
|
||||
class FGFCS;
|
||||
|
||||
/*******************************************************************************
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
|
||||
/*******************************************************************************
|
||||
|
||||
Module: FGGradient.cpp
|
||||
|
@ -40,16 +39,13 @@ INCLUDES
|
|||
|
||||
#include "FGGradient.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_GRADIENT;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
||||
// *****************************************************************************
|
||||
// Function: Run
|
||||
// Purpose:
|
||||
// Parameters: void
|
||||
// Comments:
|
||||
|
||||
FGGradient::FGGradient(FGFCS* fcs, FGConfigFile* AC_cfg) : FGFCSComponent(fcs),
|
||||
AC_cfg(AC_cfg)
|
||||
{
|
||||
|
|
|
@ -49,6 +49,8 @@ INCLUDES
|
|||
DEFINES
|
||||
*******************************************************************************/
|
||||
|
||||
#define ID_GRADIENT "$Header"
|
||||
|
||||
class FGFCS;
|
||||
|
||||
/*******************************************************************************
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
/*******************************************************************************
|
||||
|
||||
Module: FGSummer.cpp
|
||||
Author:
|
||||
Date started:
|
||||
Author: Jon S. Berndt
|
||||
Date started: 4/2000
|
||||
|
||||
------------- Copyright (C) 2000 -------------
|
||||
|
||||
|
@ -39,16 +39,13 @@ INCLUDES
|
|||
|
||||
#include "FGSummer.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_SUMMER;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
||||
// *****************************************************************************
|
||||
// Function: Constructor
|
||||
// Purpose:
|
||||
// Parameters: void
|
||||
// Comments:
|
||||
|
||||
FGSummer::FGSummer(FGFCS* fcs, FGConfigFile* AC_cfg) : FGFCSComponent(fcs),
|
||||
AC_cfg(AC_cfg)
|
||||
{
|
||||
|
|
|
@ -61,6 +61,8 @@ INCLUDES
|
|||
DEFINES
|
||||
*******************************************************************************/
|
||||
|
||||
#define ID_SUMMER "$Header"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
/*******************************************************************************
|
||||
|
||||
Module: FGSwitch.cpp
|
||||
Author:
|
||||
Date started:
|
||||
Author: Jon S. Berndt
|
||||
Date started: 4/2000
|
||||
|
||||
------------- Copyright (C) 2000 -------------
|
||||
|
||||
|
@ -40,16 +40,13 @@ INCLUDES
|
|||
|
||||
#include "FGSwitch.h"
|
||||
|
||||
static const char *IdSrc = "$Header$";
|
||||
static const char *IdHdr = ID_SWITCH;
|
||||
|
||||
/*******************************************************************************
|
||||
************************************ CODE **************************************
|
||||
*******************************************************************************/
|
||||
|
||||
// *****************************************************************************
|
||||
// Function: constructor
|
||||
// Purpose:
|
||||
// Parameters: void
|
||||
// Comments:
|
||||
|
||||
FGSwitch::FGSwitch(FGFCS* fcs, FGConfigFile* AC_cfg) : FGFCSComponent(fcs),
|
||||
AC_cfg(AC_cfg)
|
||||
{
|
||||
|
|
|
@ -49,6 +49,8 @@ INCLUDES
|
|||
DEFINES
|
||||
*******************************************************************************/
|
||||
|
||||
#define ID_SWITCH "$Header"
|
||||
|
||||
/*******************************************************************************
|
||||
CLASS DECLARATION
|
||||
*******************************************************************************/
|
||||
|
|
Loading…
Reference in a new issue