grutopia.core.env¶
env¶
- class grutopia.core.env.BaseEnv(config: SimulatorConfig, headless: bool = True, webrtc: bool = False, native: bool = False)[source]¶
Env base class. All tasks should inherit from this class(or subclass).¶
- get_observations() List[Dict[str, Any]] [source]¶
Get observations from Isaac environment :returns: observations :rtype: List[Dict[str, Any]]
- reset(envs: List[int] | None = None)[source]¶
reset the environment(use isaac word reset)
- Parameters:
envs (List[int]) – env need to be reset(default for reset all envs)
- property simulation_app¶
simulation app instance
- property simulation_config¶
config of simulation environment