summaryrefslogtreecommitdiff
path: root/examples/pybullet/gym/pybullet_envs/minitaur/envs/bullet_client.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pybullet/gym/pybullet_envs/minitaur/envs/bullet_client.py')
-rw-r--r--examples/pybullet/gym/pybullet_envs/minitaur/envs/bullet_client.py10
1 files changed, 7 insertions, 3 deletions
diff --git a/examples/pybullet/gym/pybullet_envs/minitaur/envs/bullet_client.py b/examples/pybullet/gym/pybullet_envs/minitaur/envs/bullet_client.py
index 8fc1fcd5c..54e0bd09e 100644
--- a/examples/pybullet/gym/pybullet_envs/minitaur/envs/bullet_client.py
+++ b/examples/pybullet/gym/pybullet_envs/minitaur/envs/bullet_client.py
@@ -42,9 +42,13 @@ class BulletClient(object):
attribute = getattr(pybullet, name)
if inspect.isbuiltin(attribute):
if name not in [
- "invertTransform", "multiplyTransforms", "getMatrixFromQuaternion",
- "getEulerFromQuaternion", "computeViewMatrixFromYawPitchRoll",
- "computeProjectionMatrixFOV", "getQuaternionFromEuler",
+ "invertTransform",
+ "multiplyTransforms",
+ "getMatrixFromQuaternion",
+ "getEulerFromQuaternion",
+ "computeViewMatrixFromYawPitchRoll",
+ "computeProjectionMatrixFOV",
+ "getQuaternionFromEuler",
]: # A temporary hack for now.
attribute = functools.partial(attribute, physicsClientId=self._client)
return attribute