Get simulation time

  • In order for timeline to move forward, play() must be called or pressed in the UI

  • The timeline will by default loop from zero to the end time code set in the layer tab

  • If you want a higher level interface to managing the simulation and time we have a few standalone samples you can run in 2021.2.0 via ./python.sh
    ./python.sh standalone_examples/api/omni.isaac.core/simulation_callbacks.py
    There is a new SimulationContext class that provides more control over rendering/update and physics stepping Simulation Context API

  • There is a second example ./python.sh standalone_examples/api/omni.isaac.core/time_stepping.py that shows the different ways you can step simulation and rendering.

1 Like