MyGit
🚩收到GitHub仓库的更新通知

rotorflight/rotorflight-lua-scripts

Fork: 7 Star: 10 (更新于 2024-04-14 17:02:05)

license: GPL-3.0

Language: Lua .

Rotorflight LUA scripts for EdgeTx

最后发布版本: release/2.0.0-RC1 ( 2024-03-01 05:20:30)

GitHub网址

✨免费申请网站SSL证书,支持多域名和泛域名,点击查看

Rotorflight Lua Scripts for OpenTX and EdgeTX

Rotorflight is a Flight Control/FBL Software Suite for traditional single-rotor RC helicopters. It is based on Betaflight 4.2, enjoying all the great features of the Betaflight platform, plus many new features added for helicopters. Rotorflight borrows ideas and code also from Heliflight3D, an earlier fork of Betaflight for helicopters.

Rotorflight Lua Scripts is a package of OpenTX/EdgeTX Lua scripts for accessing and configuring the Rotorflight FC from the transmitter.

Rotorflight does NOT support multi-rotor 'drones', nor airplanes; it is only for traditinal RC helicopters, including co-axial and tandem helicopters.

Requirements

  • OpenTX 2.3.12 or EdgeTX 2.5.0 or later transmitter firmware
  • A receiver supporting remote configuration:
    • a FrSky Smartport or F.Port receiver, or
    • a Crossfire v2.11 or newer receiver, or
    • an ELRS 2.0.1 or newer receiver

Installation

Please download the latest version from github:

and copy the contents of the SCRIPTS folder to your transmitter.

You will know if you did this correctly if the rf.lua file shows up in the /SCRIPTS/TOOLS directory. Also Rotorflight conf should now show up in the Tools menu of your transmitter.

Copying the SCRIPTS folder

USB Method

  1. Connect your transmitter to a computer with an USB cable.
  2. Open the new drive on your computer.
  3. Unzip the file and copy the SCRIPTS folder to the root the new drive.
  4. Eject the drive.
  5. Unplug the USB cable.

SD Card Method

  1. Power off your transmitter.
  2. Remove the SD card and plug it into a computer.
  3. Unzip the file and copy the SCRIPTS folder to the root of the SD card.
  4. Eject the SD card.
  5. Reinsert your SD card into the transmitter.
  6. Power up your transmitter.

If you copied the files correctly, you can now go into the Tools menu on your transmitter and access the Rotorflight Configuration tool. The first time you run the script, a message 'Compiling...' will appear in the display before the script is started. This is normal and is done to minimise the RAM usage of the script.

Usage

See the Lua Scripts Wiki page.

Background script

The optional background script features Real Time FC Clock synchronization and the Adjustment Teller.

  • RTC synchronization will send the time of the transmitter to the flight controller. The script will beep if RTC synchronization has been completed. Blackbox logs and files created by the FC will now have the correct timestamp.
  • The Adjustment Teller will tell you what adjustment has been made. It supports all adjustments except profile adjustments.
    • S.port/F.port: the telemetry sensors 5110 and 5111 should be available. Discover or add them if they aren't.
    • CRSF: the telemetry sensor FM should available. Also do a set crsf_flight_mode_reuse = ADJFUNC in the CLI and save.

The background script can be setup as a special or global function in OpenTX. The image below shows how to configure the background script as a special function. By doing this, the script will automatically run as soon as the model is selected.

Background script setup

Building from source on Linux

  • Be sure to have make and luac in version 5.2 installed in the path.
  • Run make from the root folder.
  • The installation files will be created in the obj folder. Copy the files to your transmitter as instructed in the Installation section as if you unzipped from a downloaded file.

最近版本更新:(数据更新于 2024-04-15 04:37:07)

2024-03-01 05:20:30 release/2.0.0-RC1

2024-02-19 15:29:07 snapshot/2.0.0-20240218

2024-01-31 04:23:30 snapshot/2.0.0-20240128

2024-01-05 21:17:16 snapshot/2.0.0-20240105

2023-11-20 05:45:55 snapshot/2.0.0-20231118

2023-10-20 05:29:16 snapshot/2.0.0-20231019

2023-09-12 18:03:50 snapshot/2.0.0-20230912

2023-08-24 18:26:42 snapshot/2.0.0-20230824

2023-07-31 04:26:35 snapshot/2.0.0-20230730

2023-07-28 03:46:26 snapshot/2.0.0-230727

rotorflight/rotorflight-lua-scripts同语言 Lua最近更新仓库

2024-04-29 00:25:00 xiaorouji/openwrt-passwall

2024-04-28 19:16:57 kenzok8/small

2024-04-23 22:12:11 AstroNvim/AstroNvim

2024-04-22 21:24:51 akinsho/toggleterm.nvim

2024-04-16 18:07:29 ejoy/ant

2024-04-08 07:16:05 EdgeTX/edgetx-sdcard