XLeRobot Documentation
repository·main·Indexed 26 days ago
https://github.com/vector-wangel/xlerobotAn open-source, low-cost platform for Embodied AI featuring a dual-arm mobile household robot for general manipulation. The documentation covers hardware design (including 3D printing for version 0.3.0 and STEP files for 0.4.0), real-world control via Bluetooth, and simulation environments using MuJoCo, NVIDIA Isaac Sim (via Leisaac), and ManiSkill. It includes details on kinematics configuration, YOLO-based object tracking, and teleoperation for the XLeRobot 2-Wheels model.
What's inside XLeRobot
- XLeRobot is a low-cost, dual-arm mobile household robot designed for embodied AI research and domestic tasks. It is built upon the LeRobot core, utilizing affordable 3D-printed components and motors. It is designed to be an easy-to-assemble (approx. 4 hours) and upgradeable platform for startups, researchers, educators, and DIY enthusiasts.
Overview of XLeRobot Software and Control Methods
mainXLeRobot runs under the
lerobotframework. Users can choose from several control methods depending on their hardware and task complexity:- Joint Control: Used for basic motor testing.
- End-Effector Control: Used for teleoperation.
- Advanced Control: Includes dual-arm control or vision-based control.
- Input Methods: Full system teleoperation can be achieved using a keyboard, Xbox controller, or Switch Joycon.
All example scripts are located in the
software/examples/directory and can be run after proper setup and calibration. Note that some examples require additional calibration for optimal performance.Available simulation environments in XLeRobot
mainXLeRobot supports various simulation environments for scene manipulation and robotics tasks. The following environments can be used:
ReplicaCAD_SceneManipulation-v1(the default environment)- AI2THOR scenes
- Robocasa Kitchen counter scenes
OpenCabinetDrawer-v1
Understand XLeRobot project roadmap and limitations
mainXLeRobot is designed as an affordable, easy-to-assemble, plug-and-play open-source robot platform.
Hardware Roadmap
- Urgent: Adding arm base options (clamp vs. screw mount) and connection plates compatible with IKEA trolley metal mesh.
- Near-term: Adding RealSense depth cameras, LiDAR/SLAM for home navigation, and basic tactile sensing.
Software Roadmap
- Urgent: Basic control algorithms, optimized end-effector control, ManiSkill simulation environment, Quest3 VR teleoperation, and simple tasks using existing VLA models from the
lerobotcodebase. - Near-term: AprilTag-based calibration, autonomous navigation, digital twin alignment for sim2real, world models, and MCP connectivity for LLM integration.
Known Limitations
- Fixed Height: Lacks a stable lifting platform to keep costs low.
- Workspace: Smaller workspace compared to Aloha due to SO100 arm size constraints.
- Payload: Limited single-arm load capacity (designed to be used with an IKEA trolley).
- Mobility Precision: Base movement precision may be affected by IKEA trolley wheels (can be mitigated via closed-loop feedback control).
Configure Power Supply for XLeRobot
mainXLeRobot requires a power station or power bank capable of supporting at least two 60W+ USB-C fast charging ports to power the 12V arms, base, and Raspberry Pi.
Recommended Setup:
- Anker SOLIX C300 Power Station: Provides 288Wh capacity and 300W max output. It can power the entire system (including dual arms and Raspberry Pi, which draw ~180W max) using three USB-C cables, which simplifies wiring.
Alternative Compatible Options (Not Tested):
- UGREEN 300W 48000mAh Power Bank
- Anker Laptop Power Bank (25K, 165W)
- AOHI 240W Laptop Power Bank 27600mAh
Run the XLeRobot 2-Wheels Host on robot hardware
mainTo run the ZMQ host on the actual robot hardware, use the
xlerobot_2wheels_hostmodule. EnsurePYTHONPATHis set to include thesrcdirectory.PYTHONPATH=src python -m lerobot.robots.xlerobot_2wheels.xlerobot_2wheels_host --robot.id=my_xlerobot_2wheelsUse XLeRobot Simulation (Playground 0.1.5)
mainXLeRobot 0.1.5 provides a simulation environment (Playground) that allows you to reproduce demos in approximately 10 minutes. It includes all necessary URDF files and control scripts.
To get started with simulation, refer to the Step-by-step Installation Guide in the
simulation/sim_guide_CN.mdfile and the technical blog insimulation/sim_CN.md.Quick Checklist for SmolVLA and ACT Setup
mainBefore running SmolVLA or ACT, ensure the following environment and hardware configurations are met:
- Environment: Activate the conda environment using
conda activate lerobot. - Cameras: Verify that three cameras are connected and their indices are correctly identified (typically
0,1, and2). - Follower Ports: Confirm the follower ports are correctly mapped (e.g.,
/dev/ttyACM0,/dev/ttyACM1). - Leader Ports: Confirm the leader ports are correctly mapped (e.g.,
/dev/ttyACM2,/dev/ttyACM3). - Dataset: Ensure the dataset repository ID and the task description are properly set.
- Training: Verify that training is running on the intended device (
cudavscpu). - Inference: Ensure inference is pointed to the correct path of the trained policy.
conda activate lerobot- Environment: Activate the conda environment using
Control the XLeRobot via Keyboard
mainThe controller uses keyboard inputs for omnidirectional chassis movement and dual-arm joint motion.
🚗 Chassis Movement (Omnidirectional)
Action Key Description Forward HomeMove in +X direction Backward EndMove in -X direction Left DeleteMove in +Y direction Right Page DownMove in -Y direction Rotate CCW InsertRotate counter-clockwise (+Z) Rotate CW Page UpRotate clockwise (-Z) 🦾 Left Arm Control
Joint Positive Negative Description Joint 1 QAShoulder rotation Joint 2 WSShoulder elevation Joint 3 EDElbow rotation 🦾 Right Arm Control
Joint Positive Negative Description Joint 1 UJShoulder rotation Joint 2 IKShoulder elevation Joint 3 OLElbow rotation Purchase XLeRobot Assembly Kits
mainDeveloper assembly kits (excluding battery and IKEA cart) are available for purchase through Wowrobo.
- Worldwide: $579 via Wowrobo Shop
- China: 3699¥ via Taobao
Install XLeRobot Simulation Environment
mainTo set up the XLeRobot simulation environment, follow these steps:
- Prerequisites: Ensure you are running Ubuntu and have Miniconda installed.
- Create Conda Environment: Create a Python 3.11 environment named
lerobot. - Install ManiSkill: Install the
mani-skillpackage via pip and download theReplicaCADscene dataset. - Install Additional Dependencies: Install
pygamefor keyboard input/control panels andrerun-sdkfor camera data visualization.
# Create and activate environment conda create -y -n lerobot python=3.11 conda activate lerobot # Install ManiSkill and dataset pip install mani-skill python -m mani_skill.utils.download_asset "ReplicaCAD" # Install additional dependencies pip install pygame pip install rerun-sdkAccess Web MuJoCo Simulation
mainYou can interact with XLeRobot instantly via a web-based simulation using the MuJoCo engine and 3DGS. Detailed instructions for this web implementation can be found in the MuJoCo-GS-Web repository.