From 15ce069c04d856726de081a6cec784fb082128c7 Mon Sep 17 00:00:00 2001 From: erwincoumans Date: Tue, 10 May 2016 01:26:13 -0700 Subject: [PATCH] Update test.py --- examples/pybullet/test.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/examples/pybullet/test.py b/examples/pybullet/test.py index bfafc0e69..5974ed7b3 100644 --- a/examples/pybullet/test.py +++ b/examples/pybullet/test.py @@ -5,7 +5,12 @@ import time pybullet.connect(pybullet.GUI) #load URDF, given a relative or absolute file+path -obj = pybullet.loadURDF("r2d2.urdf") +obj = pybullet.loadURDF("r2d2.urdf",posX,posY,posZ) + +posX=0 +posY=3 +posZ=2 +obj2 = pybullet.loadURDF("kuka_lwr/kuka.urdf",posX,posY,posZ) #query the number of joints of the object numJoints = pybullet.getNumJoints(obj)