habitat.core.environments.GymHabitatEnv class

A registered environment that wraps a RLTaskEnv with the HabGymWrapper to use the default gym API.

Class methods

def class_name()

Methods

def close(self)
def render(self, mode = 'human', **kwargs)
def reset(self, **kwargs) -> typing.Union[ObsType, tuple]
def seed(self, seed = None)
def step(self, action: ActType) -> typing.Tuple[ObsType, float, bool, dict]

Special methods

def __enter__(self)
Support with-statement for the environment.
def __exit__(self, *args)
Support with-statement for the environment.
def __getattr__(self, name)
def __init__(self, config: DictConfig, dataset: typing.Optional[dataset.Dataset] = None)
def __repr__(self)
def __str__(self)

Properties

action_space get set
metadata: dict get set
np_random: gym.utils.seeding.RandomNumberGenerator get set
Initializes the np_random field if not done already.
observation_space: gym.spaces.space.Space get set
reward_range: tuple get set
spec get
unwrapped: gym.core.Env get