- 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/
9 lines
186 B
Lua
9 lines
186 B
Lua
-- 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
|