Skip to content

Fix _make_img_obs agent layers#33

Open
e-zorzi wants to merge 1 commit intosemitable:masterfrom
e-zorzi:master
Open

Fix _make_img_obs agent layers#33
e-zorzi wants to merge 1 commit intosemitable:masterfrom
e-zorzi:master

Conversation

@e-zorzi
Copy link

@e-zorzi e-zorzi commented Mar 5, 2025

Hi, this pull request fixes '_make_img_obs' which is bugged for two agent layers: AGENT_DIRECTION and AGENT_LOAD. The problem is that agent.x and agent.y are wrongly used to access the grid.
The commit also inverts the goal_x and goal_y variable definitions in the same function which are switched (and it is confusing).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant