Hallway

Hallway

Action Space

Discrete(3)

Observation Space

Box(0, 255, (60, 80, 3), uint8)

Creation

gymnasium.make("MiniWorld-Hallway-v0")

Description

Environment in which the goal is to go to a red box at the end of a hallway within as few steps as possible.

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 red box reached

Arguments

  • length: length of the entire space

env = gymnasium.make("Miniworld-Hallway-v0", length=12)