SkillAgentSearch skills...

XplaneFlightData

Xplane Demo for JSF C++ Standard

Install / Use

/learn @LaurieWired/XplaneFlightData
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

Xplane MFD Calculations

This repository contains flight calculation code for data published by the X-Plane Web API. It demonstrates the Joint Strike Fighter Air Vehicle C++ Coding Standards (JSF AV C++). The compliant/ directory contains code with numerous JSF Standard fixes, while non-compliant/ contains multiple major standard violation examples.

<img width="1790" height="1132" alt="mfd_display" src="https://github.com/user-attachments/assets/c577fd40-6d1b-4e2a-a500-d3593338ee63" />

The main non-compliant code examples are marked with REMOVE BEFORE FLIGHT tags showing violations with:

  1. ExceptionsAV Rule 208
  2. RecursionAV Rule 119
  3. Dynamic Memory AllocationAV Rule 206

Build

# Build JSF-compliant version (default)
make

# Build non-compliant version
make non-compliant

Run

# Launch the MFD (requires X-Plane with Web API)
./run_mfd.sh

Calculators

Individual calculators can be run directly:

./wind_calculator 120 300 45
./flight_calculator 250 280 180 175 150 0.45 35000 34000 -500 65000 15 55 320 0.85
./turn_calculator 200 30 90
./vnav_calculator 35000 10000 100 450 -1800
./density_altitude_calculator 5000 25 150 170
View on GitHub
GitHub Stars475
CategoryDevelopment
Updated7h ago
Forks82

Languages

C++

Security Score

95/100

Audited on Mar 28, 2026

No findings