ESPFlight Docs v1
Browse documentation
Docs / Developer / Repository Structure

Repository Structure

Where the main Firmware v1.0.0 responsibilities live.

ESPFlight Docs · v1 • Validated v1 documentation path

# File responsibilities and change entry points

Start with the file that owns the subsystem you want to change; a focused modification should not require reading the entire repository line by line first.

Swipe horizontally to see all columns.

File / areaPrimary responsibilityStart here when…
espflight.inoArduino entry pointYou need to understand sketch startup/execution.
config.hUser and hardware configurationYou are changing Wi‑Fi, release identity, or supported hardware configuration.
firmware.cpp/.hFirmware coreYou are tracing high-level runtime behavior and subsystem integration.
flight_control.cpp/.hFlight-control loopYou are changing Roll/Pitch/Yaw control flow or control outputs.
imu.cpp/.hIMU handlingYou are working on MPU-6050 data, IMU state, or orientation behavior.
pid.cpp/.hPID controlYou are changing PID calculations or controller behavior.
failsafe.cpp/.hSafety and failsafe logicYou are changing link-loss, safety conditions, or failsafe responses.
network.cpp/.hWi‑Fi and communicationYou are changing discovery, WebSocket commands, or network telemetry.
altitude.cpp/.hAltitude-assisted flightYou are changing optional VL53L0X, Takeoff/Landing, or altitude behavior.
indicators.cpp/.hStatus indicatorsYou are changing LED/buzzer status feedback.
RUNTIME MENTAL MODEL

Read System Architecture and Stabilization & Control Loop for the overall flow, then Protocol 2 for the public communication boundary. The table above identifies code-reading entry points; it does not make every internal file a public API.

# Supporting docs