Skip to main content

Setup

Important:- The instructions and setup provided in this documentation are specific to our customized branch of the LeRobot repository.

1. Install Miniconda

Miniconda installation instructions

2. Restart your shell

source ~/.bashrc
# or for Mac:
source ~/.bash_profile
# or Zsh:
source ~/.zshrc

3. Create a conda environment

conda create -y -n lerobot python=3.10
conda activate lerobot

4. Clone LeRobot

git clone git clone --branch user/carpit680/2025_06_18_add_giraffe_robot https://github.com/huggingface/lerobot.git
cd ~/lerobot
pip install -e .

5. Linux-only: Extra dependencies for dataset recording

conda install -y -c conda-forge ffmpeg
pip uninstall -y opencv-python
conda install -y -c conda-forge "opencv>=4.10.0"

6. Find USB ports for your arm

Refer to motor configure for setting up the motors.

10. Assemble the arm

Follow the provided documentation for physical assembly. Note: Insert cables before mounting motors for easier handling.

For setting up the Leader Arm using magnetic encoders, refer to the Servo-Less Leader Arm page.