OpenFLIGHT User Guide — Running the Simulator (2026 baseline)

This guide explains how to configure and fly the OpenFLIGHT flight simulator in its current layout.

1. Prerequisites

2. Configuration — default_mission.yaml

Before launching you can customize the flight by editing default_mission.yaml at the project root. The most useful keys:

3. Running the Julia backend

include("OpenFLIGHT.jl")


What to expect:

If the browser doesn't open automatically, point it manually at the URL printed in the console (it serves ✈_OPENFLIGHT/src/🟡JAVASCRIPT🟡/✅_front_end_and_client.html over HTTP).

4. Using the simulator frontend

When the page loads it connects to the Julia WebSocket server, builds the scene, and waits at a "Loading…" overlay until first valid server data and any GLB upload have completed. Pilot inputs are blocked until the overlay clears (so the first second of handshake doesn't feel "dead").

Keyboard

Keyboard control demands are slew‑rate limited client‑side (≈ ±0.8 stick authority, ramp ≈ 4–8 /s) so press/release feels like a spring‑loaded stick instead of a step input.

Gamepad / joystick

Connect the controller before launching (the browser exposes it via the standard Gamepad API). Mapping is auto‑detected:

The pause menu shows the live mapping for the controller it detected.

Pause menu

Press Spacebar (or the gamepad pause button). The "FLIGHT CONTROLS" panel summarizes keyboard + gamepad mappings. It also exposes a RELOAD AIRCRAFT & MISSION DATA button — clicking it makes the Julia backend re‑read default_mission.yaml and the aircraft folder's YAMLs without restarting the sim. Useful when iterating on aero data or tweaking trim.

Aircraft 3D model

Each aircraft folder under 🏭_HANGAR/ (e.g. 🏭_HANGAR/PC21/) may contain:

If render_settings.yaml is absent, the model loads with the default transform baseline (PC‑21 reference).

5. Stopping the simulation

6. Simulation output

If telemetry recording is active (window set in default_mission.yaml), the backend writes a CSV into ✈_OPENFLIGHT/📊_Flight_Test_Data/ with a timestamped filename, e.g. simulation_data_2026-04-26_@_19h-46-31.csv. Each row is a sample of the full aircraft state vector and the active inceptor demands.

7. Companion tools

Enjoy your flight!