Gazebo | Ignition | Community
Ask Your Question

how to change SetFrame Rate in Camera plugin?

asked 2015-04-02 03:20:34 -0500

Zheng yo chen gravatar image

in my camera plugin,I use this method "camera->SetRenderRate(30)"and"SaveFrame()"

but,the frame rate is really slow(

how can I save 30 frame per second?

Thank you~

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-04-02 09:17:10 -0500

nkoenig gravatar image

Saving frames to disk will be slow. Gazebo has to pull information off the graphics card, convert it to a png, then dump the information to disk. A smaller image will be faster.

We have improved rendering, but this won't be released until Gazebo6 in July of this year. You can try it out by compiling Gazebo from source.

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2015-04-02 03:20:34 -0500

Seen: 1,171 times

Last updated: Apr 02 '15