1. Control Robot#
In this tutorial, we will show you how to use MetaSim to control a robot.
Common Usage#
python get_started/1_control_robot.py --sim <simulator>
you can also render in the headless mode by adding --headless
flag. By using this, there will be no window popping up and the rendering will also be faster.
By running the above command, you will give random control actions to the robot and it will automatically record a video.
Examples#
IsaacLab#
python get_started/1_control_robot.py --sim isaaclab
Isaac Gym#
python get_started/1_control_robot.py --sim isaacgym
Mujoco#
python get_started/1_control_robot.py --sim mujoco --headless
Note that we find the non-headless
mode of Mujoco is not stable. So we recommend using the headless
mode.
Genesis#
python get_started/1_control_robot.py --sim genesis
Note that we find the headless
mode of Genesis is not stable. So we recommend using the non-headless
mode.
Sapien#
python get_started/1_control_robot.py --sim sapien
Pybullet#
python get_started/1_control_robot.py --sim pybullet
You will get the following videos:
IsaacLab
Isaac Gym
MuJoCo
Genesis
SAPIEN
PyBullet