irsim.config.env_param#

Objects: A list of all objects in the environment Logger: A logger object to log messages Platform: The operating system platform

Classes#

EnvParam

Mutable per-environment runtime state.

Functions#

bind(→ None)

Bind instance to default index 0 and update current alias.

Module Contents#

class irsim.config.env_param.EnvParam[源代码]#

Mutable per-environment runtime state.

变量:
  • objects -- Objects currently managed by the environment.

  • logger -- Environment logger instance.

  • GeometryTree -- Spatial index used for geometry queries, when available.

  • platform_name -- Name of the current operating system platform.

  • id_iter -- Counter handing out object ids; each environment numbers its objects from 0.

  • env_id -- Process-wide number of the owning environment (None for the default instance bound before any environment exists).

  • rng -- Generator this environment draws from when it was created with a seed or reseeded; None means the shared default of irsim.util.random.

objects: list[irsim.world.object_base.ObjectBase] = []#
logger: Any | None = None#
GeometryTree: Any | None = None#
platform_name: str#
id_iter: collections.abc.Iterator[int]#
env_id: int | None = None#
rng: numpy.random.Generator | None = None#
irsim.config.env_param.bind(instance: EnvParam) None[源代码]#

Bind instance to default index 0 and update current alias.