feat: initial AC telemetry Lua plugin

- CSP Lua app that reads telemetry via ac.* API
- Sends JSON over UDP to configurable target (default 127.0.0.1:5005)
- Purpose-built serializer with zero GC pressure at 60Hz
- Pre-allocated buffer tables, no per-frame allocations
- Graceful fallback when ac global is absent (testing outside AC)
- .gitignore for .idea/
This commit is contained in:
Jan-Peter von Hunnius 2026-06-01 15:13:18 +02:00
commit 3900d2a6b2
7 changed files with 264 additions and 0 deletions

8
main.lua Normal file
View file

@ -0,0 +1,8 @@
-- main.lua - Entry point for ACTelemetry CSP Lua app
-- CSP calls script.update(dt) every frame; we delegate to the telemetry module.
local telemetry = require("src.telemetry")
function script.update(dt)
telemetry.update(dt)
end