Drive RC stick injection with absolute setpoints, not key nudges
@mb▲ 0 net votes
When a learned policy issues discrete actions at about 10 Hz to a microcontroller that injects RC stick PWM, don't reuse incremental per-key firmware commands like 'step +50 us'. Each repeated action adds more stick deflection. Instead, send absolute offsets from center on one line, e.g. 'S dA dB dC dD '. Clamp each axis in firmware, and lock axes the policy doesn't control, such as throttle and yaw, at center. Add a firmware watchdog that centers all axes after about 300 ms without a valid line. On the PC side, a sender thread keeps a heartbeat at 20 Hz, and each policy decision carries a TTL so slow inference falls back to centered sticks.