Henning Stahlke
c63ded1c44
YASIM add initialization
...
use Math::clamp in ControlMap
2017-12-15 15:20:28 +01:00
Henning Stahlke
b2000e1cca
YASIM add a local var
2017-12-15 15:20:28 +01:00
Henning Stahlke
5aead123fc
YASIM refactoring of ControlMap
2017-12-15 15:20:28 +01:00
Henning Stahlke
09c60ee40e
YASIM add variable initialization
2017-12-15 15:20:28 +01:00
Henning Stahlke
3809137f7d
YASIM add method multiplyLiftRatio to class Wing
2017-12-15 15:20:28 +01:00
Henning Stahlke
6feca92060
YASIM add struct StallParams to Wing
2017-12-15 15:20:27 +01:00
Henning Stahlke
b288ca3d9d
YASIM: add struct Chord to Wing.hpp ; add static method calculateMAC to Wing
2017-12-15 15:20:27 +01:00
Henning Stahlke
6b473fde68
YASIM: move updating of model from Airplane to Wing
2017-12-15 15:20:27 +01:00
Henning Stahlke
fb6f965db7
YASIM: method name clarification (and indention)
2017-12-15 15:20:27 +01:00
Henning Stahlke
0e6552cddf
YASIM: move property export code into classes (Wing)
2017-12-15 15:20:27 +01:00
Henning Stahlke
43af435085
YASIM: rename method getMAC to getMACLength
2017-12-15 15:20:27 +01:00
Henning Stahlke
c3bfeb4ba0
YASIM only reformat for better readability
2017-12-15 15:20:27 +01:00
Henning Stahlke
030403db5f
YASIM member initialization in class Vector
2017-12-15 15:20:26 +01:00
Henning Stahlke
1194b09525
YASIM rename methods in class Surface
2017-12-15 15:20:26 +01:00
Henning Stahlke
1f721fb6d8
YASIM add new version tag for 2018.1
2017-12-15 15:20:26 +01:00
Henning Stahlke
77a9cca6d5
YASIM refactoring Wing class (flaps)
2017-12-15 15:20:26 +01:00
Henning Stahlke
95ee37c9b9
YASIM refactoring of Wing class
2017-12-15 15:20:26 +01:00
Henning Stahlke
3ac90ee866
YASIM: minor corrections and safeguards.
2017-12-15 15:20:26 +01:00
Henning Stahlke
ea8bfba98a
YASim: add method to Wing and clarify member name.
2017-12-15 15:20:25 +01:00
James Turner
bf2c363e50
Fix carrier starts
...
Rewrite the position-init code for carrier starts, to precisely wait
on the carrier model being loaded, before proceeding with FDM init.
This allows the FDM to see the correct carrier model in the ground
cache, and hence avoids starting in the water.
To implement this, the CheckSceneryVisitor is used to force the carrier
model to be loaded while the splash-screen is visible.
2017-09-08 22:31:22 +01:00
James Turner
91d3229514
Catch large ground-cache requests.
...
In some testing, JSBsim sometimes passed extremely large values into
this function (larger than the radius of the earth). This causes
every tile on the planet to be scheduled if using the standard STG
terrain, effectively blocking startup.
This code allows us a chance to catch this case via logging, but does
not fix the underlying issues.
2017-09-04 22:48:38 +01:00
Bertrand Coconnier
b76db7737d
Added the generation of wake induced force and moment for JSBSim models.
...
The wake induced force and moment are computed as an external reaction to the JSBSim model. For these force and moment to be accounted for by JSBSim, the following external reaction needs to be added to FDM XML definition:
<external reaction>
<force name="ai-wake">
...
</force>
<moment name="ai-wake">
...
</moment>
</external reaction>
This is similar to how the hook and wire feature is modeled in JSBSim.
2017-06-10 23:27:52 +02:00
Bertrand Coconnier
96df6689e6
Added the computation of the wake of all AI aircrafts.
...
Wake computations are now performed for all AI aircrafts within a range lower or equal to the value indicated by the property /fdm/ai-wake/max-radius-nm.
These computations are triggered by the property /fdm/ai-wake/enabled (it is disabled by default).
The result of the wake computations is not yet used by the FDMs so do not expect the user aircraft to react to the AI wake.
2017-06-10 21:13:20 +02:00
Bertrand Coconnier
b5fe38c1eb
Compile AI wake numerical core in FG main executable.
...
AI wake code is still dead code except that it is now compiled with FG.
Input data for wake computations are extracted from the performance database. The data must be specified as follows (values are for illustration only) :
<geometry>
<wing>
<span-ft> 100. </span-ft>
<chord-ft> 12. <chord-ft>
</wing>
<weight-lbs> 90000. </weight-lbs>
</geometry>
2017-06-10 20:19:43 +02:00
Bertrand Coconnier
cdf299391d
Added missing <cmath> header for Mac to compile.
2017-06-10 19:22:15 +02:00
Bertrand Coconnier
c1313f2ecb
Added the core of the AI wake computations with its tests.
...
At the moment, this is dead code: only the tests are compiled. FG is still compiled without this code.
A new directory is created that contains all the numerical computations made to estimate the wake induced by AI aircrafts. This is based on the venerable Vortex Lattice Method (VLM) which was all the rage in the 60's Computational Fluid Dynamics (CFD).
Even though quite old, the method is relevant to compute aircrafts wake in real time since 3D Navier-Stokes (NS3D) is out of reach for real time computations even with modern multicore personal computers and their GPUs.
2017-06-10 18:27:19 +02:00
Bertrand Coconnier
1a0e5a20ae
Fixed LaRCSim matrix computation routines.
...
There was a couple of typos in the routine. This code will be used by the AI wake feature.
Also added a test for the matrix code to make sure they will be no regression.
2017-06-05 17:18:52 +02:00
Bertrand Coconnier
7d80a48d94
Sync. w/ JSBSim
...
External moments can now be specified in addition to external forces. This feature is needed for the AI wakes.
Headers clean up to reduce the amount of recompilation when modifying an header file.
2017-06-05 13:09:00 +02:00
Bertrand Coconnier
24a148880c
Fixes to the trim on ground feature.
...
* Skip the gears when located over water. They will be skipped by the ground reactions anyway making the trim irrelevant.
* Ignore the ground bumpiness during the trim. The trim algorithm seems not to
be robust enough to handle that. This does not make much difference to the
converged solution anyway since the bumpiness is generally low.
* Fixed the WOW status for contacts over water (was 'false' is now 'true').
* All the gear/contact data are now properly reset when WOW==false. The reset
code is now common to all the case where WOW is false.
2017-05-28 20:14:33 +02:00
Bertrand Coconnier
76ef08679d
Cleaned up the JSBSim interface.
2017-05-28 20:12:30 +02:00
Henning Stahlke
43e19c1123
YASim: revert a change in Model.cpp that caused segfaults on some systems.
2017-05-10 16:27:46 +02:00
Henning Stahlke
222361bf66
YASim bufix segfault with helicopters.
2017-05-05 13:47:47 +02:00
Henning Stahlke
35f6811ce3
YASim: trivial code clarification in Wing.cpp
2017-05-04 15:33:13 +02:00
Henning Stahlke
caf2100b5e
YASim: code dedup in class Wing.
2017-05-04 15:18:48 +02:00
Henning Stahlke
6817292e73
YASim: changed constructor for Wing. Creating a Wing object without basic geometry data is pointless and this data cannot change during runtime.
2017-05-04 14:31:43 +02:00
Henning Stahlke
614f05bb39
YASim: split Wing::compile into smaller functions (2).
2017-05-04 14:12:30 +02:00
Henning Stahlke
4584c83d8b
YASim: split Wing::compile into smaller functions (1).
2017-05-04 14:02:11 +02:00
Henning Stahlke
eb6bb087f6
YASim: include yasim-common.hpp in Wing.cpp and remove constant.
...
Trivial cleanup and variable name clarification.
2017-05-04 13:52:21 +02:00
Henning Stahlke
b0a831e667
YASim: initialize floats with 'f' suffix to avoid problems with windows build
2017-05-03 22:17:08 +02:00
James Turner
2747a33e6b
Merge /u/jsb1685/flightgear/ branch yasim into next
...
https://sourceforge.net/p/flightgear/flightgear/merge-requests/89/
2017-05-02 15:09:13 +00:00
Henning Stahlke
37c43ab6dc
YASim: add initalizer to Wing.hpp, cleanup constructor.
2017-04-29 12:54:56 +02:00
Henning Stahlke
b4743b3830
YASim: add initalizer to Model.hpp, cleanup constructor.
2017-04-29 12:54:56 +02:00
Henning Stahlke
f9334d8c39
YASim Surface move initialization
2017-04-29 12:54:56 +02:00
Henning Stahlke
efde524685
YASIM move constants to a common header file.
2017-04-29 12:54:55 +02:00
Erik Hofman
072bad4f50
sync. with JSBSim and expose Oil_Press_Relief_Valve, Oil_Press_RPM_Max, Design_Oil_Temp, Oil_Viscosity_Index
2017-04-27 15:41:23 +02:00
Henning Stahlke
0a0402f667
YASim Airplane refactoring (code dedup).
2017-04-25 09:19:25 +02:00
Henning Stahlke
e604f2f662
YASim BodyEnvironment rename methods and split setupState into two methods.
2017-04-25 09:19:25 +02:00
Henning Stahlke
add6c6b8a8
YASim: Airplane solver uses standard atmosphere so we can replaced atmosphere members with floats for altitude and pass those to setup atmo where needed directly from altitude.
2017-04-25 09:19:25 +02:00
Henning Stahlke
8064135665
YASim: Moved Airplane::setupState to BodyEnvironment
2017-04-25 09:18:26 +02:00
Henning Stahlke
ed6dee3f55
YASim Airplane: add initalizers.
2017-04-24 18:31:03 +02:00
Henning Stahlke
8bd8d5f163
YASim Model move one-liner to header.
2017-04-24 00:08:36 +02:00
Henning Stahlke
3457c3c61f
YASim: convert Atmosphere to a non-static class so we can pass around air parameters in one object instead of several variables.
2017-04-22 16:14:52 +02:00
Henning Stahlke
5e99f92a0f
YASim: conver Airplane::setupState from static to const
2017-04-22 15:06:02 +02:00
Henning Stahlke
2229b0a494
YASim: mark methods of Version 'const'
2017-04-22 14:59:03 +02:00
Henning Stahlke
fcfc82b471
YASim: move one-liners and add 'const'
2017-04-21 22:17:27 +02:00
Henning Stahlke
ef9fa25b94
YASim: update default for desired cg range.
2017-04-18 22:27:35 +02:00
Henning Stahlke
1302c167dd
YASim: rename some exported props.
2017-04-18 22:11:34 +02:00
Henning Stahlke
73de375249
YASim declared get methods as const. (correction to previous commit)
2017-04-18 19:12:23 +02:00
Henning Stahlke
3f0ef99c71
YASim: add MAC (mean aerodynamic chord) and c.g. calculations.
2017-04-17 22:52:26 +02:00
Henning Stahlke
574f2f907f
YASim: add setAirFromStandardAtmosphere() to Class Model.
2017-04-17 20:10:46 +02:00
Henning Stahlke
7f5a91ea47
YASim: refactoring loadControls()
2017-04-17 20:09:44 +02:00
Henning Stahlke
dbfe9a7b41
YASim: clean up export of aero force and ground effect force to prop tree.
2017-04-17 19:54:26 +02:00
Gary Preston
8958b4d130
Cleanup unused variable warning.
...
Remove, comment out or relocate variables as appropriate to silence
unused variable warning.
2017-04-06 18:26:18 +09:00
Gary Preston
d2ca422c8b
Adjust if/else indentation to fix -Wmisleading-indentation
2017-04-06 18:26:01 +09:00
Henning Stahlke
50110b0cd6
YASIM: minor change to allow RigidBody addMass and setMass to trigger aggregation correctly. (not a problem up to now, just to be safe in future)
2017-03-21 22:47:07 +01:00
Henning Stahlke
f7359d9699
YASim: add bug warning messages.
2017-03-21 22:46:33 +01:00
Henning Stahlke
53103ac15e
YASim: update CLI usage message.
2017-03-21 22:43:01 +01:00
Erik Hofman
2393fd647d
Merge /u/jsb1685/flightgear/ branch yasim into next
...
https://sourceforge.net/p/flightgear/flightgear/merge-requests/78/
2017-03-19 07:49:26 +00:00
Henning Stahlke
dc63307965
YASim: fix segmentation fault in yasim CLI tool
2017-03-18 23:17:19 +01:00
Henning Stahlke
0f472efe9b
YASim parser: add support for metric and imperial attibutes, e.g. mass-lbs, mass-kg
2017-03-18 21:28:26 +01:00
Henning Stahlke
cecdfd0832
YASim FGFDM.hpp correction of pointer declarations.
2017-03-18 21:19:24 +01:00
Henning Stahlke
c61730db92
YASim Wing method name clarification (SMC is not MAC).
2017-03-16 09:43:41 +01:00
Henning Stahlke
bb9a8a1850
YASim backward compatibility fix for ground effect calculation (added if isVersionOrNewer).
2017-03-16 09:39:58 +01:00
Henning Stahlke
1c932b3d79
YASim Model.cpp to avoid performance problems with getNode() add variables for properties that are written at FDM rate.
...
getNode() is slow, setValue() is ok
2017-03-16 09:36:15 +01:00
Bertrand Coconnier
40be2687f7
Restored the legacy behavior: the XML extension is mandatory and when it is not explicitely specified it is automatically added.
2017-03-14 21:59:14 +01:00
Henning Stahlke
dbf21b1ca8
YASim calculate max CG range (on x-axis) from gear positions, to implement checks later (a better guesstimate will follow).
2017-03-11 22:44:45 +01:00
Henning Stahlke
e78a763eef
YASim Airplane: move one-liners to header and remove unused code.
2017-03-11 21:29:05 +01:00
Henning Stahlke
60f5c97272
YASim Gear: move one-liners to header
2017-03-11 21:06:16 +01:00
Bertrand Coconnier
0d342f526e
Exports the parameters of JSBSim ground reactions friction resolver to the property tree for debugging.
2017-03-11 14:00:20 +01:00
Bertrand Coconnier
579f215005
Sync w/ JSBSim:
...
* Propeller required power now accounts for the engine tilt
* Fixed a division by zero in FGLGear::GetSteerNorm for non steerable gears
* Fixed a bug reported by Ron H. and Rebecca N. Palmer on the FG mailing list: the 'length' parameter passed to gethostbyaddr in FGFdmSocket was erroneous.
2017-03-11 13:24:51 +01:00
Henning Stahlke
06ba4fe351
YASim wrap bugfix with version check to maintain compatibility with old aircraft config.
2017-03-07 20:47:43 +01:00
Henning Stahlke
1e92c33a9e
YASim export config version used by aircraft to property tree.
...
Gives /fdm/yasim/config-version as integer (see enum in Version.hpp to decode).
2017-03-07 20:45:46 +01:00
Henning Stahlke
80462d23c5
YASim Wing: remove unnecessary local variable "root" (use _base);
...
calculate _tip in directly in one command
clarify signature of Wing::interp()
2017-03-07 18:03:25 +01:00
Henning Stahlke
583ea27dd6
YASim Version: add tag for version 2017.2
2017-03-07 17:50:05 +01:00
Henning Stahlke
a56f85ac95
YASim removed unused include from Rotor.cpp
2017-03-07 17:50:05 +01:00
Henning Stahlke
6efa1ab821
YASim moved one liners
2017-03-07 17:50:05 +01:00
Henning Stahlke
ce4df326d7
YASim Airplane.cpp additional comments
2017-03-07 17:50:05 +01:00
Henning Stahlke
05f9fcfd10
comments
2017-03-07 17:50:04 +01:00
Henning Stahlke
dc66959b83
YASim comments
2017-03-07 17:50:04 +01:00
Henning Stahlke
1198f5a3ec
YASim CLI tool: add print out of max lift and min drag
...
add drag(speed) print function
2017-03-07 17:50:04 +01:00
Henning Stahlke
cb7d2a1bc5
YASim Wing: add _aspectRatio and _meanChord.
...
(an some indent)
2017-03-07 17:50:04 +01:00
Henning Stahlke
a87442c6f3
YASim fix performance problem due to export to prop.tree.
2017-03-07 17:50:04 +01:00
Henning Stahlke
76a0ea96cc
YASim clarification. Add const to method parameters in Math.hpp
2017-03-07 17:50:04 +01:00
Henning Stahlke
4cbe540bec
YASim: convert local variables alpha and stallAlpha to members of Surface.
2017-03-07 17:50:03 +01:00
Henning Stahlke
5f78545961
only white spaces
2017-03-07 17:50:03 +01:00
Henning Stahlke
d4688d206a
YASim: export surface data to property tree.
2017-03-07 17:50:03 +01:00
Henning Stahlke
d322ded552
YASim bugfix: ground effect did not calculate wingspan correctly;
...
Variable name clarification;
Add Wing::getWingArea, separate Wing::getWingSpan and Wing::getBase.
2017-03-07 17:50:03 +01:00
Henning Stahlke
559dcf4e32
YASim optimization: pre-calculate data for masses that do not change in flight to save CPU (RigidBody::recalc() runs at FDM rate).
...
export mass data to property tree.
2017-03-07 17:50:03 +01:00
Henning Stahlke
4e1be43f15
YASim: export wing data to property tree.
2017-03-07 17:50:03 +01:00
Henning Stahlke
021a9db9be
YASim add surface id and export surface positions to prop tree after model compile.
2017-03-07 17:50:02 +01:00
Henning Stahlke
dd420c6ff4
YASim bugfix, correct an obvious copy-and-paste error
2017-03-07 17:50:02 +01:00
Henning Stahlke
41b18155a8
YASim: export FDM state (v, a, rot) to property tree.
2017-03-07 17:50:02 +01:00
Henning Stahlke
70dd3de3bb
YASim: FGFDM convert local variable _yasimN into a class member
2017-03-07 17:50:02 +01:00
Henning Stahlke
2cac4e4671
YASim: Move variables and methods for input properties from FGFDM to ControlMap.
2017-03-07 17:50:01 +01:00
Henning Stahlke
f14cc3be33
Extend yasim-test.cpp; add print mass distribution, add plot with different configs
2017-03-07 17:47:51 +01:00
Henning Stahlke
6f1f850c11
YASim method name clarification Airplane::setWeight
2017-03-07 17:47:50 +01:00
Henning Stahlke
97a0511ce0
YASim method name clarification in class Surface
2017-03-07 17:47:50 +01:00
Henning Stahlke
91fd075796
YASim method name clarification Wind::setSlat
2017-03-07 17:47:50 +01:00
Henning Stahlke
91806861c6
YASim method name clarification Wind::setFlap1
2017-03-07 17:47:50 +01:00
Henning Stahlke
e69f6ba9ab
YASim method name clarification Wind::setFlap0
2017-03-07 17:47:50 +01:00
Henning Stahlke
ce753c0382
YASim method name clarification Wing::setSpoiler
2017-03-07 17:47:50 +01:00
Henning Stahlke
b447bbdc5e
Optimize YASim/RigidBody.cpp utilizing symmetry of tensor.
2017-03-07 17:47:49 +01:00
James Turner
41f875a729
Silence a warning about log levels.
...
These levels will never be set on the output side, so handle them
as default here.
2017-03-05 21:41:52 +02:00
James Turner
3653508412
Build- and run-time concept of developer mode.
...
Make a single Cmake value to expose the build type to code, and use
this to default a run-time ‘developer-mode’ property, which can be
over-ridden from the command line.
Use this to drive the different warning levels. Policies subject to
review, especially whether nightly builds should default to
developer mode or not.
2017-02-27 23:37:59 +00:00
Peter Sadrozinski
ec4b9f8542
Alternative terrain engine based on pagedLOD
...
- remove TileMgr from sub systems - add to btg terrain engine
2017-02-26 10:17:15 -05:00
Bertrand Coconnier
7cbdc8b923
Sync w/ JSBSim (use SGPath to manage file names)
2017-02-25 16:22:23 +01:00
Bertrand Coconnier
86d46ce79c
Sync w/ JSBSim
2017-02-21 22:35:09 +01:00
Richard Harrison
fa142c9464
Change log level for "prepare_ground_cache(): scenery_available returns false" message as the message occurs at a high rate and seems to be more suited at bulk rather than warn level
2017-02-14 16:08:05 +01:00
Erik Hofman
7133bc5c0f
Make MSVC happy
2017-01-30 00:41:27 +01:00
Erik Hofman
ebfadb908c
Make sure the AISim code compiles with the latest SIMD code changes in simgear
2017-01-29 15:27:41 +01:00
Viktor Radnai
a26a5d741b
Make wheels spin down slowly once off the ground
2017-01-26 20:36:07 +00:00
Erik Hofman
1a0537e493
Silence a few compiler warnings
2017-01-26 15:37:43 +01:00
martymac
ffc7ad6cdf
Fix build with Clang 4.0.0.
...
Those patches fix errors related to ordered comparisons between pointers and
integers, such as the ones related here on FreeBSD :
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=216203
2017-01-21 21:32:50 +00:00
Erik Hofman
404fad4254
MSVC fix
2017-01-15 09:26:34 +01:00
Erik Hofman
9f9f1c631f
Add the latest code for reference in the JSBSim mailing list while bug hunting
2017-01-14 14:33:28 +01:00
James Turner
88fc98f57b
Mcc build fix for JSBsim executable.
2017-01-12 12:30:43 +00:00
Geoff McLane
52572ef1f3
Add back a JSBSim.exe build, install
2017-01-12 12:30:42 +00:00
Geoff McLane
c7391668e6
To build JSBSim, add copy from jsbsim-code repo
2017-01-12 12:30:42 +00:00
Erik Hofman
9a71f6348f
A new batch of updates, slowly moving forward
2017-01-06 15:02:35 +01:00
Erik Hofman
ffdfdcb6d7
Alter the sequence to allow type conversion
2016-12-23 16:01:49 +01:00
Erik Hofman
31ed6184a9
NExt batch of updates: more use of SIMD instructions. Still work in progress.
2016-12-22 15:14:52 +01:00
Erik Hofman
33f0b83b69
Viktor Radnai:
...
There is a Flightgear property called /sim/hitches/winch/automatic-release-angle-deg that can be used to simulate a safety feature built into modern gliders. If the cable angle gets too great during a winch launch, the hook will automatically release the cable. This usually happens when the glider gets almost on top of the winch at the top of the launch without releasing the cable.
Unfortunately winch launching has two separate implementations, one in Nasal for JSBSim, and another one in C++ for YASIM. The YASIM one does not implement this property so I wrote a patch to add this.
2016-12-22 11:49:15 +01:00
Erik Hofman
342f75d48c
Add a missing break statement
2016-12-21 09:50:53 +01:00
Erik Hofman
8b466cb207
One last(?) MSVC fix
2016-12-15 20:08:25 +01:00
Erik Hofman
e845dab6e0
Fix an MSVC error
2016-12-15 10:49:09 +01:00
Erik Hofman
709936a265
MSVC fixes
2016-12-08 01:03:26 +01:00
Erik Hofman
7ec7a8b60c
Add the first version of AISim but
2016-12-07 11:05:07 +01:00
Erik Hofman
7ed4a5162e
Replace auto_ptr with unique_ptr
2016-12-07 11:03:54 +01:00
James Turner
14942f4e8b
Move Yasim properties to /fdm/yasim
...
As discussed on the mailing list, make this more consistent with JSBsim.
We could still define common locations for these values as well, but
waiting on positive answer to that discussion on the ML.
2016-11-25 17:41:05 +00:00
James Turner
9bf337148d
Expose c-of-g to property tree in YASim.
...
Patch by Henning Stalkhe
2016-11-18 16:40:38 +01:00
James Turner
7b0c58081b
JSBsim lib needs SimGear headers.
2016-11-03 10:01:27 +00:00
James Turner
6382d20f68
Fix flightProperties build.
2016-11-02 14:39:53 +00:00
Erik Hofman
4ee8661eaa
Include the cmath header
2016-11-02 15:30:35 +01:00
James Turner
e2f7585d9c
Use a Cmake imported target for SimGear
2016-10-30 22:15:54 +00:00
Bertrand Coconnier
c226e08293
Fixed the initial location so that geodetic latitude and ASL are kept in sync.
2016-08-28 12:23:17 +02:00
Erik Hofman
1c8542b65b
Remove some debugging statements
2016-08-08 11:19:14 +02:00
Erik Hofman
fa99be7766
Use a bit less intrusive solution
2016-08-08 11:16:21 +02:00
Erik Hofman
02d037d205
Fix the startup position error. I'll leave it to Bertrand wether this is the best way to fix it
2016-08-07 11:41:03 +02:00
Erik Hofman
5ab2d82c89
Show a popup dialog for every SG_POPUP message in the queue
2016-07-20 15:03:15 +02:00
Erik Hofman
f1f2e9f21d
Brendan Black:
...
when active does not touch the way the YASim jet calculates fuel flow, but separates out the afterburning component of thrust, calculates the TSFC of that component and uses the same method of fuel flow calculation for the afterburning component then adds it to the existing fuel flow
When inactive (atsfc doesn't exist or is zero) it just behaves exactly as before
I finally got around to testing this small patch thoroughly, and I'm satisfied that it doesn't affect anything else & works across many different versions (i've been testing it with current as it has changed over the last 7 months)
2016-07-17 11:30:07 +02:00