From 7ba490f14a55b75402feab9750e929a50934a25e Mon Sep 17 00:00:00 2001 From: Hongyi Zhou Date: Tue, 15 Nov 2022 14:07:16 +0100 Subject: [PATCH] disable air density & viscosity --- fancy_gym/envs/mujoco/table_tennis/table_tennis_env.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fancy_gym/envs/mujoco/table_tennis/table_tennis_env.py b/fancy_gym/envs/mujoco/table_tennis/table_tennis_env.py index 3fbba08..94a48ab 100644 --- a/fancy_gym/envs/mujoco/table_tennis/table_tennis_env.py +++ b/fancy_gym/envs/mujoco/table_tennis/table_tennis_env.py @@ -59,8 +59,8 @@ class TableTennisEnv(MujocoEnv, utils.EzPickle): self.action_space = spaces.Box(low=-1, high=1, shape=(7,), dtype=np.float32) # complex dynamics settings - self.model.opt.density = 1.225 - self.model.opt.viscosity = 2.27e-5 + # self.model.opt.density = 1.225 + # self.model.opt.viscosity = 2.27e-5 self._enable_wind = enable_wind self._enable_magnus = enable_magnus self._wind_vel = np.zeros(3)