YASim: Difference between revisions

Jump to navigation Jump to search
1 byte removed ,  20 March 2017
Fix fdm tag <aircraf>t-><airplane>, fix spelling
(Fix fdm tag <aircraf>t-><airplane>, fix spelling)
Line 371: Line 371:
=== XML parser support for metric and imperial units ===
=== XML parser support for metric and imperial units ===
To make live easier for aircraft developers, the parser supports new additional attributes with a unit suffix, e.g. speed-kt for knots and speed-kmh for kilometer per hour.
To make live easier for aircraft developers, the parser supports new additional attributes with a unit suffix, e.g. speed-kt for knots and speed-kmh for kilometer per hour.
* <code><aircraft {mass, mass-lbs, mass-kg}="12345" ></code>
* <code><airplane {mass, mass-lbs, mass-kg}="12345" ></code>
* <code><approach {speed, speed-kt, speed-kmh}="123" ></code>
* <code><approach {speed, speed-kt, speed-kmh}="123" ></code>
* <code><cruise {speed, speed-kt, speed-kmh}="123" ></code>
* <code><cruise {speed, speed-kt, speed-kmh}="123" ></code>
Line 379: Line 379:
* <code><ballast {mass, mass-lbs, mass-kg}="1234" ></code>
* <code><ballast {mass, mass-lbs, mass-kg}="1234" ></code>


'''Please note:''' aircrafts using this new attibutes will not run on older versions of flightgear, so it is probably wise to publish those only after a reasonable number of users switched version 2017.2 or newer.
'''Please note:''' aircraft using this new attibutes will not run on older versions of flightgear, so it is probably wise to publish those only after a reasonable number of users switched version 2017.2 or newer.


=== Export of YASim internals to property tree ===
=== Export of YASim internals to property tree ===
Line 401: Line 401:


=== Bugfixes ===
=== Bugfixes ===
The following bugfixes require <aircraft version="2017.2"> for backward compatibility  
The following bugfixes require <airplane version="2017.2"> for backward compatibility  
* Ground effect: corrected the calculation of the height where g.e. ends
* Ground effect: corrected the calculation of the height where g.e. ends
* Stall parameters were set wrong for wings with camber=0
* Stall parameters were set wrong for wings with camber=0
422

edits

Navigation menu