Gazebo | Ignition | Community
Ask Your Question

Gzweb lags when controlling joints

asked 2016-06-16 06:12:46 -0600

pap-x gravatar image

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!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2016-06-16 16:08:57 -0600

chapulina gravatar image

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.

edit flag offensive delete link more


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?

pap-x gravatar imagepap-x ( 2016-06-20 02:19:06 -0600 )edit

Question Tools



Asked: 2016-06-16 06:12:46 -0600

Seen: 491 times

Last updated: Jun 16 '16