Free Lua script scores FPV tricks in the goggles OSD

Nov 05, 2026 Last reply: 1 day ago 2 Replies
Jump to replies (2)

Most FPV flights end with no record of how the flying actually went. You throw a flip, land, and nobody can say whether it was clean. This build adds an arcade-style score to that loop: a free EdgeTX Lua script that detects tricks and displays the result in the goggles OSD, running on the radio without flashing anything.



The whole system is just a few Lua scripts on the transmitter. One watches stick inputs to spot a maneuver, then telemetry returned by the craft confirms it before the trick and its score are mapped. For the on-screen part, the script briefly rewrites the craft_name value over the ELRS link. A configurator on the maker's FPV Lap Timer website lets you pick your radio and preferences and download the scripts, which also live in a GitHub repository. The maker says setup takes 15 minutes at most.



The demo flight makes a strong case. Flying a brushless micro whoop with ducted cyan prop guards out of a RadioMaster Pocket in a smoke-tinted case, the OSD called out a roll for 10, a power loop for 61, a back flip for 86 and a front flip for 122, finishing on a final score of 132. The radio tracked maneuvers in real time and closed with a summary screen listing a 3.69 V minimum battery and 00:53 of arm time, while the synthesized voice chimed in with phrases like 'Textbook' and 'Down it goes'.



The main limit is detection itself. The radio never receives raw accelerometer or gyro data, so the script works only from stick inputs plus yaw, pitch and heading, and some detected tricks land better than others. Matty flips and more maneuvers were still being added. The maker wants feedback from anyone who sets it up on their own radio, which seems like a sensible way to tune something this ambitious.


How does the script actually get the trick text onto the OSD screen? I would have guessed the flight controller side had to be involved for anything to appear up there, so I am curious what the radio-side path looks like.

The maker covered that. The craft_name field on the OSD serves as the placeholder carrying the trick notifications, and the ELRS link lets the radio momentarily rewrite that value. That is the whole on-screen path, and nothing needs flashing.

Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required