You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On Windows, time.time() has dreadful granularity (defaults to 1/60s). This led to divide by zero errors when computing fps in optical_gater_server. I have worked around that by switching to time.perf_counter(), which is apparently the gold standard for cross-platform timing of this sort. But we should go through other uses of time.time() and decide whether to switch them over to time.perf_counter() as well
The text was updated successfully, but these errors were encountered:
On Windows, time.time() has dreadful granularity (defaults to 1/60s). This led to divide by zero errors when computing fps in optical_gater_server. I have worked around that by switching to time.perf_counter(), which is apparently the gold standard for cross-platform timing of this sort. But we should go through other uses of time.time() and decide whether to switch them over to time.perf_counter() as well
The text was updated successfully, but these errors were encountered: