in pybulletX/utils/soft_real_time_clock.py [0:0]
def test_soft_real_time_clock():
clock = SoftRealTimeClock(100)
for i in range(200):
print(clock.gettime())
clock.sleep()
clock = SoftRealTimeClock(period=0.1)
for i in range(20):
print(clock.gettime())
clock.sleep()