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

9
config.lua Normal file
View file

@ -0,0 +1,9 @@
-- config.lua - UDP target and timing configuration for ACTelemetry
local config = {
target_host = "127.0.0.1",
target_port = 5005,
send_interval = 1 / 60,
}
return config