mirror of
https://github.com/bulletphysics/bullet3.git
synced 2026-11-15 04:15:34 +00:00
Update commandLogAndPlayback.py
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
import pybullet as p
|
||||
import time
|
||||
import pybullet_data
|
||||
|
||||
p.connect(p.GUI)
|
||||
p.setAdditionalSearchPath(pybullet_data.getDataPath())
|
||||
logId = p.startStateLogging(p.STATE_LOGGING_ALL_COMMANDS, "commandLog.bin")
|
||||
p.loadURDF("plane.urdf")
|
||||
p.loadURDF("r2d2.urdf", [0, 0, 1])
|
||||
|
||||
Reference in New Issue
Block a user