From beb71f75bf169d380b5cf170c549d49f088780a8 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Sun, 28 Jan 2018 17:07:07 -0800 Subject: [PATCH] fix urdfEditor.py (needs URDF_USE_IMPLICIT_CYLINDER) --- examples/pybullet/examples/urdfEditor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pybullet/examples/urdfEditor.py b/examples/pybullet/examples/urdfEditor.py index 4ace93580..f2dfb8cf1 100644 --- a/examples/pybullet/examples/urdfEditor.py +++ b/examples/pybullet/examples/urdfEditor.py @@ -523,7 +523,7 @@ p.resetSimulation(physicsClientId=org) -mb = p.loadURDF("r2d2.urdf", physicsClientId=org) +mb = p.loadURDF("r2d2.urdf", flags=p.URDF_USE_IMPLICIT_CYLINDER, physicsClientId=org) for i in range(p.getNumJoints(mb,physicsClientId=org)): p.setJointMotorControl2(mb,i,p.VELOCITY_CONTROL,force=0,physicsClientId=org)