PyBullet add getCameraImage to debug urdfEditor/createMultiBody
This commit is contained in:
@@ -98,4 +98,5 @@ ed0.createMultiBody([0,0,0],pgui._client)
|
||||
pgui.setRealTimeSimulation(1)
|
||||
|
||||
while (pgui.isConnected()):
|
||||
pgui.getCameraImage(320,200)
|
||||
time.sleep(1./240.)
|
||||
|
||||
@@ -8,5 +8,6 @@ p.loadURDF("combined.urdf", useFixedBase=True)
|
||||
# p.setJointMotorControl2(0,j,p.VELOCITY_CONTROL,targetVelocity=0.1)
|
||||
p.setRealTimeSimulation(1)
|
||||
while (p.isConnected()):
|
||||
p.getCameraImage(320,200)
|
||||
import time
|
||||
time.sleep(1./240.)
|
||||
|
||||
Reference in New Issue
Block a user