> For the complete documentation index, see [llms.txt](https://davids-tutorials.gitbook.io/robotics/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://davids-tutorials.gitbook.io/robotics/gazebo-garden.md).

# Gazebo Garden

offers a robust physics engine & high-quality graphics. Allows roboticists to test algorithms, design robots, perform regression testing, and train AI systems using realistic scenarios.

Pre-req: [Virtual Machine](/robotics/virtual-machines-virtual-box.md)

* [Gazebo Garden ](https://gazebosim.org/docs/garden/install_ubuntu)

### Installation

```
sudo apt-get update
sudo apt-get install lsb-release wget gnupg
```

```
sudo wget https://packages.osrfoundation.org/gazebo.gpg -O /usr/share/keyrings/pkgs-osrf-archive-keyring.gpg
```

```
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/pkgs-osrf-archive-keyring.gpg] http://packages.osrfoundation.org/gazebo/ubuntu-stable $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/gazebo-stable.list > /dev/null
```

```
sudo apt-get update
sudo apt-get install gz-garden
```

### (Optional) Launch Gazebo ([Link](https://gazebosim.org/docs/all/getstarted))

> shapes example below

```
gz sim shapes.sdf
```

> quadcopter example below

```
gz sim quadcopter.sdf
```
