TMaze¶
Action Space |
|
Observation Space |
|
Creation |
|
Description¶
Two hallways connected in a T-junction, the goal is to move the agent
towards a red box within as few steps as possible. In
MiniWorld-TMazeLeft-v0
, the red box is located on the left wing of
the T-shaped junction. In MiniWorld-TMazeRight-v0
, the red box is
located on the right wing of the T-shaped junction.
Action Space¶
Num |
Action |
---|---|
0 |
turn left |
1 |
turn right |
2 |
move forward |
Observation Space¶
The observation space is an ndarray
with shape (obs_height, obs_width, 3)
representing an RGB image of what the agents see.
Rewards¶
+(1 - 0.2 * (step_count / max_episode_steps)) when box reached and zero otherwise.
Arguments¶
env = gymnasium.make("MiniWorld-TMazeLeft-v0")
# or
env = gymnasium.make("MiniWorld-TMazeRight-v0")