Skip to main content

HoverPilot

License

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

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

hover_pilot-0.1.0.tar.gz (80.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

hover_pilot-0.1.0-py3-none-any.whl (61.5 kB view details)

Uploaded Python 3

File details

Details for the file hover_pilot-0.1.0.tar.gz.

File metadata

  • Download URL: hover_pilot-0.1.0.tar.gz
  • Upload date:
  • Size: 80.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for hover_pilot-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8ccbdac5ea11082dd3f9a2a37b092feee88dd4ab4bf2bd0aa47d6c5bb89d5a78
MD5 11571cc469a502e76578959baf22244d
BLAKE2b-256 78c75706286f90414f844839b3129e1af43894807e220a53c7d541dbaf768a7a

See more details on using hashes here.

Provenance

The following attestation bundles were made for hover_pilot-0.1.0.tar.gz:

Publisher: release.yml on ruddyscent/hover-pilot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file hover_pilot-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: hover_pilot-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 61.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for hover_pilot-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0adaa95d3f992b093827ae1aeb782a17b35a078c844c22fcd1c9a2a745b33990
MD5 47e2b3e7b6c9cb12620fc019bf82e99d
BLAKE2b-256 6bb509a1733effd2c88a66f963c81baad9fd14b69112a8b7eecec6c23054e67f

See more details on using hashes here.

Provenance

The following attestation bundles were made for hover_pilot-0.1.0-py3-none-any.whl:

Publisher: release.yml on ruddyscent/hover-pilot

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

2.1.0

2 files

2.0.0

2 files

This release

0.1.0 This release

2 files

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page