Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

yasim-xml

БесплатноБез исполняемых скриптовНе проверен

Provide a detailed specification for writing YASim XML files. Use when the user requests to create or modify the FDM of a YASim aircraft.

container32от container32601 установка в других каталогах

Об этом скилле

YASim is one of two flight dynamics models commonly used in FlightGear, alongside JSBSim. It uses the geometry of the aircraft to generate the base flight characteristics. While this suggests a 'realistic' or out-of-the-box approach, it is a only rough approximation that will require much tweaking before you get a result that approaches realism. If you have solid flight data for your aircraft such as wind-tunnel data or you are looking to eventually generate a hyper-realistic simulation, JSBSim is probably a better approach. If you lack such data but know the geometry of the aircraft and have access to the same flight characteristics and limits as a real pilot would, then YASim can provide a solution that is more than sufficient for most simulation needs.

Coordinate system notes

All positions specified are in metres. The X axis points forward, Y is left, and Z is up. Take your right hand, and hold it like a gun. Your first and second fingers are the X and Y axes, and your upwards-pointing thumb is the Z. This is slightly different from the coordinate system used by JSBSim.

(In JSBSim, X and Z are the same as in YASim, but Y points to the right instead of left.)

XML Elements

airplane

The top-level element for the file. It contains the following attributes:

  • mass: The empty (no fuel) weight, in pounds. It does include the weight of the engine(s), so when you add the engine weight in its tag, it acts just like a ballast.
  • version: The version attribute is used to maintain compatibility when updating yasim (e.g. bugfixes). If this attribute is not given, the original version will be used. Several bugfixes to YASim were implemented in FlightGear 3.2, some more are fixed in FlightGear 2017.2.

Available versions are:

  • YASIM_VERSION_ORIGINAL explicitly use the old buggy calculations (same as no version attribute at all)
  • YASIM_VERSION_32 enable bugfixes up to version 3.2
  • 2017.2 enable bugfixes up to version 2017.2
  • 2018.1 use this version if your aircraft makes use of new features in YASim 2018.1.
  • YASIM_VERSION_CURRENT use latest version compiled into the users FlightGear. (recommended)
  • mtow-lbs and mtow-kg: use one of them to specify max. takeoff weight. Does not affect the FDM, but is used by CLI tool to calculate some numbers.

approach

The approach parameters for the aircraft. The solver will generate an aircraft that matches these settings (by adjusting the parameters of the surface like drag and lift). It is extremely important to give parameters which could be really achieved by defined aircraft geometry, otherwise, it gives an unstable or not flyable result. The element can (and should) contain <control> elements indicating pilot input settings, such as flaps and throttle, for the approach.

  • speed: The approach airspeed, in knots TAS.
  • aoa: The approach angle of attack, in degrees
  • fuel: Fraction (0-1) of fuel in the tanks. Default is 0.2.

cruise

The cruise speed and altitude for the solver to match. As above, this should contain <control> elements indicating aircraft configuration. Especially, make sure the engines are generating enough thrust at cruise!

  • speed: The cruise speed, in knots TAS.
  • alt: The cruise altitude, in feet MSL.
  • fuel: Fraction (0-1) of fuel in the tanks. Default is 0.2.

cockpit

The location of the cockpit (pilot eyepoint).

  • x,y,z: eyepoint location (see coordinates note)

fuselage

This defines a tubelike structure. It will be given an even mass and aerodynamic force distribution by the solver. You can have as many as you like, in any orientation you please.

  • ax,ay,az: One end of the tube (typically the front)
  • bx,by,bz: The other ("back") end.
  • width: The width of the tube, in metres.
  • taper: The approximate radius at the "tips" of the fuselage expressed as a fraction (0-1) of the width value.
  • midpoint: The location of the widest part of the fuselage, expressed as a fraction of the distance between A and B.
  • idrag: Multiplier for the "induced drag" generated by this object. Default is one. With idrag=0 the fuselage generates only drag.
  • cx,cy,cz: Factors for the generated drag in the fuselages "local coordinate system" with x pointing from end to front, z perpendicular to x with y=0 in the aircraft coordinate system. E.g. for a fuselage of a height of 2 times the width you can define cy=2 and (due to the doubled front surface) cx=2.

Surfaces

wing

This defines the main wing of the aircraft. Generally, only one is used (but see below about using vstab objects for extra lifting surfaces). The wing should have a <stall> subelement to indicate stall behavior, control surface subelements (flap0, flap1, spoiler, slat) to indicate what and where the control surfaces are, and <control> subelements to map user input properties to the control surfaces.

  • x,y,z: The "base" of the wing, specified as the location of the mid-chord (n
Полный SKILL.md на ClawHub

Установить yasim-xml в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл yasim-xml?

Provide a detailed specification for writing YASim XML files. Use when the user requests to create or modify the FDM of a YASim aircraft.

Как установить скилл yasim-xml?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл yasim-xml запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить yasim-xml с