HoverPilot
Minimal Python client to connect to RealFlight Link (TCP 18083), exchange RC commands, and expose a Gymnasium-compatible hover environment.
Quickstart
Recommended with uv:
uv sync
cp .env.example .env
uv run hoverpilot-demo
Install the optional reinforcement-learning dependencies to train or play a PPO policy:
uv sync --extra rl
uv run hoverpilot-ppo train --timesteps 50000 --save-path ppo_hoverpilot.pt
By default HoverPilot connects to RealFlight Link at 127.0.0.1:18083. Set
RFLINK_HOST when RealFlight runs on another host or outside the current network
namespace.
Gymnasium Environment
import numpy as np
from hoverpilot.config import HOST, PORT
from hoverpilot.envs import HoverPilotHoverEnv
env = HoverPilotHoverEnv(host=HOST, port=PORT, max_episode_steps=250)
observation, info = env.reset()
action = np.asarray([0.0, 0.0, 0.55, 0.0], dtype=np.float32)
observation, reward, terminated, truncated, info = env.step(action)
The action contains aileron, elevator, throttle, and rudder. See the user
guide for observation layouts, reward and termination behavior, and trainer modes.
Documentation
- User guide: setup, running, training, validation, and troubleshooting
- RealFlight Link interface: client API and protocol reference
License
This project is licensed under the MIT License. See the LICENSE file for details.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file hover_pilot-2.0.0.tar.gz.
File metadata
- Download URL: hover_pilot-2.0.0.tar.gz
- Upload date:
- Size: 81.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
16987a42a7bd27cc86237784e53108324262e24ab5072693879cdc653fb41cf8
|
|
| MD5 |
4cca83cba3dd20dd0faf5c43252394e9
|
|
| BLAKE2b-256 |
b14b9fd008721ecfe77fe8616c1308c0a4e1667761a3f50ec9db82764f3a4367
|
Provenance
The following attestation bundles were made for hover_pilot-2.0.0.tar.gz:
Publisher:
release.yml on ruddyscent/hover-pilot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hover_pilot-2.0.0.tar.gz -
Subject digest:
16987a42a7bd27cc86237784e53108324262e24ab5072693879cdc653fb41cf8 - Sigstore transparency entry: 2466384860
- Sigstore integration time:
-
Permalink:
ruddyscent/hover-pilot@f13bcb9859a3801d9f2e350ad92907591a6d5869 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/ruddyscent
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f13bcb9859a3801d9f2e350ad92907591a6d5869 -
Trigger Event:
release
-
Statement type:
File details
Details for the file hover_pilot-2.0.0-py3-none-any.whl.
File metadata
- Download URL: hover_pilot-2.0.0-py3-none-any.whl
- Upload date:
- Size: 66.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
faa4ef9cdfa6d2741d09a9fdcb6ec1f4a33ff441257e0df9a2beab8d1f393c8c
|
|
| MD5 |
f0ee11c254b738f479ee3030721bc395
|
|
| BLAKE2b-256 |
5a074d8aa290e71999d909d5b3e17d3b682b52314565b2788a5e732ea8817b20
|
Provenance
The following attestation bundles were made for hover_pilot-2.0.0-py3-none-any.whl:
Publisher:
release.yml on ruddyscent/hover-pilot
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
hover_pilot-2.0.0-py3-none-any.whl -
Subject digest:
faa4ef9cdfa6d2741d09a9fdcb6ec1f4a33ff441257e0df9a2beab8d1f393c8c - Sigstore transparency entry: 2466384866
- Sigstore integration time:
-
Permalink:
ruddyscent/hover-pilot@f13bcb9859a3801d9f2e350ad92907591a6d5869 -
Branch / Tag:
refs/tags/v2.0.0 - Owner: https://github.com/ruddyscent
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@f13bcb9859a3801d9f2e350ad92907591a6d5869 -
Trigger Event:
release
-
Statement type: