~ubuntu-branches/ubuntu/precise/flightgear/precise

« back to all changes in this revision

Viewing changes to src/FDM/JSBSim/models/propulsion/FGThruster.h

  • Committer: Package Import Robot
  • Author(s): Ove Kaaven
  • Date: 2011-09-03 22:16:12 UTC
  • mfrom: (3.1.9 sid)
  • Revision ID: package-import@ubuntu.com-20110903221612-2cjy0z7ztj5nkln5
Tags: 2.4.0-1
* New upstream release. Closes: #638588.
* Build-Depend on OpenSceneGraph 3.0, and the Subversion library.
* Recommend fgfs-scenery-base.
* Enable parallel builds (shorter compile times on multicore CPUs).
* Removed hack that tried to build without optimizations if
  building with optimizations fails.

Show diffs side-by-side

added added

removed removed

Lines of Context:
46
46
DEFINITIONS
47
47
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%*/
48
48
 
49
 
#define ID_THRUSTER "$Id$"
 
49
#define ID_THRUSTER "$Id: FGThruster.h,v 1.16 2011/03/10 01:35:25 dpculp Exp $"
50
50
 
51
51
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
52
52
FORWARD DECLARATIONS
74
74
    1.57 (pi/2) results in no thrust at all.
75
75
 
76
76
    @author Jon Berndt
77
 
    @version $Id$
 
77
    @version $Id: FGThruster.h,v 1.16 2011/03/10 01:35:25 dpculp Exp $
78
78
    */
79
79
 
80
80
/*%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
105
105
  string GetName(void) {return Name;}
106
106
  void SetReverserAngle(double angle) {ReverserAngle = angle;}
107
107
  double GetReverserAngle(void) const {return ReverserAngle;}
 
108
  double GetClutchCtrl(void) const { return ClutchCtrlNorm; }
 
109
  void SetClutchCtrl(double c) { ClutchCtrlNorm = c; }
108
110
  virtual double GetRPM(void) const { return 0.0; };
109
111
  double GetGearRatio(void) {return GearRatio; }
110
112
  virtual string GetThrusterLabels(int id, string delimeter);
119
121
  double GearRatio;
120
122
  double ThrustCoeff;
121
123
  double ReverserAngle;
 
124
  double ClutchCtrlNorm;  
122
125
  int EngineNum;
123
126
  FGPropertyManager* PropertyManager;
124
127
  virtual void Debug(int from);