Skip to content
Back to skills

Betaflight Sitl

ASecurity

"Operate gym-pybullet-drones Betaflight SITL workflows, including

  • 247 stars
  • 0 votes
  • 1 copy
  • 4 views
  • Added September 8, 2026
toolspythonbashrails

Works with

  • terminal

Security analysis

A100/100

Pro scans all 5 files and shows the line behind each finding

Scanned September 8, 2026

npx -y skills add VectorSpaceLab/AREX-Skill --skill betaflight-sitl --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Betaflight Sitl?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Betaflight Sitl
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/vectorspacelab-betaflight-sitl/badge)](https://www.skillsdirectory.com/skills/vectorspacelab-betaflight-sitl)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: betaflight-sitl
description: "Operate gym-pybullet-drones Betaflight SITL workflows, including
  BetaAviary layout checks, UDP port mapping, and external prerequisite
  troubleshooting."
disable-model-invocation: true
metadata:
  disco-role: operating
license: MIT
---

# Betaflight SITL

Use this sub-skill when a task mentions Betaflight SITL, `BetaAviary`, `beta.py`, the `betaflight_sitl/bfN` directory layout, UDP ports, or the external build/check steps implied by the package's Betaflight example.

## Route here for

- Checking whether a local checkout or installed package has the external Betaflight SITL binaries staged in the layout that `BetaAviary` expects.
- Understanding the port mapping used by `BetaAviary` and the BetaFlight example.
- Running the bundled helper in check-only mode or, when explicitly requested, executing the wrapped BetaFlight workflow after prerequisites are present.
- Troubleshooting missing `betaflight_sitl/bfN` directories, missing executables, terminal-launch differences, or port mismatches.

## Do not handle here

- PID, velocity, downwash, or MRAC control simulations; route those to `control-simulation`.
- PPO hover training or playback; route those to `rl-workflows`.
- External Betaflight repository cloning/building itself. This sub-skill only describes and checks the prerequisites that must already exist.

## Start here

1. Read [workflows](references/workflows.md) to understand the layout check, port map, and optional execution flow.
2. Read [troubleshooting](references/troubleshooting.md) before attempting to run anything, especially on machines without a display or without the external SITL tree.
3. Prefer the bundled checker first:

   ```bash
   python scripts/check_betaflight_layout.py --num-drones 2
   ```

4. If and only if the checker reports a complete layout and the user explicitly wants execution, run the wrapper in execute mode:

   ```bash
   python scripts/run_beta_sitl.py --execute --num-drones 2 --duration-sec 5 --output-folder /tmp/gpd-beta --no-gui
   ```

## Runtime guardrails

- `clone_bfs.sh` is reference evidence, not a bundled runtime helper. It clones and patches an external Betaflight repository and should not be auto-run by future agents from this skill.
- `BetaAviary` expects the external SITL binaries to exist in a `betaflight_sitl/bfN` layout relative to the package checkout or installed-package path that the workflow is using.
- The package's BetaFlight example maps drones to ports in steps of 10: drone 0 uses 9002/9003/9004, drone 1 uses 9012/9013/9014, and so on.
- Keep the bundled runner check-only unless `--execute` is passed. This sub-skill is intentionally safe by default.
- When the external layout is missing, stop and report exactly what is absent rather than trying to clone or build Betaflight inside the generated skill.

Files in this skill

  • SKILL.md2.8 KB
  • references/troubleshooting.md3.4 KB
  • references/workflows.md3.4 KB
  • scripts/check_betaflight_layout.py3.9 KB
  • scripts/run_beta_sitl.py6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.