Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

You could subscribe to the /clock topic. Otherwise, you can get it during an update and store at a local variable.

SimTime was kept out of ignition::gazebo::World on purpose, so users would get it from the update callbacks. More info on this tutorial.