Skip to content

Commit

Permalink
Update robot_base.py
Browse files Browse the repository at this point in the history
  • Loading branch information
sujaygarlanka authored Aug 24, 2023
1 parent 0b320b1 commit a58f420
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion igibson/robots/robot_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -416,7 +416,7 @@ def _create_continuous_action_space(self):
limits = controller.command_input_limits
low.append(np.array([-np.inf] * controller.command_dim) if limits is None else limits[0])
high.append(np.array([np.inf] * controller.command_dim) if limits is None else limits[1])

return gym.spaces.Box(
shape=(self.action_dim,), low=np.concatenate(low), high=np.concatenate(high), dtype=np.float32
)
Expand Down

0 comments on commit a58f420

Please sign in to comment.