Ask Your Question

How to get run elapsed time for a gazebo simulation

asked 2015-12-25 10:13:21 -0600

languyen gravatar image

How to compute run elapsed time for a gazebo simulation in c++.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-12-26 03:18:15 -0600

Gazebo publishes time on the /clock topic as described here. This has the nice side-effect that you can subscribe to it and directly read the elapsed simulation time from it.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-12-25 10:13:21 -0600

Seen: 1,199 times

Last updated: Dec 26 '15