Fix issue where unpausing the simulation (especially under slowdown) causes a jump in simulation time, in both native simulate and Python viewer.
PiperOrigin-RevId: 568948943 Change-Id: I2f401508555e272f348e97627aeb85cb3e9cf017
This commit is contained in:
committed by
Copybara-Service
parent
8ed321d469
commit
ac74c72657
@@ -298,6 +298,7 @@ def _physics_loop(simulate: _Simulate, loader: Optional[_InternalLoaderType]):
|
||||
|
||||
# Run mj_forward, to update rendering and joint sliders.
|
||||
mujoco.mj_forward(m, d)
|
||||
synccpu = time.time()
|
||||
|
||||
|
||||
def _launch_internal(
|
||||
|
||||
Reference in New Issue
Block a user