ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

How to get run elapsed time for a gazebo simulation

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

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
0

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

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

Question Tools

1 follower

Stats

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

Seen: 1,716 times

Last updated: Dec 26 '15