Skip to content

Installation

Getting started with BabyROS is designed to be straightforward and lightweight, so you can focus on developing robotics and physical AI applications without dealing with complex middleware or system-wide dependencies. The framework can be installed on any platform that supports Python, and using an isolated environment is recommended to keep dependencies clean and reproducible.

1. Clone the Repository

Begin by obtaining the BabyROS source code from GitHub:

bash
git clone https://github.com/telekinesis-ai/babyros
cd babyros

This ensures you have the latest development version and can make modifications if needed.

To manage dependencies reliably and avoid conflicts with system packages, it is recommended to create a dedicated Python environment using Miniconda or Anaconda:

bash
conda create -n babyros python=3.11

To activate your environment:

bash
conda activate babyros

When you are finished working, you can deactivate the environment:

bash
conda deactivate

Using an isolated environment ensures that BabyROS and its dependencies remain self-contained and reproducible across different machines or projects.

3. Install BabyROS

With the environment active, install BabyROS in editable mode for development:

bash
pip install -e .

Installing in editable mode allows you to modify the source code directly while using the package, without needing to reinstall after each change. This setup is particularly useful when experimenting with new features or customizing the framework for your robotics projects.