torque e1c54fec91
main: add configurable poll/command rates
These are coupled in a somewhat nonintuitive manner. Previously, we
would send a command every other request. Due to an oversight, we were
only sending a request once per second, which meant we were reading
position once every two seconds and writing position once every two
seconds. However, this seemed to work pretty well (at least the radio
performance was largely improved and qualitatively it seemed like the
controller was doing a better job of keeping up with the pointing
target).

I wanted the UI to update the position more frequently, so we keep the
scheme of sending a command every N requests, but we send
significantly more get position requests. These can be adjusted on the
fly in order to get an idea of how much the communication pattern
actually impacts the pointing performance.
2024-08-11 20:31:01 -07:00
2024-08-09 19:26:32 -07:00
2024-08-09 19:26:32 -07:00
2024-08-09 19:26:32 -07:00
Description
No description provided
2.9 MiB
Languages
Zig 100%