# Downloading & Compiling

## Prerequisites/Requirements

* Raspberry Pi
* Raspbian Stretch or similar
* Python 3.6+
* python3-pyric
* python3-netifaces
* OpenVG by paeryn for the OSD (see below)

**For the OSD download & install the following library:**\
<https://github.com/paeryn/openvg/tree/screenshot>\
OSD is only supported on Raspberry Pi platform

## Default SSH login data:

User: **pi**\
Password: **raspberry**

## Download and compile from git

Open the shell and type:

```bash
git clone https://github.com/seeul8er/DroneBridge.git
cd DroneBridge
# git checkout nightly
git submodule init
git submodule update
```

To compile enter the root directory (DroneBridge/) and run:

```bash
cmake .
make
cd communication/DroneBridgeLib
sudo pip install .
```

This will compile all C modules and install the DroneBridge Python Common library


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dronebridge.gitbook.io/docs/developer-guide/downloading-and-compiling.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
