GridEngine.load_walls#
- GridEngine.load_walls(positions: ndarray) ndarray#
Convert array of positions to wall objects for environment.
- Parameters:
positions (np.ndarray) – Array of positions, where wall objects shall be placed. Wall positions of standard curiosity-gym environments are stored in
curiosity_gym.utils.constants.- Returns:
Array of wall objects.
- Return type:
np.ndarray