]> git.mxchange.org Git - flightgear.git/commitdiff
Sync with JSBSim CVS again
authorehofman <ehofman>
Sun, 30 Aug 2009 08:22:03 +0000 (08:22 +0000)
committerTim Moore <timoore@redhat.com>
Wed, 2 Sep 2009 22:02:48 +0000 (00:02 +0200)
97 files changed:
src/FDM/JSBSim/FGFDMExec.cpp
src/FDM/JSBSim/FGFDMExec.h
src/FDM/JSBSim/FGJSBBase.cpp
src/FDM/JSBSim/FGJSBBase.h
src/FDM/JSBSim/FGState.cpp
src/FDM/JSBSim/FGState.h
src/FDM/JSBSim/input_output/FGPropertyManager.h
src/FDM/JSBSim/input_output/FGScript.cpp
src/FDM/JSBSim/input_output/FGScript.h
src/FDM/JSBSim/input_output/FGXMLElement.cpp
src/FDM/JSBSim/input_output/FGXMLElement.h
src/FDM/JSBSim/input_output/FGXMLFileRead.h
src/FDM/JSBSim/input_output/FGXMLParse.cpp
src/FDM/JSBSim/input_output/FGXMLParse.h
src/FDM/JSBSim/input_output/FGfdmSocket.cpp
src/FDM/JSBSim/input_output/FGfdmSocket.h
src/FDM/JSBSim/math/FGColumnVector3.cpp
src/FDM/JSBSim/math/FGColumnVector3.h
src/FDM/JSBSim/math/FGCondition.cpp
src/FDM/JSBSim/math/FGFunction.cpp
src/FDM/JSBSim/math/FGFunction.h
src/FDM/JSBSim/math/FGLocation.cpp
src/FDM/JSBSim/math/FGLocation.h
src/FDM/JSBSim/math/FGMatrix33.h
src/FDM/JSBSim/math/FGParameter.h
src/FDM/JSBSim/math/FGPropertyValue.cpp
src/FDM/JSBSim/math/FGPropertyValue.h
src/FDM/JSBSim/math/FGQuaternion.cpp
src/FDM/JSBSim/math/FGQuaternion.h
src/FDM/JSBSim/math/FGRealValue.cpp
src/FDM/JSBSim/math/FGRealValue.h
src/FDM/JSBSim/math/FGTable.cpp
src/FDM/JSBSim/math/FGTable.h
src/FDM/JSBSim/models/FGAerodynamics.cpp
src/FDM/JSBSim/models/FGAerodynamics.h
src/FDM/JSBSim/models/FGAircraft.cpp
src/FDM/JSBSim/models/FGAircraft.h
src/FDM/JSBSim/models/FGAtmosphere.cpp
src/FDM/JSBSim/models/FGAtmosphere.h
src/FDM/JSBSim/models/FGAuxiliary.cpp
src/FDM/JSBSim/models/FGAuxiliary.h
src/FDM/JSBSim/models/FGBuoyantForces.cpp
src/FDM/JSBSim/models/FGBuoyantForces.h
src/FDM/JSBSim/models/FGExternalForce.cpp
src/FDM/JSBSim/models/FGExternalForce.h
src/FDM/JSBSim/models/FGFCS.cpp
src/FDM/JSBSim/models/FGFCS.h
src/FDM/JSBSim/models/FGGroundReactions.cpp
src/FDM/JSBSim/models/FGGroundReactions.h
src/FDM/JSBSim/models/FGInertial.cpp
src/FDM/JSBSim/models/FGInertial.h
src/FDM/JSBSim/models/FGInput.cpp
src/FDM/JSBSim/models/FGInput.h
src/FDM/JSBSim/models/FGLGear.cpp
src/FDM/JSBSim/models/FGLGear.h
src/FDM/JSBSim/models/FGMassBalance.cpp
src/FDM/JSBSim/models/FGMassBalance.h
src/FDM/JSBSim/models/FGModel.cpp
src/FDM/JSBSim/models/FGModel.h
src/FDM/JSBSim/models/FGOutput.cpp
src/FDM/JSBSim/models/FGOutput.h
src/FDM/JSBSim/models/FGPropagate.cpp
src/FDM/JSBSim/models/FGPropagate.h
src/FDM/JSBSim/models/FGPropulsion.cpp
src/FDM/JSBSim/models/FGPropulsion.h
src/FDM/JSBSim/models/atmosphere/FGMars.cpp
src/FDM/JSBSim/models/atmosphere/FGMars.h
src/FDM/JSBSim/models/flight_control/FGAccelerometer.cpp
src/FDM/JSBSim/models/flight_control/FGAccelerometer.h
src/FDM/JSBSim/models/flight_control/FGActuator.cpp
src/FDM/JSBSim/models/flight_control/FGActuator.h
src/FDM/JSBSim/models/flight_control/FGFCSComponent.cpp
src/FDM/JSBSim/models/flight_control/FGFCSComponent.h
src/FDM/JSBSim/models/flight_control/FGFilter.h
src/FDM/JSBSim/models/flight_control/FGGain.h
src/FDM/JSBSim/models/flight_control/FGPID.cpp
src/FDM/JSBSim/models/flight_control/FGPID.h
src/FDM/JSBSim/models/flight_control/FGSensor.cpp
src/FDM/JSBSim/models/flight_control/FGSensor.h
src/FDM/JSBSim/models/flight_control/FGSwitch.h
src/FDM/JSBSim/models/flight_control/Makefile.am
src/FDM/JSBSim/models/propulsion/FGEngine.cpp
src/FDM/JSBSim/models/propulsion/FGEngine.h
src/FDM/JSBSim/models/propulsion/FGNozzle.cpp
src/FDM/JSBSim/models/propulsion/FGNozzle.h
src/FDM/JSBSim/models/propulsion/FGPiston.cpp
src/FDM/JSBSim/models/propulsion/FGPiston.h
src/FDM/JSBSim/models/propulsion/FGPropeller.cpp
src/FDM/JSBSim/models/propulsion/FGPropeller.h
src/FDM/JSBSim/models/propulsion/FGRocket.cpp
src/FDM/JSBSim/models/propulsion/FGRocket.h
src/FDM/JSBSim/models/propulsion/FGRotor.cpp
src/FDM/JSBSim/models/propulsion/FGRotor.h
src/FDM/JSBSim/models/propulsion/FGTank.cpp
src/FDM/JSBSim/models/propulsion/FGTank.h
src/FDM/JSBSim/models/propulsion/FGThruster.cpp
src/FDM/JSBSim/models/propulsion/FGThruster.h

index da1b9deb0bd5a3ed52be6b1219cc24ca9efe32e2..c6740b4b6ab1e5485e64b0804d6096a615c90e50 100644 (file)
@@ -5,7 +5,7 @@
  Date started: 11/17/98
  Purpose:      Schedules and runs the model routines.
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 904e8e43a6c34b4745d1e8bb8631b9efcdce8fa9..50bffeaf52f0cafc5685964d6871db5e35e504ad 100644 (file)
@@ -4,7 +4,7 @@
  Date started: 11/17/98
  file The header file for the JSBSim executive.
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index d0af549b842e3ffb05d16cbeb99876345421db94..4e02407a41025ba1262d0fae46be7fbdb3029c0a 100644 (file)
@@ -5,7 +5,7 @@
  Date started: 07/01/01
  Purpose:      Encapsulates the JSBBase object
 
- ------------- Copyright (C) 2001  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2001  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 49b0aec9e02282f3c478e510c20e6ddffabfdeb4..e8b60b6d493a3b3ddb7abc7589a77bccc48c1874 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 07/01/01
 
- ------------- Copyright (C) 2001  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2001  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index a3f51e25b0e6e88ef511fc1397c11ec8834a8aa3..f9c19d37f88e693936ecaa563bb8230959d4bfb6 100644 (file)
@@ -5,7 +5,7 @@
  Date started: 11/17/98
  Called by:    FGFDMExec and accessed by all models.
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index d1ca3d74ff7a803faf7cbb24facb44cbe13212fa..c1b6f72813816db14ca96db273033f6b12bc65bb 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 11/17/98
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index aec24c36b77395ec805a668786dcd27922839335..40c173fcdc0e9558585631204323266e5a8d9eb5 100644 (file)
@@ -35,17 +35,18 @@ SENTRY
 INCLUDES
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
+// This is needed by MSVC9 when included in FlightGear because of
+// the new Vec4d class in props.hxx
+#if defined( HAVE_CONFIG_H )
+# include <config.h>
+#endif
+
 #include <string>
 #include <iostream>
+#include <simgear/props/props.hxx>
 #if !PROPS_STANDALONE
-  // This is needed by MSVC9 when included in FlightGear because of
-  // the new Vec4d class in props.hxx
-# if defined( HAVE_CONFIG_H )
-#  include <config.h>
-# endif
 # include <simgear/math/SGMath.hxx>
 #endif
-#include <simgear/props/props.hxx>
 
 #include "FGJSBBase.h"
 
index 5605b615cf635561360e8bd1b549ced5b64b9fe9..e0fff6a13069b0a574110b2d06f6c6174dd301fa 100755 (executable)
@@ -5,7 +5,7 @@
  Date started: 12/21/01
  Purpose:      Loads and runs JSBSim scripts.
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 5ae50dfcff2be0cec2ab24c8d3ded09e1c451680..41037c1d9589ffe1ee73b09bd1e3c59b5466715d 100644 (file)
@@ -3,7 +3,7 @@
  Author:       Jon Berndt
  Date started: 12/21/2001
 
- ------------- Copyright (C) 2001  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2001  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 74983440ef6e231b86f28a09fef82d714d90aebb..f4f628e8b9cc63b497b441ed10d46b3872d00836 100755 (executable)
@@ -5,7 +5,7 @@
  Purpose:      XML element class
  Called by:    FGXMLParse
 
- ------------- Copyright (C) 2001  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2001  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 90bfa58f757a7ee30e9ee415a5982f1bf8b8d9e5..f8a85bbcdb5f92196b66bf9f2b554a1916505b47 100755 (executable)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 9/28/04
 
- ------------- Copyright (C) 2004  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2004  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index b9e250600918594dd232a61694f4836bc8004be2..ce33d8c5bc4bcba1ef9583ded75192643e41b2c9 100755 (executable)
@@ -5,7 +5,7 @@
  Date started: 02/04/07
  Purpose:      Shared base class that wraps the XML file reading logic
 
- ------------- Copyright (C) 2007  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2007  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index b8923225fcf33d55a55e21c12d7fa2f2e24bbaf3..ffc3d173bc1dea36634e967ce170cc2409b777e5 100755 (executable)
@@ -6,7 +6,7 @@
  Purpose:      Config file read-in class and XML parser
  Called by:    Various
 
- ------------- Copyright (C) 2001  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2001  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index c966902436f8f29f50fe61c965e1224594757395..74580060b8dff8924a5bcd767b8513ac4e43704c 100755 (executable)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 8/20/04
 
- ------------- Copyright (C) 2004  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2004  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 7fa7ae59fbc7678d646c93adf943030f68bd4de5..365c1916fe9e901686556d139d83ba33cadfc2b7 100644 (file)
@@ -6,7 +6,7 @@
  Purpose:      Encapsulates a socket
  Called by:    FGOutput, et. al.
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index c8f139103ebd8308ebfe481c38ff693dcd7eb487..fc133473d90724f255392a89005672d5a4e33fdd 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 11/08/99
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 83320b8e50ec1d71955cb6729db7e1057d157c9f..fc7b80595d536c9482513456fa0c1ad3a3daccbc 100644 (file)
@@ -6,7 +6,7 @@ Date started: 1998
 Purpose: FGColumnVector3 class
 Called by: Various
 
- ------------- Copyright (C) 1998 Tony Peden and Jon S. Berndt (jsb@hal-pc.org) -
+ ------------- Copyright (C) 1998 Tony Peden and Jon S. Berndt (jon@jsbsim.org) -
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 5fe76e77ac5430937994e1f0977da709c512eef7..9b16a6df11036dac18ffdd9e94fd657af85068be 100644 (file)
@@ -4,7 +4,7 @@ Header: FGColumnVector3.h
 Author: Originally by Tony Peden [formatted and adapted here by Jon Berndt]
 Date started: Unknown
 
- ------------- Copyright (C) 2001 by Tony Peden and Jon S. Berndt (jsb@hal-pc.org)
+ ------------- Copyright (C) 2001 by Tony Peden and Jon S. Berndt (jon@jsbsim.org)
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index cfc4bae91d9b653916a13ee57c3ce9ed57d3e61f..6f40a72dff8d77ba52d5460dfcc0d478e7fc8911 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 1/2/2003
 
- -------------- Copyright (C) 2003 Jon S. Berndt (jsb@hal-pc.org) --------------
+ -------------- Copyright (C) 2003 Jon S. Berndt (jon@jsbsim.org) --------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 6dd1d3d27a81bc11f2bf42f92feee46f8ec29f96..7a185ec01ccdbcabc7eee58c840bada112115ae6 100755 (executable)
@@ -5,7 +5,7 @@ Author: Jon Berndt
 Date started: 8/25/2004
 Purpose: Stores various parameter types for functions
 
- ------------- Copyright (C) 2004  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2004  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 97d4fa3c8918b08104bbc839da1cb62dad4cada7..a4ba9694ba13dde4dd17c0525b6d8ef446cdc4f7 100755 (executable)
@@ -4,7 +4,7 @@ Header: FGFunction.h
 Author: Jon Berndt
 Date started: August 25 2004
 
- ------------- Copyright (C) 2001  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2001  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 8aee82863f48846518c10616c40c55b0673a6795..d740d01b120dc4e135737180f8ea5c07fbfd9320 100644 (file)
@@ -5,7 +5,7 @@
  Date started: 04/04/2004
  Purpose:      Store an arbitrary location on the globe
 
- ------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) ------------------
+ ------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) ------------------
  -------           (C) 2004  Mathias Froehlich (Mathias.Froehlich@web.de) ----
 
  This program is free software; you can redistribute it and/or modify it under
index 2ad5b87bfcc24ac614c7b4ca47f38dd41dfeafd8..e55f31c81e627a8086df4e67eaf8a8997e915d66 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt, Mathias Froehlich
  Date started: 04/04/2004
 
- ------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) ------------------
+ ------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) ------------------
  -------           (C) 2004  Mathias Froehlich (Mathias.Froehlich@web.de) ----
 
  This program is free software; you can redistribute it and/or modify it under
index 4e8234bfd91ff4d7e10d04e0e1b652437c46cba3..98babfcd0d2b4287d0ec76441a9deb0df233212c 100644 (file)
@@ -4,7 +4,7 @@ Header: FGMatrix33.h
 Author: Tony Peden, Jon Berndt, Mathias Frolich
 Date started: Unknown
 
- ------------- Copyright (C) 2001  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2001  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 3e235affa4ee0cb77498588c1bfad874faa57738..f1f42a8ed961859ae9db82135b17e9ae59c9aa62 100755 (executable)
@@ -4,7 +4,7 @@ Header: FGParameter.h
 Author: Jon Berndt
 Date started: August 25 2004
 
- ------------- Copyright (C) 2001  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2001  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index dd24aaa939094fe5152e2cf910302d19167dd613..111b078c8de475d3bd2ff3109dccb7d3c67aef63 100755 (executable)
@@ -5,7 +5,7 @@ Author: Jon Berndt
 Date started: 12/10/2004
 Purpose: Stores property values
 
- ------------- Copyright (C) 2001  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2001  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index b9bc6e2b614feba797fd342d8278edd835e721ca..60ad5f5ce4b3df4ee1227c801ce97a15001c26cc 100755 (executable)
@@ -4,7 +4,7 @@ Header: FGPropertyValue.h
 Author: Jon Berndt
 Date started: December 10 2004
 
- ------------- Copyright (C) 2001  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2001  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 6ab1c39546f7c7087277819d4c66d1366c0f08a3..74b63d8884848826f8e671e8b68dd6ed849bd19e 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon Berndt, Mathias Froehlich
  Date started: 12/02/98
 
- ------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) ------------------
+ ------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) ------------------
  -------           (C) 2004  Mathias Froehlich (Mathias.Froehlich@web.de) ----
 
  This program is free software; you can redistribute it and/or modify it under
index a17008fd6032e995e9513a97dd6ecc4b1a5f4118..3607c2064f3bc771bca29765f73903112710fd35 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon Berndt, Mathis Froehlich
  Date started: 12/02/98
 
- ------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) ------------------
+ ------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) ------------------
  -------           (C) 2004  Mathias Froehlich (Mathias.Froehlich@web.de) ----
 
  This program is free software; you can redistribute it and/or modify it under
index 313d5d646c2388f0cd5d4ef61091930886e662f7..9d3deec3b4c60fac4ed1ab82f9685d391cc0757a 100755 (executable)
@@ -5,7 +5,7 @@ Author: Jon Berndt
 Date started: 12/10/2004
 Purpose: Stores real values
 
- ------------- Copyright (C) 2001  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2001  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 36b3408ae9463f91b52ca47f57c59003005050ad..626770c2616838ca117c28a5016564a7312c03eb 100755 (executable)
@@ -4,7 +4,7 @@ Header: FGRealValue.h
 Author: Jon Berndt
 Date started: December 10 2004
 
- ------------- Copyright (C) 2001  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2001  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index e3c9fcf5c091d8553101858ed9ded0d24e05616c..079631db55615da53fdaa204dc8b9ecb58c4a623 100644 (file)
@@ -5,7 +5,7 @@
  Date started: 1/9/2001
  Purpose:      Models a lookup table
 
- ------------- Copyright (C) 2001  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2001  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index e3bafc3222ba3e9c1a37116e452a56e71c0508fb..a90654a18c2fb19f1ac947df8e2d964fa94b74a3 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 1/9/2001
 
- ------------- Copyright (C) 2001  Jon S. Berndt (jsb@hal-pc.org) --------------
+ ------------- Copyright (C) 2001  Jon S. Berndt (jon@jsbsim.org) --------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 2721fbf09ec4e7a9e71d2415607142c590b36e1e..829697024ae7143df6f7e4131c5cfe330de2deff 100644 (file)
@@ -5,7 +5,7 @@
  Date started: 09/13/00
  Purpose:      Encapsulates the aerodynamic forces
 
- ------------- Copyright (C) 2000  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2000  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 0f5c6c1456e3d2dcf97e526c3a5990055ea932c5..9e2e47b22e9dbf2dccd418ce9887148a76a66fb3 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 09/13/00
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 0d8c3ed7910228f40fc254b7f9fa2b593de6d85f..9c6ffef856ac47a6585fcaa43f476fe5cfb80bf3 100644 (file)
@@ -6,7 +6,7 @@
  Purpose:      Encapsulates an aircraft
  Called by:    FGFDMExec
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 616da6cf0bf4178f0ba93f2c9b556a493a32bef0..bc32b1afbd7b1ff8959f5264ef2f5dba415c2c99 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 12/12/98
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index a1bdb89b6ba7d429bb891ed85ce1cca875d9196e..b8946ac47af84b5f86b60cdfeedef2c5bb653778 100644 (file)
@@ -7,7 +7,7 @@
  Purpose:      Models the atmosphere
  Called by:    FGSimExec
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 75e65a8e076d7d1f5a69b8e3af070ad1c3f85790..fef92c7b6974ef0d1e0068a36ba4d5b25bd3fbd6 100644 (file)
@@ -5,7 +5,7 @@
                Implementation of 1959 Standard Atmosphere added by Tony Peden
  Date started: 11/24/98
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 697d5f9a73b54444e45a11cc842cf16d0d2f57e9..be578ae1c4c95805f1e3d8db1cf3721c83c15ab4 100755 (executable)
@@ -6,7 +6,7 @@
  Purpose:      Calculates additional parameters needed by the visual system, etc.
  Called by:    FGSimExec
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
@@ -377,6 +377,9 @@ void FGAuxiliary::bind(void)
   PropertyManager->Tie("position/distance-from-start-lon-mt", this, &FGAuxiliary::GetLongitudeRelativePosition);
   PropertyManager->Tie("position/distance-from-start-lat-mt", this, &FGAuxiliary::GetLatitudeRelativePosition);
   PropertyManager->Tie("position/distance-from-start-mag-mt", this, &FGAuxiliary::GetDistanceRelativePosition);
+  PropertyManager->Tie("position/vrp-gc-latitude_deg", &vLocationVRP, &FGLocation::GetLatitudeDeg);
+  PropertyManager->Tie("position/vrp-longitude_deg", &vLocationVRP, &FGLocation::GetLongitudeDeg);
+  PropertyManager->Tie("position/vrp-radius-ft", &vLocationVRP, &FGLocation::GetRadius);
 }
 
 //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
index c7e066bf4408832871c5a7eb4f392c655f923849..6420e3b975bce333e338e0dfe275ab371e489b79 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon Berndt
  Date started: 01/26/99
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 4803195edb1b0b2aa0e0864ccb466fe2298b6df8..12979754919ec29c41416b12e2f8534db4366515 100644 (file)
@@ -6,7 +6,7 @@
  Purpose:      Encapsulates the buoyant forces
 
  ------------- Copyright (C) 2008 - 2009  Anders Gidenstam        -------------
- ------------- Copyright (C) 2008  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2008  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 7ef94b088187b423d8bdfe8438cdb631d194be7d..f03a00df26e152f72f6e70558a632aa9fd46cfe9 100644 (file)
@@ -5,7 +5,7 @@
  Date started: 01/21/08
 
  ------------- Copyright (C) 2008  Anders Gidenstam               -------------
- ------------- Copyright (C) 2008  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2008  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 349f28db3f12951e445887f438c533b4508e9c93..48884c4d198da135ea4d18170697bf5e21ee02f5 100755 (executable)
@@ -4,7 +4,7 @@
  Author:       Jon Berndt, Dave Culp
  Date started: 9/21/07
 
- ------------- Copyright (C) 2007  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2007  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 3ba6641e34b43fcc93f0f43be2e4942de95d781a..c6573924891d5782bc1b2202528e94760a3cc4ba 100755 (executable)
@@ -4,7 +4,7 @@
  Author:       Jon Berndt, Dave Culp
  Date started: 9/21/07
 
- ------------- Copyright (C) 2007  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2007  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 47213f90074c31b24493ef887785345722b510b1..e1b7b9fb42e6a29aa2f790c9d6288bda5cf68798 100644 (file)
@@ -6,7 +6,7 @@
  Purpose:      Model the flight controls
  Called by:    FDMExec
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
@@ -55,6 +55,7 @@ INCLUDES
 #include <models/flight_control/FGSensor.h>
 #include <models/flight_control/FGActuator.h>
 #include <models/flight_control/FGAccelerometer.h>
+#include <models/flight_control/FGGyro.h>
 
 namespace JSBSim {
 
@@ -642,6 +643,8 @@ bool FGFCS::Load(Element* el, SystemType systype)
           Components->push_back(new FGSensor(this, component_element));
         } else if (component_element->GetName() == string("accelerometer")) {
           Components->push_back(new FGAccelerometer(this, component_element));
+        } else if (component_element->GetName() == string("gyro")) {
+          Components->push_back(new FGGyro(this, component_element));
         } else {
           cerr << "Unknown FCS component: " << component_element->GetName() << endl;
         }
index b026e4b1a1ec99ce707ba857f5aabf6c660b607d..79535f261dda2c0b83edf5fee016cbb668637722 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 12/12/98
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 1068d81e5838ce39e33c20d5c76fe8ce30b4a0cd..4a430144d6045966df1d64b3c98dc2a95d5cd849 100644 (file)
@@ -5,7 +5,7 @@
  Date started: 09/13/00
  Purpose:      Encapsulates the ground reaction forces (gear and collision)
 
- ------------- Copyright (C) 2000  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2000  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index a7870f1673fc0dce601f5f7899f4db6883c90ec1..9ad5ae8365fc91aa17fe1c0cf6f48a5f6ecadedb 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 09/13/00
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 9f6373399cc9103b7d38e28dba824680b5fbc0b7..6db0555e0caadb99f7f71b04eec9ef7dab84db59 100644 (file)
@@ -5,7 +5,7 @@
  Date started: 09/13/00
  Purpose:      Encapsulates the inertial frame forces (coriolis and centrifugal)
 
- ------------- Copyright (C) 2000  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2000  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index adf46d3590b2fb246a8e176d3fb7c2995567bdd8..f17d0c7ffdf29358706cec523820be76acdd6cab 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 09/13/00
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index d7e2a2a517a0e1d175a52932115da2f6365d20e2..e36abc27161ddc988d0500f874be369f6cdcfd17 100755 (executable)
@@ -6,7 +6,7 @@
  Purpose:      Manage output of sim parameters to file or stdout
  Called by:    FGSimExec
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 6ccaddfbb72755741ed626ef662bfa0f94e9b22f..2344c3a799bd4ea95717459b748804e51d393469 100755 (executable)
@@ -4,7 +4,7 @@
  Author:       Jon Berndt
  Date started: 12/2/98
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index e8df4370ad99c828950097f6721c05ae415d02cb..c7a7534c7d1e84dd7f4bd735bd8576725847086e 100644 (file)
@@ -8,7 +8,7 @@
  Purpose:      Encapsulates the landing gear elements
  Called by:    FGAircraft
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
@@ -280,7 +280,7 @@ FGColumnVector3& FGLGear::Force(void)
     vLocalGear = Propagate->GetTb2l() * vWhlBodyVec; // Get local frame wheel location
 
     gearLoc = Propagate->GetLocation().LocalToLocation(vLocalGear);
-    // Compute the height of the theoritical location of the wheel (if struct was not compressed) with
+    // Compute the height of the theoretical location of the wheel (if strut is not compressed) with
     // respect to the ground level
     double height = Exec->GetGroundCallback()->GetAGLevel(t, gearLoc, contact, normal, cvel);
     vGroundNormal = -1. * Propagate->GetTec2b() * normal;
@@ -392,13 +392,6 @@ FGColumnVector3& FGLGear::Force(void)
 
 void FGLGear::ComputeGroundCoordSys(void)
 {
-  if( fabs(vGroundNormal(eZ)) < 1e-3 ) {
-    cout << "BOMB: ";
-    cout << vGroundNormal(eX) << "/" << vGroundNormal(eY) << "/" << 
-         vGroundNormal(eZ) << " - " << SteerAngle << endl;
-    return;
-  }
-
   // Compute the rolling direction projected on the ground
   // It consists in finding a vector 'r' such that 'r' lies in the plane (w,z) and r.n = 0 (scalar
   // product) where:
index 09a143873fef38f0d29c636c1e3f5ced8efb6b4c..b7e2f1b83de5e55c08728bc9c8a47ad66a5a90e4 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 11/18/99
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index fd2fad3d5348d967742b82e975ea1cf37acf9876..2b599ffcc9947186f3ee5dfbbfb56b7a5e30c479 100644 (file)
@@ -5,7 +5,7 @@
  Date started: 09/12/2000
  Purpose:      This module models weight and balance
 
- ------------- Copyright (C) 2000  Jon S. Berndt (jsb@hal-pc.org) --------------
+ ------------- Copyright (C) 2000  Jon S. Berndt (jon@jsbsim.org) --------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index c77400f377e22180cfffde1342a017ec02ce3922..9abb191721c6472a373678313745ef3af50e284b 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 09/12/2000
 
- ------------- Copyright (C) 2000  Jon S. Berndt (jsb@hal-pc.org) --------------
+ ------------- Copyright (C) 2000  Jon S. Berndt (jon@jsbsim.org) --------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 6ddf5ed3799a4c709851b43871d7ea3539e8b769..bb41c22f8ee62f19e0f119119b958990deef457a 100644 (file)
@@ -6,7 +6,7 @@
  Purpose:      Base class for all models
  Called by:    FGSimExec, et. al.
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index cef01d5e39c279530acedacb0c095e3dd99edd29..1464296aabd417599295eac0f3d2c33f770171c4 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon Berndt
  Date started: 11/21/98
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index cb48ab5542f33d342dcae1554323da95a7e29710..4a34a5c22d2c6680ef5f11c70032a62f50f3f13a 100644 (file)
@@ -6,7 +6,7 @@
  Purpose:      Manage output of sim parameters to file or stdout
  Called by:    FGSimExec
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
@@ -333,7 +333,7 @@ void FGOutput::DelimitedOutput(string fname)
       outstream << "ECEF X (ft)" + delimeter + "ECEF Y (ft)" + delimeter + "ECEF Z (ft)" + delimeter;
       outstream << "EPA (deg)" + delimeter;
       outstream << "Distance AGL (ft)" + delimeter;
-      outstream << "Terrain Radius (ft)";
+      outstream << "Terrain Elevation (ft)";
     }
     if (SubSystems & ssCoefficients) {
       scratch = Aerodynamics->GetCoefficientStrings(delimeter);
@@ -445,7 +445,7 @@ void FGOutput::DelimitedOutput(string fname)
     outstream.precision(14);
     outstream << Inertial->GetEarthPositionAngleDeg() << delimeter;
     outstream << Propagate->GetDistanceAGL() << delimeter;
-    outstream << Propagate->GetLocalTerrainRadius();
+    outstream << Propagate->GetTerrainElevation();
     outstream.precision(10);
   }
   if (SubSystems & ssCoefficients) {
index 2aeef3ea60da054dfdf849aa42df143b9b788261..1646dadb008e680faccc6285aed4fb4c13f8a1cb 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon Berndt
  Date started: 12/2/98
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 0b7d7f78af2acb578c827e65e567739765240228..d665c3062e9915074645ef61c6b816cfde99c3f3 100644 (file)
@@ -6,7 +6,7 @@
  Purpose:      Integrate the EOM to determine instantaneous position
  Called by:    FGFDMExec
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index a4ecd6c912761e5950655f169ad66281d51adfae..6de7d11c4a0921f964e90531f7d54edc921e7c1c 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 1/5/99
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 04ff6b40c7412c5c3d2cd614d5c58c2289fcbb43..ed066b26c3ecf2fce85daa4b7f6cefff87737166 100644 (file)
@@ -6,7 +6,7 @@
  Purpose:      Encapsulates the set of engines and tanks associated
                with this aircraft
 
- ------------- Copyright (C) 2000  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2000  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index b812f19680c6274bcb3dedc178f7306e20f430b9..e356c0b154a5b1a7d560f6f0de3ce1674dfcb726 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 08/20/00
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index d110437dd340a9248f937fb73605b5aed55dac49..3bd73792629b3b1c698b2d0736baaec91ec8a4ec 100755 (executable)
@@ -6,7 +6,7 @@
  Purpose:      Models the Martian atmosphere very simply
  Called by:    FGFDMExec
 
- ------------- Copyright (C) 2004  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2004  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 4841e71ecf92743a277077563b3925e842900687..c07a789655e417c5121d23c10582271ce00f472f 100755 (executable)
@@ -4,7 +4,7 @@
  Author:       Jon Berndt
  Date started: 01/05/2004
  
- ------------- Copyright (C) 2004  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2004  Jon S. Berndt (jon@jsbsim.org) -------------
  
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index af9ca54b218b9adf5cfe2ea0a3896d245a198585..b2c3ca573b25024accc64934e8f64db259d612af 100755 (executable)
@@ -48,11 +48,11 @@ static const char *IdHdr = ID_ACCELEROMETER;
 CLASS IMPLEMENTATION
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
 
-
 FGAccelerometer::FGAccelerometer(FGFCS* fcs, Element* element) : FGSensor(fcs, element)
 {
   Propagate = fcs->GetExec()->GetPropagate();
   MassBalance = fcs->GetExec()->GetMassBalance();
+  Inertial = fcs->GetExec()->GetInertial();
   
   Element* location_element = element->FindElement("location");
   if (location_element) vLocation = location_element->FindElementTripletConvertTo("IN");
@@ -98,11 +98,18 @@ bool FGAccelerometer::Run(void )
   // There is no input assumed. This is a dedicated acceleration sensor.
   
   vRadius = MassBalance->StructuralToBody(vLocation);
+    
+  //gravitational forces
+  vAccel = Propagate->GetTl2b() * FGColumnVector3(0, 0, Inertial->gravity());
+
+  //aircraft forces
+  vAccel += (Propagate->GetUVWdot()
+              + Propagate->GetPQRdot() * vRadius
+              + Propagate->GetPQR() * (Propagate->GetPQR() * vRadius));
+
+  // transform to the specified orientation
+  vAccel = mT * vAccel;
 
-  vAccel = mT * (Propagate->GetUVWdot()
-                 + Propagate->GetPQRdot() * vRadius
-                 + Propagate->GetPQR() * (Propagate->GetPQR() * vRadius));
-  
   Input = vAccel(axis);
 
   Output = Input; // perfect accelerometer
@@ -118,6 +125,7 @@ bool FGAccelerometer::Run(void )
   if (noise_variance != 0.0) Noise();     // models noise
   if (drift_rate != 0.0)     Drift();     // models drift over time
   if (bias != 0.0)           Bias();      // models a finite bias
+  if (gain != 0.0)           Gain();      // models a gain
 
   if (fail_low)  Output = -HUGE_VAL;
   if (fail_high) Output =  HUGE_VAL;
@@ -150,7 +158,7 @@ void FGAccelerometer::CalculateTransformMatrix(void)
   mT(3,1) = cr*sp*cy + sr*sy;
   mT(3,2) = cr*sp*sy - sr*cy;
   mT(3,3) = cr*cp;
-  
+
   // This transform is different than for FGForce, where we want a native nozzle
   // force in body frame. Here we calculate the body frame accel and want it in
   // the transformed accelerometer frame. So, the next line is commented out.
index 9bdcece7d06df84e2cc9940043bb12304fbaa357..bf3a58c6e666b8f461071b580706f52a05a78b04 100755 (executable)
@@ -41,6 +41,7 @@ INCLUDES
 #include <input_output/FGXMLElement.h>
 #include "models/FGPropagate.h"
 #include "models/FGMassBalance.h"
+#include "models/FGInertial.h"
 #include "math/FGColumnVector3.h"
 #include "math/FGMatrix33.h"
 
@@ -126,6 +127,7 @@ public:
 private:
   FGPropagate* Propagate;
   FGMassBalance* MassBalance;
+  FGInertial* Inertial;
   FGColumnVector3 vLocation;
   FGColumnVector3 vOrient;
   FGColumnVector3 vRadius;
index 3b36b3a920e2aec852c829e2b7f2278dbdf4cd0e..9b0a3cc8a6da773b1b56cc330e349739ba12cb04 100755 (executable)
@@ -4,7 +4,7 @@
  Author:       Jon Berndt
  Date started: 21 February 2006
 
- ------------- Copyright (C) 2007 Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2007 Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index e7407f33375bec06c390cba087d24c091d906b3e..79571fbe66107ec926384c296c0cc4537e38d152 100755 (executable)
@@ -4,7 +4,7 @@
  Author:       Jon Berndt
  Date started: 21 February 2007
 
- ------------- Copyright (C) 2006 Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2006 Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 7af390ef5549fd92759286deb823b3737f2173db..954be235449c224144106c6681bd269155efd94a 100644 (file)
@@ -91,6 +91,8 @@ FGFCSComponent::FGFCSComponent(FGFCS* _fcs, Element* element) : fcs(_fcs)
     Type = "SENSOR";
   } else if (element->GetName() == string("accelerometer")) {
     Type = "ACCELEROMETER";
+  } else if (element->GetName() == string("gyro")) {
+    Type = "GYRO";
   } else if (element->GetName() == string("actuator")) {
     Type = "ACTUATOR";
   } else { // illegal component in this channel
index 3ce2f41543d7bbca02e3149af791efa1e64526b7..fa8506131c560864e080b16b692c624e0ad41e1e 100644 (file)
@@ -78,6 +78,9 @@ CLASS DOCUMENTATION
     - FGSensor
     - FGFCSFunction
     - FGPID
+    - FGAccelerometer
+    - FGGyro
+    - FGActuator
 
     @author Jon S. Berndt
     @version $Id$
index 587687caa6a868db052ea7585c82d55499ce14ed..c7c0a4143b2933d523f06bbffb6c461a7cc706e0 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 4/2000
 
- ------------- Copyright (C) 2000 Jon S. Berndt jsb@hal-pc.org -------------
+ ------------- Copyright (C) 2000 Jon S. Berndt jon@jsbsim.org -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 7ab7925c3dbfd2ad385f8caa7074fcf42e2334ee..faf535c6908444e7317710e2941d3557c69b707a 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon Berndt
  Date started: 1998 ?
 
- ------------- Copyright (C) 1998 by Jon S. Berndt, jsb@hal-pc.org -------------
+ ------------- Copyright (C) 1998 by Jon S. Berndt, jon@jsbsim.org -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index b8cced69717551163fea61ab389349732f896771..da1b4b0cd1a6f45c40f1465161d675947a0b6f85 100755 (executable)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 6/17/2006
 
- ------------- Copyright (C) 2006 Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2006 Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index b31e984f4bc13ee2a9607037f4ced011043aa279..5839b238a2d75f4f1a7266e77da625bc2600ed3f 100755 (executable)
@@ -4,7 +4,7 @@
  Author:       Jon Berndt
  Date started: 6/17/2006
 
- ------------- Copyright (C) 2006 by Jon S. Berndt, jsb@hal-pc.org -------------
+ ------------- Copyright (C) 2006 by Jon S. Berndt, jon@jsbsim.org -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 824f0ea5c37da9ac3431e50f9436c66acf78d98c..bd6a384179a172b913a4835db9513bfaa9508d51 100755 (executable)
@@ -58,7 +58,7 @@ FGSensor::FGSensor(FGFCS* fcs, Element* element) : FGFCSComponent(fcs, element)
 
   bits = quantized = divisions = index = delay = 0;
   PreviousInput = PreviousOutput = 0.0;
-  min = max = bias = noise_variance = lag = drift_rate = drift = span = 0.0;
+  min = max = bias = gain = noise_variance = lag = drift_rate = drift = span = 0.0;
   granularity = 0.0;
   noise_type = 0;
   fail_low = fail_high = fail_stuck = false;
@@ -82,6 +82,9 @@ FGSensor::FGSensor(FGFCS* fcs, Element* element) : FGFCSComponent(fcs, element)
   if ( element->FindElement("bias") ) {
     bias = element->FindElementValueAsNumber("bias");
   }
+  if ( element->FindElement("gain") ) {
+    gain = element->FindElementValueAsNumber("gain");
+  }
   if ( element->FindElement("drift_rate") ) {
     drift_rate = element->FindElementValueAsNumber("drift_rate");
   }
@@ -152,6 +155,7 @@ bool FGSensor::Run(void )
   if (noise_variance != 0.0) Noise();     // models noise
   if (drift_rate != 0.0)     Drift();     // models drift over time
   if (bias != 0.0)           Bias();      // models a finite bias
+  if (gain != 0.0)           Gain();      // models a finite gain
 
   if (delay != 0.0)          Delay();     // models system signal transport latencies
 
@@ -196,6 +200,13 @@ void FGSensor::Bias(void)
 
 //%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 
+void FGSensor::Gain(void)
+{
+  Output *= gain;
+}
+
+//%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
 void FGSensor::Drift(void)
 {
   drift += drift_rate*dt;
@@ -304,6 +315,7 @@ void FGSensor::Debug(int from)
         cout << "          (span: " << span << ", granularity: " << granularity << ")" << endl;
       }
       if (bias != 0.0) cout << "      Bias: " << bias << endl;
+      if (gain != 0.0) cout << "      Gain: " << gain << endl;
       if (drift_rate != 0) cout << "      Sensor drift rate: " << drift_rate << endl;
       if (lag != 0) cout << "      Sensor lag: " << lag << endl;
       if (noise_variance != 0) {
index 63c217e2054b1dbc8b3cdd3ce7e572ba8b08491f..1e8701c90c5e1491a165c60ffee9e8036e5c0503 100755 (executable)
@@ -139,6 +139,7 @@ protected:
   double min, max;
   double span;
   double bias;
+  double gain;
   double drift_rate;
   double drift;
   double noise_variance;
@@ -166,6 +167,7 @@ protected:
   void Quantize(void);
   void Lag(void);
   void Delay(void);
+  void Gain(void);
 
   void bind(void);
 
index ee379583e5b0fbbe9348f226fc51ee52ca2e5968..4efec9dfbf141a29aa15a09042fa77af353bc7cd 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 12/23/2002
 
- ------------- Copyright (C) 2002 jsb@hal-pc.org  -------------
+ ------------- Copyright (C) 2002 jon@jsbsim.org  -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 376761b5a97a29e9b255f6a3451a706f95085793..ca5c43ff965a75837794c984d52348aea675d511 100644 (file)
@@ -3,10 +3,10 @@ noinst_LIBRARIES = libFlightControl.a
 libFlightControl_a_SOURCES = FGPID.cpp FGDeadBand.cpp FGFCSComponent.cpp \
                             FGFilter.cpp FGGain.cpp FGGradient.cpp FGKinemat.cpp \
                             FGSummer.cpp FGSwitch.cpp FGFCSFunction.cpp FGSensor.cpp \
-                            FGActuator.cpp FGAccelerometer.cpp
+                            FGActuator.cpp FGAccelerometer.cpp FGGyro.cpp
 
 noinst_HEADERS = FGPID.h FGDeadBand.h FGFCSComponent.h FGFilter.h \
                  FGGain.h FGGradient.h FGKinemat.h FGSummer.h FGSwitch.h FGFCSFunction.h \
-                 FGSensor.h FGActuator.h FGAccelerometer.h
+                 FGSensor.h FGActuator.h FGAccelerometer.h FGGyro.h
 
 INCLUDES = -I$(top_srcdir)/src/FDM/JSBSim
index d79f12c92cadbe34770000485925c45ca3a5204b..edddc11fa3947395f2f679ac44f0248bb0e71e0c 100644 (file)
@@ -5,7 +5,7 @@
  Date started: 01/21/99
  Called by:    FGAircraft
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 783fbc0fe5fb6fdfc8475bd897fdb5c86ba01c70..0e79e3a725d106c8ed219a88ca2c2ada3af5ffc5 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 01/21/99
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index dc397cd7f3a9bc1b551d2952204da7d0bdb64f24..78059bd2b2f58ae493fd30e6c5de2fb968cd03e4 100644 (file)
@@ -5,7 +5,7 @@
  Date started: 08/24/00
  Purpose:      Encapsulates the nozzle object
 
- ------------- Copyright (C) 2000  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2000  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index c9549126be1680eb9a947b7a846f79099fe6b7a1..5f1d070bffe2733ee387f886ab75e5fd91c5f795 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 08/24/00
 
- ------------- Copyright (C) 2000  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2000  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index cd24bfbabdf0c16af61ef5348cbc3fbe7a410ab1..23c62efe5005abe546ebfb0aac8f96a99aa2b1e8 100644 (file)
@@ -7,7 +7,7 @@
  Date started: 09/12/2000
  Purpose:      This module models a Piston engine
 
- ------------- Copyright (C) 2000  Jon S. Berndt (jsb@hal-pc.org) --------------
+ ------------- Copyright (C) 2000  Jon S. Berndt (jon@jsbsim.org) --------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 56e5e8b5f27939375e8061058bd2d40f6a7bd510..4c40565a42ee346f23fbe0b4847611594691d087 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 09/12/2000
 
- ------------- Copyright (C) 2000  Jon S. Berndt (jsb@hal-pc.org) --------------
+ ------------- Copyright (C) 2000  Jon S. Berndt (jon@jsbsim.org) --------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index f598468018d0ff43da6da8b13f98857cd426327d..2f5b39523940b2be6f1e5bade71c5bbdc3aa4f6d 100644 (file)
@@ -5,7 +5,7 @@
  Date started: 08/24/00
  Purpose:      Encapsulates the propeller object
 
- ------------- Copyright (C) 2000  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2000  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 65b344e53aa959e06cdff46252b1745ddbadf4b3..a2ddc9f419fc4223bd4612d9cd48fa49e849e8f4 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 08/24/00
 
- ------------- Copyright (C) 2000  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2000  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 479dc1cc5894e226c2313f43d186ffb81eb07f6e..1f4ca5a6f0b04d42ed144d23169947ef821a9080 100644 (file)
@@ -5,7 +5,7 @@
  Date started: 09/12/2000
  Purpose:      This module models a rocket engine
 
- ------------- Copyright (C) 2000  Jon S. Berndt (jsb@hal-pc.org) --------------
+ ------------- Copyright (C) 2000  Jon S. Berndt (jon@jsbsim.org) --------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index afefb5884072c19b2efcfa209d6b91ec22dfec35..4e6e8120a5af3a49e4b07ce2eb1b9ef53f1fe858 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 09/12/2000
 
- ------------- Copyright (C) 2000  Jon S. Berndt (jsb@hal-pc.org) --------------
+ ------------- Copyright (C) 2000  Jon S. Berndt (jon@jsbsim.org) --------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index e8d47ee177271b33bf1ac08af5ab5ed0759eca08..7c3de71a6219fea8789139630a2c873c9bffedce 100644 (file)
@@ -5,7 +5,7 @@
  Date started: 08/24/00
  Purpose:      Encapsulates the rotor object
 
- ------------- Copyright (C) 2000  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2000  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index c876abaac435cf24121f567797d0de82129817dd..6188f40d9fa2e3ce5f246e635d8227e4608cc07e 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 08/24/00
 
- ------------- Copyright (C) 2000  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2000  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index cbf81329ff291869c4e278400af2044b2833c5eb..289fbb197c7aa769a1104d230ba59f5bfa099d91 100644 (file)
@@ -5,7 +5,7 @@
  Date started: 01/21/99
  Called by:    FGAircraft
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index a6b574a06981d83cfa9f615bbc69b5a19544c687..479fcb6c69318bd861fd20a27e5cb63b34597c70 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 01/21/99
 
- ------------- Copyright (C) 1999  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 1999  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index 48fb0692a4ba555639029ba8f065cb88935c1b3c..9a5c38340a3fb42513475eba7c35df6ea7299771 100644 (file)
@@ -5,7 +5,7 @@
  Date started: 08/23/00
  Purpose:      Encapsulates the thruster object
 
- ------------- Copyright (C) 2000  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2000  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software
index d37a73ad87e19294729f273f60d418c0bfdbf778..860db5a554acd2504c1fc061b87195b68ae895d1 100644 (file)
@@ -4,7 +4,7 @@
  Author:       Jon S. Berndt
  Date started: 08/23/00
 
- ------------- Copyright (C) 2000  Jon S. Berndt (jsb@hal-pc.org) -------------
+ ------------- Copyright (C) 2000  Jon S. Berndt (jon@jsbsim.org) -------------
 
  This program is free software; you can redistribute it and/or modify it under
  the terms of the GNU Lesser General Public License as published by the Free Software