Table of Contents

Class MujocoInfo

Namespace
Gym.Environments.Envs.MuJoCo
Assembly
Gym.Environments.dll

The base of the MuJoCo envs' typed info records (DR-91, DR-95), as MujocoEnv is the base of the envs: each env class has its record (HalfCheetahInfoV5 info = step.Info; for HalfCheetahEnvV5). It holds no member of its own, since no key is common to every MuJoCo env.

public abstract record MujocoInfo : EnvInfo, IEquatable<EnvInfo>, IEquatable<MujocoInfo>
Inheritance
MujocoInfo
Implements
Derived
Inherited Members
Extension Methods

Remarks

The keys and their order are Gymnasium v1.4.0's, measured on every MuJoCo id (a reset with seed 0, then 300 random steps). A v5 env's reset sends a subset of its step's keys, a v4 env's reset none, so the keys only a step sends are nullable members. The scalars are double: NumPy's float64 values, the float32 control cost of a float32 action and Python's floats and ints all widen to it exactly; the indexer still gives each value as sent.

Pusher-v4, InvertedPendulum-v4 and InvertedDoublePendulum-v4 have no record: the first refuses to build on MuJoCo 3 and later, as Gymnasium's does, and the two others always send {}.