Skip to content

Commit 0897f8c

Browse files
committed
put apply perturbs after render
1 parent c918bd7 commit 0897f8c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

mujoco_viewer/mujoco_viewer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -476,6 +476,9 @@ def update():
476476
# clear markers
477477
self._markers[:] = []
478478

479+
# apply perturbation (should this come before mj_step?)
480+
self.apply_perturbations()
481+
479482
def close(self):
480483
glfw.terminate()
481484
sys.exit(0)

0 commit comments

Comments
 (0)