YASim: Difference between revisions

Jump to navigation Jump to search
8 bytes removed ,  20 March 2017
(Fix fdm tag <aircraf>t-><airplane>, fix spelling)
Line 370: Line 370:


=== 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 life easier for aircraft developers, the parser supports new additional attributes with a unit suffix, e.g. speed-kt for knots and speed-kmh for kilometers per hour.
* <code><airplane {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>
Line 379: Line 379:
* <code><ballast {mass, mass-lbs, mass-kg}="1234" ></code>
* <code><ballast {mass, mass-lbs, mass-kg}="1234" ></code>


'''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.
{{Note|Aircraft using this new attributes 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 ===

Navigation menu