Skip to content

Commit

Permalink
Updated action documentation for relevant environments
Browse files Browse the repository at this point in the history
  • Loading branch information
Martin36 committed Jan 6, 2025
1 parent fb7ce2b commit f674936
Show file tree
Hide file tree
Showing 7 changed files with 35 additions and 35 deletions.
6 changes: 3 additions & 3 deletions minigrid/envs/babyai/goto.py
Original file line number Diff line number Diff line change
Expand Up @@ -363,7 +363,7 @@ class GoTo(RoomGridLevel):
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down Expand Up @@ -453,7 +453,7 @@ class GoToImpUnlock(RoomGridLevel):
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down Expand Up @@ -558,7 +558,7 @@ class GoToSeq(LevelGen):
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down
12 changes: 6 additions & 6 deletions minigrid/envs/babyai/open.py
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ class Open(RoomGridLevel):
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down Expand Up @@ -109,7 +109,7 @@ class OpenRedDoor(RoomGridLevel):
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down Expand Up @@ -171,7 +171,7 @@ class OpenDoor(RoomGridLevel):
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down Expand Up @@ -241,7 +241,7 @@ class OpenTwoDoors(RoomGridLevel):
## Mission Space
"open the {color} door, the open the {color} door"
"open the {color} door, then open the {color} door"
{color} is the color of the box. Can be "red", "green", "blue", "purple",
"yellow" or "grey".
Expand All @@ -255,7 +255,7 @@ class OpenTwoDoors(RoomGridLevel):
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down Expand Up @@ -355,7 +355,7 @@ class OpenDoorsOrder(RoomGridLevel):
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down
6 changes: 3 additions & 3 deletions minigrid/envs/babyai/other.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ class ActionObjDoor(RoomGridLevel):
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down Expand Up @@ -130,7 +130,7 @@ class FindObjS5(RoomGridLevel):
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down Expand Up @@ -198,7 +198,7 @@ class KeyCorridor(RoomGridLevel):
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down
6 changes: 3 additions & 3 deletions minigrid/envs/babyai/pickup.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ class Pickup(RoomGridLevel):
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down Expand Up @@ -98,7 +98,7 @@ class UnblockPickup(RoomGridLevel):
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down Expand Up @@ -316,7 +316,7 @@ class PickupAbove(RoomGridLevel):
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down
4 changes: 2 additions & 2 deletions minigrid/envs/babyai/putnext.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class PutNextLocal(RoomGridLevel):
| 1 | right | Turn right |
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 4 | drop | Drops held item |
| 5 | toggle | Unused |
| 6 | done | Unused |
Expand Down Expand Up @@ -106,7 +106,7 @@ class PutNext(RoomGridLevel):
| 1 | right | Turn right |
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 4 | drop | Drops held item |
| 5 | toggle | Unused |
| 6 | done | Unused |
Expand Down
24 changes: 12 additions & 12 deletions minigrid/envs/babyai/synth.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ class Synth(LevelGen):
| 1 | right | Turn right |
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 4 | drop | Drops held item |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down Expand Up @@ -138,8 +138,8 @@ class SynthLoc(LevelGen):
| 1 | right | Turn right |
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 4 | drop | Drops held item |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down Expand Up @@ -243,8 +243,8 @@ class SynthSeq(LevelGen):
| 1 | right | Turn right |
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 4 | drop | Drops held item |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down Expand Up @@ -345,8 +345,8 @@ class MiniBossLevel(LevelGen):
| 1 | right | Turn right |
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 4 | drop | Drops held item |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down Expand Up @@ -448,8 +448,8 @@ class BossLevel(LevelGen):
| 1 | right | Turn right |
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 4 | drop | Drops held item |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down Expand Up @@ -544,8 +544,8 @@ class BossLevelNoUnlock(LevelGen):
| 1 | right | Turn right |
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 4 | drop | Drops held item |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down
12 changes: 6 additions & 6 deletions minigrid/envs/babyai/unlock.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ class Unlock(RoomGridLevel):
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down Expand Up @@ -132,7 +132,7 @@ class UnlockLocal(RoomGridLevel):
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down Expand Up @@ -195,7 +195,7 @@ class KeyInBox(RoomGridLevel):
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down Expand Up @@ -265,7 +265,7 @@ class UnlockPickup(RoomGridLevel):
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down Expand Up @@ -340,7 +340,7 @@ class BlockedUnlockPickup(RoomGridLevel):
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down Expand Up @@ -413,7 +413,7 @@ class UnlockToUnlock(RoomGridLevel):
| 2 | forward | Move forward |
| 3 | pickup | Pick up an object |
| 4 | drop | Unused |
| 5 | toggle | Unused |
| 5 | toggle | Open/closes door |
| 6 | done | Unused |
## Observation Encoding
Expand Down

0 comments on commit f674936

Please sign in to comment.