Home | Tutorials | Wiki | Issues
Ask Your Question
0

Get real time factor from a headless gazebo

asked 2014-11-11 11:10:58 -0600

DongDong gravatar image

Hi,

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
3

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

DongDong gravatar image

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

edit flag offensive delete link more

Comments

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 -0600 )edit

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

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

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

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
0

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

mhallak gravatar image

Thanks! You saved me!

edit flag offensive delete link more
Login/Signup to Answer

Question Tools

Stats

Asked: 2014-11-11 11:10:58 -0600

Seen: 1,380 times

Last updated: Jan 27 '16