diff --git a/examples/pybullet/gym/pybullet_data/sphere2red_nocol.urdf b/examples/pybullet/gym/pybullet_data/sphere2red_nocol.urdf new file mode 100644 index 000000000..f5db0a283 --- /dev/null +++ b/examples/pybullet/gym/pybullet_data/sphere2red_nocol.urdf @@ -0,0 +1,21 @@ + + + + + + + + + + + + + + + + + + + + + diff --git a/examples/pybullet/gym/pybullet_envs/robot_locomotors.py b/examples/pybullet/gym/pybullet_envs/robot_locomotors.py index c8528eb6e..2dbb61810 100644 --- a/examples/pybullet/gym/pybullet_envs/robot_locomotors.py +++ b/examples/pybullet/gym/pybullet_envs/robot_locomotors.py @@ -202,7 +202,7 @@ def get_cube(x, y, z): def get_sphere(x, y, z): - body = p.loadURDF(os.path.join(pybullet_data.getDataPath(),"sphere2red.urdf"), x, y, z) + body = p.loadURDF(os.path.join(pybullet_data.getDataPath(),"sphere2red_nocol.urdf"), x, y, z) part_name, _ = p.getBodyInfo(body, 0) part_name = part_name.decode("utf8") bodies = [body]