Update test.py

This commit is contained in:
erwincoumans 2016-05-10 01:13:19 -07:00
parent bad3ff9699
commit 94fe96e2b4

View File

@ -5,7 +5,7 @@ import time
pybullet.connect(pybullet.GUI) pybullet.connect(pybullet.GUI)
#load URDF, given a relative or absolute file+path #load URDF, given a relative or absolute file+path
obj = pybullet.loadURDF("C:/develop/bullet3/data/r2d2.urdf") obj = pybullet.loadURDF("r2d2.urdf")
#query the number of joints of the object #query the number of joints of the object
numJoints = pybullet.getNumJoints(obj) numJoints = pybullet.getNumJoints(obj)