Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigodelazcano committed Oct 19, 2023
1 parent 80697d9 commit 59cf779
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion gymnasium/envs/mujoco/mujoco_rendering.py
Original file line number Diff line number Diff line change
Expand Up @@ -611,7 +611,10 @@ def _create_overlay(self):

self.add_overlay(bottomleft, "FPS", "%d%s" % (1 / self._time_per_render, ""))
self.add_overlay(
bottomleft, "Solver iterations", str(self.data.solver_iter + 1)
bottomleft, "Solver iterations", str(self.data.solver_niter[0] + 1)
)
self.add_overlay(
bottomleft, "Number of Islands", str(self.data.solver_nisland)
)
self.add_overlay(
bottomleft, "Step", str(round(self.data.time / self.model.opt.timestep))
Expand Down

0 comments on commit 59cf779

Please sign in to comment.