Home | Tutorials | Wiki | Issues
Ask Your Question

Get real time factor from a headless gazebo

asked 2014-11-11 11:10:58 -0500

DongDong gravatar image


I am now trying to tuning the gazebo simulation speed. Is there a way to get a feedback of the real time factor from the gazebo server if i run it headless ?

edit retag flag offensive close merge delete

3 Answers

Sort by ยป oldest newest most voted

answered 2014-11-15 15:42:19 -0500

DongDong gravatar image

I will answer it for myself. gzstats is the right command for it

edit flag offensive delete link more


I'm trying to do the same thing but was looking for a way of doing it with a plugin. I found GetRealTime() in a modelplugin but can't find the realtime factor. How did you end up doing it exactly?

niall gravatar imageniall ( 2015-09-11 08:01:35 -0500 )edit

You can subscribe to the `/gazebo/default/world_stats` topic.

nkoenig gravatar imagenkoenig ( 2016-01-27 17:52:26 -0500 )edit

answered 2016-01-27 17:51:38 -0500

nkoenig gravatar image

The gzstats command has been replaced with gz stats, notice the space between gz and stats. There are many other command utilities, use gz -h to see them all. This feature is present in gazebo 5+.

edit flag offensive delete link more

answered 2016-01-27 09:12:09 -0500

mhallak gravatar image

Thanks! You saved me!

edit flag offensive delete link more
Login/Signup to Answer

Question Tools


Asked: 2014-11-11 11:10:58 -0500

Seen: 1,524 times

Last updated: Jan 27 '16