Closed boduan1 closed 3 years ago
I need more information. Does it drop from 30 fps as you play the app? Or is it already slow when you launch the app?
(Please be more specific. We cannot reproduce or figure out your problem only with the piece of information you provided here and remember you need some courtesy of your colleagues and TAs to get some advices or tips for your issue)
It doesn't drop, and I tried both command line (adding -DCMAKE_BUILD_TYPE=Release in cmake) and directly use VScode release mode, both gives 7 fps... Maybe it is just because my computer is slow?
I quickly tested your code, and could run your code in real-time on my laptop (macOS 2.4 GHz 8-Core Intel Core i9.) Could you post the system info of your PC? You can go to settings > details.
e.g.
Thanks! I tried to move to another windows computer, and it works on windows, but the linux system is still slow...
strange. I think your CPU is powerful enough to run the IK solver in real time.
Can you delete your build directory completely and configure (type configure in your VS code command palette) and build your project from the scratch? If it's still slow, might be related to graphics.
Could it be that you are using fractional scale on a high resolution screen?
Oh! that might be the problem! the screen resolution is high...
If your FPS is too low as soon as you launch the app:
$ cmake -DCMAKE_BUILD_TYPE=Release ../
when you configure the project with cmake.
I use linux, and I am already in released mode, but it fps is 7.
![Screenshot from 2021-03-28 22-54-54](https://user-images.githubusercontent.com/58148182/112767805-0658d800-9019-11eb-90e1-1b9d0e1286bc.png)