mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-06-21 01:01:43 +00:00
2K was sufficient for simulation because it's possible to pause time, but isn't quite enough for looking at real robot data. 20K points is 400 seconds at 50 Hz which should make pausing plots much more useful. As every point is looped over, this does increase CPU utilization somewhat but doesn't seem to have much of an impact for typical use cases. Increasing this further will necessitate some greater optimizations (e.g. an initial cull using binary search).