MuJoCo Web Viewer: update code to support the web viewer
PiperOrigin-RevId: 957147035 Change-Id: Ibe5d68b2654a7faac23c297d4f492929209c078d
This commit is contained in:
committed by
Copybara-Service
parent
a1e90c24b3
commit
6c78c98418
@@ -15,6 +15,7 @@
|
||||
|
||||
import copy
|
||||
import dataclasses
|
||||
|
||||
import mujoco
|
||||
from mujoco.experimental.studio import messages
|
||||
from mujoco.experimental.studio import parser
|
||||
@@ -355,7 +356,7 @@ class ViewerApp:
|
||||
paused = (
|
||||
self.step_control_state.get_pause_state() != sim.PauseState.UNPAUSED
|
||||
)
|
||||
ux.stats_gui(self.model, self.data, paused, 0.0)
|
||||
ux.info_gui(self.model, self.data, paused, 0.0)
|
||||
imgui.End()
|
||||
|
||||
# -- Status bar -----------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user