Gazebo | Ignition | Community
Ask Your Question

why gui becomes very slow when implementing system_gui plugin to save frames using user camera?

asked 2013-09-22 05:55:28 -0600

Zahra gravatar image


I am implementing the gui system plugin to save frames using user camera and following this tutorial

I have compiled and run the plugin just fine. But my concern is regarding the gui interface became very slow when I run the plugin as following: gzclient –g And when I tested the CPU% usage by gzclient using (top) command I found that gzclient jumped up to 120% while running gzclient without the plugin CPU% was around 28%

So is there away to get around this issue when implementing this plugin.

Note: I am using 1.9.1 gazebo version and groovy.

Thanks in advance!

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2013-09-23 09:49:32 -0600

nkoenig gravatar image

The problem is probably just that you're saving frames. This is a slow and expensive process. Try turning the save frames functionality off. Performance will likely improve.

edit flag offensive delete link more


The whole point of using this plugin , is that I want to use gui camera to save images. And disabling save frames functions would be not useful in my case. However I disenabled this function to test the plugin as following :this->userCam->EnableSaveFrame(false); and the performance didn't change!

Zahra gravatar imageZahra ( 2013-09-24 08:25:20 -0600 )edit

Turns out there is a bug in Gazebo. I'll fix this soon.

nkoenig gravatar imagenkoenig ( 2013-09-24 11:55:57 -0600 )edit
Login/Signup to Answer

Question Tools


Asked: 2013-09-22 05:55:28 -0600

Seen: 344 times

Last updated: Sep 23 '13