Expand description
RealFlight is a leading RC flight simulator that provides a realistic, physics-based environment for flying fixed-wing aircraft, helicopters, and drones. Used by both hobbyists and professionals, it simulates aerodynamics, wind conditions, and control responses, making it an excellent tool for flight control algorithm validation.
RealFlightBridge is a Rust library that interfaces with RealFlight Link, enabling external flight controllers to interact with the simulator. It allows developers to:
- Send control commands to simulated aircraft.
- Receive real-time simulated flight data for state estimation and control.
- Test stabilization and autonomy algorithms in a controlled environment.
See README for examples and usage.
Modules§
Structs§
- Configuration
- Configuration settings for the RealFlight Link bridge.
- Control
Inputs - Control inputs for the RealFlight simulator using the standard RC channel mapping. Each channel value should be between 0.0 (minimum) and 1.0 (maximum).
- Proxy
Server - Server struct for handling incoming client connections.
- Real
Flight Local Bridge - A high-level client for interacting with RealFlight simulators via RealFlight Link.
- Real
Flight Remote Bridge - Client struct for managing TCP communication with the simulator server.
- Simulator
State - Represents the complete state of the simulated aircraft in RealFlight.
All physical quantities use SI units through the
uomcrate. - Statistics
- Represents a snapshot of performance metrics for a running
RealFlightBridge.