Skip to content

Commit

Permalink
chore: comments for view shapes
Browse files Browse the repository at this point in the history
Co-authored-by: Sasha Abramowitz <reallysasha@gmail.com>
  • Loading branch information
RuanJohn and sash-a authored Oct 31, 2024
1 parent 3d36aab commit 77f291c
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions mava/wrappers/jumanji.py
Original file line number Diff line number Diff line change
Expand Up @@ -419,6 +419,7 @@ def observation_spec(
"step_count",
)

# 2 sets of tiles in fov (blockers and targets) + xy position of agent and target
tiles_in_fov = (self.fov * 2 + 1) ** 2
single_agent_obs = 4 + tiles_in_fov * 2
agents_view = specs.BoundedArray(
Expand Down

0 comments on commit 77f291c

Please sign in to comment.