# 4. Motion Planning In this tutorial, we will show you how to use MetaSim to plan a motion for a robot. Note here, we use the `curobo` package to plan the motion. If you haven't installed it, please refer to our [curobo installation guide](http://127.0.0.1:8000/metasim/get_started/advanced_installation/curobo.html). ## Common Usage ```bash python get_started/4_motion_planning.py --sim ``` 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 plan a motion for a robot and it will automatically record a video. ### Examples #### IsaacLab ```bash python get_started/4_motion_planning.py --sim isaaclab ``` #### Isaac Gym ```bash python get_started/4_motion_planning.py --sim isaacgym ``` #### Mujoco ```bash python get_started/4_motion_planning.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 ```bash python get_started/4_motion_planning.py --sim genesis ``` Note that we find the `headless` mode of Genesis is not stable. So we recommend using the `non-headless` mode. #### Sapien ```bash python get_started/4_motion_planning.py --sim sapien ``` #### Pybullet ```bash python get_started/4_motion_planning.py --sim pybullet ``` You will get the following videos:

IsaacLab

Isaac Gym

Mujoco

Genesis

Sapien

PyBullet