Generic Devices

Run the API locally on your own device

Known working devices

Cameras

  • Any Luxonis OAK camera from the OAK-1 or OAK-D series

Controllers

Running from source

Robopipe API is open source and free for anyone to download, play with, and modify. Follow these steps to get Robopipe API running on your local device. The source code can be found here.

System requirements

Before you run Robopipe API on your device, make sure you have the following prerequisites.

  • You have cloned the Robopipe API GitHub repository.

  • You have Python 3.11.10 or higher installed.

  • Though it is not a requirement for running the API, you should be able to connect to a Luxonis device, otherwise the things you can do with the API are greatly limited.

  • If you also wish to use the controller API, you need to run the API on a Unipi device.

Running the API

Clone the Robopipe API GitHub repository.

git clone https://github.com/Robopipe/api.git

In your terminal, change directory to the one containing the Robopipe API source code.

cd robopipe-api

Set up and activate virtual environment (this step is optional if you have venv already active).

python -m venv .venv 
source .venv/bin/activate

Configure the API according to configuration reference.

Install dependencies.

python -m pip install -r requirements.txt

Run the API.

python3 -m robopipe_api

Last updated