Skip to content
Proyek

Tentang

Demo X-Plane untuk Standar C++ JSF

Proyek lainnya

Cara angka ini diukur

Pertumbuhan bintang terukur

dalam 24 jam
0
dalam 7 hari
0
dalam 15 hari
0
dalam 1 bulan
Mengumpulkan riwayat

Perubahan bersih pada periode yang tumpang tindih, bukan total harian. Pengukuran yang belum tersedia dibiarkan kosong. Bintang menunjukkan perhatian, bukan kualitas.

README.md

Asli

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.

mfd_display

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

  1. Exceptions — AV Rule 208
  2. Recursion — AV Rule 119
  3. Dynamic Memory Allocation — AV 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

Jelajahi proyek terkait

Memuat…