We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17183b3 commit bad225aCopy full SHA for bad225a
1 file changed
src/mj_viser/teleop_panel.py
@@ -347,7 +347,7 @@ def _deactivate_teleop(self) -> None:
347
def _teleop_loop(self) -> None:
348
"""Background loop: step controller + sync viewer at ~30 Hz."""
349
dt = 1.0 / 30.0
350
- while self._is_teleop_active:
+ while self._is_teleop_active and self._controller.is_active:
351
t0 = time.monotonic()
352
try:
353
self._controller.step()
0 commit comments