Resets geom colors to their defaults after starting a new episode. Subclasses of `base.Task` must delegate to this method after performing their own initialization. Args: physics: An instance of `mujoco.Physics`.
(self, physics)
| 60 | return mujoco.action_spec(physics) |
| 61 | |
| 62 | def initialize_episode(self, physics): |
| 63 | """Resets geom colors to their defaults after starting a new episode. |
| 64 | |
| 65 | Subclasses of `base.Task` must delegate to this method after performing |
| 66 | their own initialization. |
| 67 | |
| 68 | Args: |
| 69 | physics: An instance of `mujoco.Physics`. |
| 70 | """ |
| 71 | self.after_step(physics) |
| 72 | |
| 73 | def before_step(self, action, physics): |
| 74 | """Sets the control signal for the actuators to values in `action`.""" |
nothing calls this directly
no test coverage detected