unilab.base.registry.EnvMeta

class unilab.base.registry.EnvMeta[source]

Bases: object

EnvMeta(env_cfg_cls: Type[unilab.base.base.EnvCfg], env_cls_dict: Dict[str, Type[unilab.base.base.ABEnv]] = <factory>)

Parameters:

Methods

__init__(env_cfg_cls[, env_cls_dict])

available_sim_backend()

Return the explicit default simulation backend for this environment.

support_sim_backend(sim_backend)

Check if the environment supports a specific simulation backend.

Attributes

env_cfg_cls: Type[EnvCfg]
env_cls_dict: Dict[str, Type[ABEnv]]
available_sim_backend()[source]

Return the explicit default simulation backend for this environment.

Return type:

Optional[str]

support_sim_backend(sim_backend)[source]

Check if the environment supports a specific simulation backend.

Parameters:

sim_backend (str)

Return type:

bool

__init__(env_cfg_cls, env_cls_dict=<factory>)
Parameters: