Software Architecture & Setup
Deploy the XLeRobot-Pro stack. One repository, full control.
1. System Architecture
Core computing (IK, Vision, VLA Policy inference) runs either on your Host Laptop or the onboard NVIDIA Jetson Orin Nano.
┌──────────────┐ ┌────────────────────────┐
│ Bus 1 & 2 │ USB-C │ Compute Node │
│ (Follower │◄────────────────►│ │
│ Arms) │ │ - Jetson Orin Nano │
└──────────────┘ │ OR │
│ - Laptop / PC │
┌──────────────┐ USB-C │ │
│ Bus 3 │◄────────────────►│ Running: │
│ (Neck/Wheels)│ │ - LeRobot Stack │
└──────────────┘ │ - Analytical IK │
│ - YOLO / VLA │
┌──────────────┐ USB └───────────┬────────────┘
│ Cameras (3x) │◄─────────────────────────────┘
└──────────────┘
2. Framework Installation
We recommend Ubuntu 22.04 and Python 3.10.
Clone & Install
Terminal
# Clone the unified pro repository
$ git clone https://github.com/Minko82/xlerobot-pro
$ cd xlerobot-pro
# Install dependencies in editable mode
$ pip install -e .
$ git clone https://github.com/Minko82/xlerobot-pro
$ cd xlerobot-pro
# Install dependencies in editable mode
$ pip install -e .
JETSON USERS: Ensure JetPack 5.1.x or 6.0 is installed. Enable "Max Power Mode" via
sudo nvpmodel -m 0 for policy inference.
3. Environment & Port Configuration
A. USB Serial Permissions
Grant Permissions
$ sudo chmod 666 /dev/ttyACM*
# Verify your connected ports:
$ python find_port.py
# Verify your connected ports:
$ python find_port.py
B. Camera Verification
V4L2 Check
$ v4l2-ctl --list-devices
4. Control & Teleoperation
Test hardware integration using scripts in the examples/ directory.
| Mode | Script Name | Notes |
|---|---|---|
| Joint Test | 0_joint_control.py | Basic movement validation |
| Cartesian IK | 1_ee_control.py | End-effector movement via IK |
| Dual Teleop | 2_dual_arm_teleop.py | Keyboard control for both arms |
| Full Platform | 3_full_xlerobot_control.py | Arms + Neck + Base control |
Troubleshooting Quick Reference
Full Diagnostic Guide ➔
Permission Denied
Run sudo chmod 666 /dev/ttyACM* to unlock USB ports.
Import Error
Ensure you ran pip install -e . inside the xlerobot-pro folder.
Ready to train your robot?
Start the First Reach Tutorial ↗