Getting simulation time in pybullet

Official Python bindings with a focus on reinforcement learning and robotics.
Post Reply
autoalpha
Posts: 4
Joined: Wed Sep 12, 2018 10:47 pm

Getting simulation time in pybullet

Post by autoalpha »

Hi all,

I'm a novice in pybullet, and have a basic question. How can I read the simulation time and timestep of pybullet? For example, after executing stepSimulation 10 times where timestep is 1/240, the simulation time is 1/24.
User avatar
Erwin Coumans
Site Admin
Posts: 4221
Joined: Sun Jun 26, 2005 6:43 pm
Location: California, USA
Contact:

Re: Getting simulation time in pybullet

Post by Erwin Coumans »

It is not exposed, you have to keep track of it yourself at the moment.
Post Reply