Presently there is no limit on the maximum frame rate at which the application renders. This causes one of the CPU cores to be fully occupied when the application is running.
This PR fixes this problem by setting a limit on the maximum framerate (currently configured at 60 FPS), and thereby reducing the CPU load.
Thanks for your PR. It seems CI failed because Eigen's gitlab repository is down now, and the failure is not related to this PR. After Eigen repo gets recovered, I'll re-run CI and merge this PR.
Presently there is no limit on the maximum frame rate at which the application renders. This causes one of the CPU cores to be fully occupied when the application is running.
This PR fixes this problem by setting a limit on the maximum framerate (currently configured at 60 FPS), and thereby reducing the CPU load.