Gzweb lags when controlling joints
Hello, I'm trying to control a robot and I use gzweb to visualize it to my browser. The robot is pretty complex and I want to control it by publishing movements to the joint controllers. The problem is that gzweb lags and the movement of the robot's arms is not natural. I would also like to visualize it using a tablet but when I try it gets to 1fps. Are there any ways to improve the performance? Is there any documentation about how gzweb visualizes the simulation? Thank you!
Asked by pap-x on 2016-06-16 06:12:46 UTC
Answers
Does the robot move fast enough if you visualize it in gzclient? If not, you might want to take steps to speed the simulation up before worrying about GzWeb.
There may be many reasons for GzWeb to lag, involving your network for example. If your issue had been with the time to load your model, I'd recommend you generate coarse versions of your meshes when you deploy GzWeb, but it might not make a difference after the meshes have already been loaded.
Asked by chapulina on 2016-06-16 16:08:57 UTC
Comments
It does move fast enough on gzclient and the movement is natural. It's definitely not a network issue because I have observed that it has to do with the performance of the machine I'm running it. The model does load slowly but I don't have a problem with that, I just want the joint movements to be smooth. Maybe has to do with WebGL?
Asked by pap-x on 2016-06-20 02:19:06 UTC
Comments