Replay Trajectories#
There are two control modes for replay. The physics mode replays the physics actions and the states mode replays the states, so the physics mode has greater possibilities to fail across different simulators, but the states mode is bound to succeed across different simulators.
Physics replay#
python metasim/scripts/replay_demo.py --sim=isaaclab --task=CloseBox --num_envs 4
task could also be:
PickCubeStackCubeCloseBoxBasketballInHoop
States replay#
python metasim/scripts/replay_demo.py --sim=isaaclab --task=CloseBox --num_envs 4 --object-states
task could also be:
CloseBoxBasketballInHoop
Varifies commands#
Libero#
e.g.
python metasim/scripts/replay_demo.py --sim=isaaclab --task=LiberoPickButter
Simulator:
isaaclabmujoco
Task:
LiberoPickAlphabetSoupLiberoPickBbqSauceLiberoPickChocolatePuddingLiberoPickCreamCheeseLiberoPickMilkLiberoPickOrangeJuiceLiberoPickSaladDressingLiberoPickTomatoSauce
Humanoid#
e.g.
python metasim/scripts/replay_demo.py --sim=isaaclab --num_envs=1 --robot=h1 --task=Stand --object-states
python metasim/scripts/replay_demo.py --sim=mujoco --num_envs=1 --robot=h1 --task=Stand --object-states
Simulator:
isaaclabmujoco
Task:
StandWalkRun
Note:
MuJoCoreplay supports only one environment at a time, akanum_envsshould be 1 (but training supports multiple environments).
Add scene:#
Note: only single environment is supported for adding scene.
python metasim/scripts/replay_demo.py --sim=isaaclab --task=CloseBox --num_envs 1 --scene=tapwater_scene_131