summaryrefslogtreecommitdiff
path: root/examples/pybullet/examples/profileTiming.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pybullet/examples/profileTiming.py')
-rw-r--r--examples/pybullet/examples/profileTiming.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/examples/pybullet/examples/profileTiming.py b/examples/pybullet/examples/profileTiming.py
index 96c25b300..88e987df3 100644
--- a/examples/pybullet/examples/profileTiming.py
+++ b/examples/pybullet/examples/profileTiming.py
@@ -5,13 +5,15 @@ import time
import pybullet_data
p.connect(p.GUI)
+#p.configureDebugVisualizer(p.ENABLE_RENDERING,0)
+p.configureDebugVisualizer(p.COV_ENABLE_SINGLE_STEP_RENDERING,1)
p.setAdditionalSearchPath(pybullet_data.getDataPath())
t = time.time() + 3.1
-logId = p.startStateLogging(p.STATE_LOGGING_PROFILE_TIMINGS, "chrome_about_tracing.json")
+logId = p.startStateLogging(p.STATE_LOGGING_PROFILE_TIMINGS, "single_step_no_stepsim_chrome_about_tracing.json")
while (time.time() < t):
- p.stepSimulation()
+ #p.stepSimulation()
p.submitProfileTiming("pythontest")
time.sleep(1./240.)
p.submitProfileTiming("nested")