SMRT-AIST / interactive_slam

Interactive Map Correction for 3D Graph SLAM
GNU General Public License v3.0
822 stars 255 forks source link

Add support to limit frame rate #54

Closed Sushant-Chavan closed 2 years ago

Sushant-Chavan commented 2 years ago

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.

koide3 commented 2 years ago

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.