39#ifndef FGTRANSMISSION_H
40#define FGTRANSMISSION_H
48#include "input_output/FGPropertyManager.h"
123 void Calculate(
double EnginePower,
double ThrusterTorque,
double dt);
125 void SetMaxBrakePower(
double x) {MaxBrakePower=x;}
126 double GetMaxBrakePower()
const {
return MaxBrakePower;}
127 void SetEngineFriction(
double x) {EngineFriction=x;}
128 double GetEngineFriction()
const {
return EngineFriction;}
129 void SetEngineMoment(
double x) {EngineMoment=x;}
130 double GetEngineMoment()
const {
return EngineMoment;}
131 void SetThrusterMoment(
double x) {ThrusterMoment=x;}
132 double GetThrusterMoment()
const {
return ThrusterMoment;}
134 double GetFreeWheelTransmission()
const {
return FreeWheelTransmission;}
135 void SetEngineRPM(
double x) {EngineRPM=x;}
136 double GetEngineRPM() {
return EngineRPM;}
137 void SetThrusterRPM(
double x) {ThrusterRPM=x;}
138 double GetThrusterRPM() {
return ThrusterRPM;}
140 double GetBrakeCtrlNorm()
const {
return BrakeCtrlNorm;}
141 void SetBrakeCtrlNorm(
double x) {BrakeCtrlNorm=x;}
142 double GetClutchCtrlNorm()
const {
return ClutchCtrlNorm;}
143 void SetClutchCtrlNorm(
double x) {ClutchCtrlNorm=x;}
146 bool BindModel(
int num, FGPropertyManager* pm);
148 void InitDynamics(
void);
149 void Debug(
int from);
151 inline double omega_to_rpm(
double w) {
152 return w * 9.54929658551372014613302580235;
154 inline double rpm_to_omega(
double r) {
155 return r * 0.104719755119659774615421446109;
159 double FreeWheelTransmission;
161 double ThrusterMoment;
163 double EngineFriction;
165 double ClutchCtrlNorm;
166 double BrakeCtrlNorm;
167 double MaxBrakePower;
Encapsulates the JSBSim simulation executive.
First order, (low pass / lag) filter.
Utility class that handles power transmission in conjunction with FGRotor.
void ResetToIC(void)
Reset the initial conditions.
~FGTransmission()
Destructor for FGTransmission.
Main namespace for the JSBSim Flight Dynamics Model.