mirror of
https://github.com/bulletphysics/bullet3
synced 2024-12-13 21:30:09 +00:00
Update test.py
This commit is contained in:
parent
bad3ff9699
commit
94fe96e2b4
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user