Skip to content

Commit

Permalink
fixed a typo in core.py
Browse files Browse the repository at this point in the history
  • Loading branch information
mahaozhe committed Sep 17, 2023
1 parent 536471a commit de1a115
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions panda_gym/envs/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,12 +233,12 @@ def __init__(
observation, _ = self.reset() # required for init; seed can be changed later
observation_shape = observation["observation"].shape
achieved_goal_shape = observation["achieved_goal"].shape
desired_goal_shape = observation["achieved_goal"].shape
desired_goal_shape = observation["desired_goal"].shape
self.observation_space = spaces.Dict(
dict(
observation=spaces.Box(-10.0, 10.0, shape=observation_shape, dtype=np.float32),
desired_goal=spaces.Box(-10.0, 10.0, shape=achieved_goal_shape, dtype=np.float32),
achieved_goal=spaces.Box(-10.0, 10.0, shape=desired_goal_shape, dtype=np.float32),
desired_goal=spaces.Box(-10.0, 10.0, shape=desired_goal_shape, dtype=np.float32),
achieved_goal=spaces.Box(-10.0, 10.0, shape=achieved_goal_shape, dtype=np.float32),
)
)
self.action_space = self.robot.action_space
Expand Down

0 comments on commit de1a115

Please sign in to comment.