Skip to content

Commit 901bf67

Browse files
author
Zhang Jin
committed
enable .xml to beyondmimic
1 parent 2cb9317 commit 901bf67

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

scripts/replay_npz.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -102,8 +102,7 @@ def run_simulator(sim: sim_utils.SimulationContext, scene: InteractiveScene):
102102
# robot.write_joint_state_to_sim(motion.joint_pos[time_steps], motion.joint_vel[time_steps])
103103

104104
scene.write_data_to_sim()
105-
sim.render() # We don't want physic (sim.step()) -> directly replace this line with sim.step() without other changes can work.
106-
#physic step enable to calculate moment of motor etc.
105+
sim.render() # We don't want physic (sim.step())
107106
scene.update(sim_dt)
108107

109108
pos_lookat = root_states[0, :3].cpu().numpy()

0 commit comments

Comments
 (0)