Skip to content

RobotEnv

class · namespace Hazel

Internal per-policy batching layer owned by RobotManager. Scripts construct a RobotManager, not a RobotEnv.

public class RobotEnv

Constructors

RobotEnv(RobotManager, float, Entity)

public RobotEnv(RobotManager manager, float dt, Entity mujocoEntity)

Methods

CollectState()

public void CollectState()

Engine-driven via RobotManager. Not called from scripts.

GetActions()

public void GetActions()

Engine-driven via RobotManager. Not called from scripts.

RegisterAgent(RobotAgent)

public void RegisterAgent(RobotAgent agent)

Reset()

public void Reset()

Setup(RobotManager, MujocoSceneComponent)

public void Setup(RobotManager robotManager, MujocoSceneComponent mujocoScene)

UpdateCommands()

public void UpdateCommands()

Engine-driven via RobotManager. Not called from scripts.


Source: Hazel/Learn/RobotEnv.cs