Gazebo | Ignition | Community
Ask Your Question
0

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(http://ppt.cc/Xdzp)

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
0

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

Question Tools

Stats

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

Seen: 1,216 times

Last updated: Apr 02 '15