登录 注册

betaflight-tx-lua-scripts

去点 Star
自动化与工作流内容创作与媒体工具开发者工具 betaflightfrskyhacktoberfestlua-scriptopentxtaranis
736
Stars
172
Forks
56
Watchers
7
Open Issues
GPL-3.0
许可证
Lua
语言
2017-01-25
创建时间
2026-11-09
最近更新

项目能做什么

用于在遥控器(TX)上配置 Betaflight 的脚本合集(目前仅支持 OpenTx)
来源:AI 基于仓库事实生成 · 内容以仓库实际 README 为准

使用说明 查看原始 README 原仓库文档

中文使用说明暂未生成。下面保留原仓库 README 摘录,命令与配置均以原文为准。
原始 README 摘录(英文原文,节选前 3000 字符)
![BF lua logo light mode](docs/assets/images/bf_lua_logo_light_mode.png#gh-light-mode-only)
![BF lua logo dark mode](docs/assets/images/bf_lua_logo_dark_mode.png#gh-dark-mode-only)

 [![Latest version](https://img.shields.io/github/v/release/betaflight/betaflight-tx-lua-scripts)](https://github.com/betaflight/betaflight-tx-lua-scripts/releases) [![Build](https://img.shields.io/github/actions/workflow/status/betaflight/betaflight-tx-lua-scripts/nightly.yml?branch=master)](https://github.com/betaflight/betaflight-tx-lua-scripts/actions/workflows/nightly.yml) [![Open in GitHub Codespaces](https://img.shields.io/badge/Codespaces-Open-181717?logo=github)](https://codespaces.new/betaflight/betaflight-tx-lua-scripts) [![License: GPL v3](https://img.shields.io/badge/License-GPLv3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

## Requirements

- Betaflight - As a best practice, it is recommended to use the most recent stable release of Betaflight to obtain the best possible results;
- Telemetry - Telemetry has to be enabled in Betaflight Receiver tab and supported by the TX / RX for the scripts to be able to communicate with the flight controller;
- OpenTX - 2.3.12 or newer;
- EdgeTX - 2.4.0 or newer;
- ExpressLRS - 2.0.1 or newer;
- TBS Crossfire/Tracer TX / RX - v2.11 or newer;
- FrSky TX / RX with support for SmartPort - While most receivers with SmartPort support work fine, it is recommended to update the receiver to the most recent firmware version to correct any known bugs in telemetry.
- ImmersionRC Ghost RX module - Latest firmware and module set to RF Mode "Race250" - see (Ghost receiver manual pg 36-38) (Other RF Modes have issues or do not have telemetry to allow Betaflight LUA to work).
- Baud rate - Set to 400K in EdgeTX/OpenTX for Crossfire, Tracer, ExpressLRS.

## Installing

**!! IMPORTANT: DON'T COPY THE CONTENTS OF THIS REPOSITORY ONTO YOUR SDCARD !!**

Download a zip file containing the latest version from the [releases page](https://github.com/betaflight/betaflight-tx-lua-scripts/releases).

Unzip the files from the link above and drag the contents of the `obj` folder to your radios SD card. If you do this correctly, the `SCRIPTS` directory will merge with your existing directories, placing the scripts in their appropriate paths.  You will know if you did this correctly if the `bf.lua` file shows up in your `/SCRIPTS/TOOLS` directory.

![Install](docs/assets/images/install.gif)

## How to use

Navigate to the TOOLS menu in OpenTX, select "Betaflight setup" or "Betaflight CMS" and press the [ENTER] button. The first time the script is launched after a clean install or upgrade it will go through it's compile procedure and exit back to the TOOLS menu when it's done.

### Betaflight setup

The "Betaflight setup" script lets you configure Betaflight through the MSP protocol.

<kbd>![Betaflight setup](docs/assets/images/how_to_use.gif)</kbd>

On a colour radio running EdgeTX 2.11.7 / 2.12.1 or newer the script uses the
radio's own LVGL wi
阅读完整原文

商业机会分析 AI 生成

高阶飞控云端调参互联套件(软硬结合)

产品构想结合带有WiFi/蓝牙的遥控器或高频头,开发配合手机App与遥控器Lua脚本的双向云端预设同步与Blackbox黑匣子即时分析诊断工具。
核心功能一键云端加载名师PID预设、遥控端快速切换速率曲线、黑匣子数据简易回传与健康状态诊断。
目标用户追求极致飞行手感的竞速飞手、FPV赛事选手、商用航模飞手。
难度/周期高 · 3-6个月 · 成本:硬件测试设备采购(多种遥控器/高频头/飞控)约$1000-$3000、云端服务器基础成本。
收费模式增值云服务订阅(高级PID推荐、远程调参日志备份)或高级定制App付费下载。
竞争风险开源社区容易推出免费竞品;GPL-3.0传染性限制商业闭源二次分发。
依据 已验证事实

预装/定制EdgeTX系统SD卡与个性化固件套件

产品构想面向新手和懒人玩家,打包整合了最新Betaflight Lua脚本、主流高频头脚本、个性化音效包与彩色主题的预配置SD卡或开箱即用套件。
核心功能开箱即用兼容各型号遥控器、定制美化UI界面、整合常用工具库(BF配置/ELRS/Crossfire)。
目标用户FPV入坑新手、对刷机与配置脚本感到繁琐的飞手。
难度/周期低 · 1-2周 · 成本:SD卡采购、读卡器及包装成本,约$200。
收费模式电商平台硬件周边销售(单卡溢价销售)。
竞争风险技术壁垒极低,容易被同类商家低价模仿卷死;受开源许可限制需合规提供源码指引。
依据 数据支持的判断

赛事/企业级FPV机队现场快速批量调参系统

产品构想基于MSP协议扩展,打造针对无人机编队、教学机构或专业赛事的快速批量刷写机身PID/频道分配的专用脚本增强版与配套硬件箱。
核心功能一键防撞频信道批量配置、机队参数快速克隆与校验、防误触安全锁。
目标用户无人机培训学校、FPV赛事组织方、小型工业/安防巡检多机组团队。
难度/周期中等 · 1-3个月 · 成本:小批量开发套件测试成本,约$500。
收费模式向机构收取B2B技术集成服务费或软硬件集成箱采购费。
竞争风险市场小众且需求分散,销售周期可能较长。
依据 AI推测
AI 基于仓库公开数据分析生成,含推测成分,不构成收益承诺。
报告会保存到 个人中心

竞品与相似项目 GitHub Search 真实检索

项目中文简介Stars语言
betaflight/betaflight 中文介绍暂未生成
Open Source Flight Controller Firmware
11,780 C
betaflight/betaflight-configurator 中文介绍暂未生成
Cross platform configuration and management application for
3,353 TypeScript
cleanflight/cleanflight 中文介绍暂未生成
Clean-code version of the baseflight flight controller firmw
2,740 C
learnsyslab/gym-pybullet-drones 中文介绍暂未生成
PyBullet Gymnasium environments for single and multi-agent r
2,206 Python
ShlkOfTheRa/scarab-osd 中文介绍暂未生成
MWOSD - UAV HUD
1,462 C
JacopoPan/aerial-autonomy-stack 中文介绍暂未生成
An open harness to simulate and deploy PX4/ArduPilot/Betafli
658 C++
以上为通过 GitHub 官方 Search API 检索的相似项目,功能差异与优劣势需进一步人工确认,配置 AI 后可生成对比分析。

项目优势与风险

技术成熟度创建于 2017-01-25,近 30 天仍在推送,发布过 16 个 Release
社区活跃Star 736 / Fork 172 / Issue 7(数据支持,可自行核实)
许可证GPL-3.0 商用需注意传染性条款
主要风险上游项目方向可能变化;同赛道竞争者较多(见竞品表);热度与需求不完全等价

安装与使用

快速开始(以仓库 README 为准)
git clone https://github.com/betaflight/betaflight-tx-lua-scripts.git
cd betaflight-tx-lua-scripts
# 请阅读仓库 README 获取确切安装步骤(依赖、配置、启动命令)
阅读原仓库文档
术语说明:Docker=应用容器(把程序和依赖打包运行);API Key=调用外部服务的密钥;Git Clone=把仓库代码下载到本地。常见错误:API Key 未配置 / 端口占用 / 数据库连接失败,多数项目在 README 的 Troubleshooting 章节有说明。