Skip to content

Commit

Permalink
Fix offset values
Browse files Browse the repository at this point in the history
  • Loading branch information
MadsSR committed May 16, 2024
1 parent b8728c8 commit 30dd7cd
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/fastfiz_env/wrappers/action.py
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,8 @@ class FastFizActionWrapper(ActionWrapper):
MAX_PHI = 360 - 0.001
MIN_VELOCITY = 0
MAX_VELOCITY = 10 - 0.001
MIN_OFFSET = -15
MAX_OFFSET = 15
MIN_OFFSET = -28 + 8
MAX_OFFSET = 28 - 8
SPACES = {
"VECTOR_2D": spaces.Box(
low=np.array([-1, -1]),
Expand Down Expand Up @@ -99,8 +99,8 @@ class FastFizActionWrapper(ActionWrapper):
dtype=np.float32,
),
"OUTPUT": spaces.Box(
low=np.array([-1, -1, 0, 0, 0]),
high=np.array([1, 1, 70, 360, 10]),
low=np.array([-28, -28, 0, 0, 0]),
high=np.array([28, 28, 70, 360, 10]),
dtype=np.float32,
),
}
Expand Down

0 comments on commit 30dd7cd

Please sign in to comment.