Unitree G1: The complete beginner's guide from zero



Official Unitree Robotics product imagery and demonstration.
This guide covers the robot’s hardware, purchasing process, initial setup, programming, simulation, reinforcement learning and deployment on a real robot.
You can begin learning and programming the G1 before purchasing one.
Part 1. Understanding the Unitree G1
1. What is the Unitree G1?
The Unitree G1 is a compact bipedal humanoid robot introduced on May 13, 2024, by Unitree Robotics in China.
It is a platform for developing and testing:
- Humanoid locomotion
- Whole-body control
- Reinforcement learning
- Object manipulation
- Computer vision
- Autonomous navigation
- Teleoperation
- Embodied AI
The G1 arrives as an assembled robot. You do not need to manufacture its motors, electronics or mechanical structure yourself.
2. Who is behind Unitree Robotics?

Wang Xingxing
Founder and CEO of Unitree Robotics
Company founded in August 2016
Headquarters in Hangzhou, China
Wang Xingxing studied robotics at Shanghai University, where he developed XDog, a quadruped robot powered by brushless electric motors.
His company subsequently expanded from quadruped robots to humanoids.
| Year | Robot |
|---|---|
| 2017 | Laikago |
| 2019 | Aliengo |
| 2020 | A1 |
| 2021 | Go1 |
| 2023 | Go2 and H1 |
| 2024 | G1 |
| 2025 | R1 and H2 |
Unitree became a publicly listed company on Shanghai’s STAR Market in 2026 under stock code 688836.
Source: Unitree company history
3. G1 technical specifications
| Component | Standard G1 | G1 EDU |
|---|---|---|
| Height | 132 cm | 132 cm |
| Weight | 35 kg | 35+ kg |
| Degrees of freedom | 23 | 23–43 |
| Leg joints | 6 per leg | 6 per leg |
| Knee torque | 90 Nm | 120 Nm |
| Arm payload | 2 kg | 3 kg |
| Processor | 8-core CPU | 8-core CPU |
| Additional AI computer | None listed | Optional Orin or other module |
| Camera | Depth camera | Depth camera |
| LiDAR | 3D | 3D |
| Joint encoders | Dual | Dual |
| Battery | 9 Ah | 9 Ah |
| Battery life | About 2 hours | About 2 hours |
| Charger | 54 V / 5 A | 54 V / 5 A |
| Wi-Fi | Wi-Fi 6 | Wi-Fi 6 |
| Bluetooth | 5.2 | 5.2 |
| Programmable | No official support | Yes |
| Warranty | 8 months | 18 months |
Source: Unitree technical specifications
4. Understanding the joints
The standard G1 has 23 degrees of freedom.
Each leg contains three hip axes, one knee axis and two ankle axes. These allow the robot to lift its legs, bend its knees, change direction and adjust its posture.
The EDU versions can add more waist and wrist movement as well as dexterous hands.
Part 2. Purchasing your first G1
5. Which version should a beginner buy?

Unitree G1 Standard
$13,500
For demonstrations, remote control and factory-provided movements.

Unitree G1 EDU
Price on request
For custom programming, reinforcement learning and robotics research.
I recommend the G1 EDU with 29 body degrees of freedom if your main objective is locomotion research. This configuration matches Unitree’s published RL Lab locomotion environment. Confirm the exact hardware and software compatibility before ordering.
6. Where to purchase it
- Official Unitree store
- Sales email: sales_global@unitree.cc
- Phone and WeChat: +86 176 2178 1139
As of November 2026, the official store displays the standard G1 as backordered. Contact Unitree for an actual delivery date.
7. Calculate your purchase budget
Standard G1 estimated purchase cost
This is an estimate for the standard edition. An EDU configuration requires a separate quotation.
Unitree lists transportation costs of $300 to $1,200. Taxes and customs clearance remain the buyer’s responsibility.
Before purchasing, request confirmation of the SDK access, joint configuration, computing module, hands, battery, spare parts, warranty and shipping to your country.
Source: Official Unitree store
8. Equipment you need

Computer
Ubuntu Linux, 32 GB RAM and an NVIDIA GPU are a sensible starting point for locomotion training. Check the specific simulator’s GPU requirements.

Network equipment
Ethernet cable and a compatible USB-C Ethernet adapter for connecting your computer to the robot.

Remote controller
Used to operate the robot and switch between supported movement modes.

Safety suspension system
Supports the robot during experimental locomotion tests and prevents uncontrolled falls.
Part 3. Learning the fundamentals
9. What programming skills do you need?
| Technology | What you use it for |
|---|---|
| Python | Robot commands and AI training |
| C++ | Performance-sensitive robot control |
| Linux | Development environment |
| NumPy | Numerical calculations |
| PyTorch | Neural network training |
| DDS | Communication with the robot |
| ROS 2 | Robotics software integration |
| URDF | Robot geometry and joint definitions |
| MuJoCo | Physics simulation |
| Isaac Lab | Reinforcement learning |
Start with Python and Linux. You do not need to master every technology before your first walking experiment.
10. How does the robot maintain its balance?
Walking requires the robot to move its body weight toward the supporting leg, lift the opposite foot and place it at the correct position.
Its IMU measures body orientation and angular motion. Joint encoders measure the positions of the mechanical joints. The controller uses these measurements to adjust movement.
A walking command passes through several control layers:
The controller repeats this process continuously.
Part 4. Getting started with the physical robot
11. Unboxing and initial setup
Before switching on your G1:
- Read the manual supplied with your exact configuration.
- Inspect the joints and mechanical structure for transport damage.
- Verify that the battery is charged.
- Prepare a flat test area without obstacles.
- Connect the approved safety suspension system.
- Pair the remote controller.
- Check the installed firmware.
- Follow Unitree’s calibration procedure if required.
Unitree provides separate calibration instructions for its 23-DoF and 29-DoF configurations.
Official G1 manuals, calibration videos and startup instructions.
12. Make the G1 walk without programming

The easiest method is to use the factory-installed locomotion controller.
After following the startup procedure and activating the appropriate motion mode, use the controller to move forward, backward and sideways or rotate.
You do not need to train an AI model for these movements.
13. Make the G1 run
Unitree’s 29-DoF remote-control documentation lists a running mode activated using R2 + A.
However, button combinations can vary between controller layouts and firmware versions. Confirm the combination in the manual supplied with your robot.
Unitree reported a jogging speed above 2 m/s, equivalent to more than 7.2 km/h. Start with slow movement and only test running in a controlled environment.
Source: Unitree World Robot Conference demonstration
Part 5. Programming the G1
14. Install the development environment
On an Ubuntu computer, open the terminal.
Install the necessary system tools:
sudo apt update
sudo apt install git python3-pip python3-venvCreate a project directory and Python environment:
mkdir g1-development
cd g1-development
python3 -m venv .venv
source .venv/bin/activateDownload the official Python SDK:
git clone https://github.com/unitreerobotics/unitree_sdk2_python.git
cd unitree_sdk2_python
pip install -e .The SDK depends on CycloneDDS, NumPy and OpenCV. If CycloneDDS fails to install, follow the dependency compilation instructions in the official repository.
Unitree Python SDK installation guide.
15. Connect your computer to the G1
Connect your computer to the robot through Ethernet.
In Ubuntu’s network settings, configure the Ethernet interface manually.
| Network setting | Example |
|---|---|
| IPv4 address | 192.168.123.99 |
| Subnet mask | 255.255.255.0 |
| Robot network | 192.168.123.0/24 |
Identify the network interface:
ip addrThe interface might be named eth0, enp3s0 or another name depending on your computer.
Use the configuration specified in your robot’s developer documentation.
16. Your first Python program
Start by reading the robot’s operating state without commanding movement.
from unitree_sdk2py.core.channel import ChannelFactoryInitialize
from unitree_sdk2py.g1.loco.g1_loco_client import LocoClient
ChannelFactoryInitialize(0, "enp3s0")
robot = LocoClient()
robot.SetTimeout(10.0)
robot.Init()
code, state = robot.GetFsmId()
print("Response:", code)
print("Robot state:", state)Replace enp3s0 with your actual Ethernet interface.
Save the file as read_state.py and execute it:
python read_state.py17. Program the robot to walk
Once the robot is safely standing in its supported factory locomotion mode, you can request movement through the SDK.
import time
from unitree_sdk2py.core.channel import ChannelFactoryInitialize
from unitree_sdk2py.g1.loco.g1_loco_client import LocoClient
ChannelFactoryInitialize(0, "enp3s0")
robot = LocoClient()
robot.SetTimeout(3.0)
robot.Init()
input("Confirm that the test area is clear: ")
try:
result = robot.SetVelocity(0.2, 0.0, 0.0, 1.0)
print("Command response:", result)
time.sleep(1)
finally:
robot.StopMove()This illustrative program requests forward movement at 0.2 m/s for one second and then sends a stop command.
The actual movement depends on the robot’s operating state, firmware and controller.
Understanding velocity commands
Locomotion command simulator
robot.Move(0.30, 0.00, 0.00)Educational simulation only. This interface is not connected to a physical robot.
The official SDK also includes functions for posture adjustment, turning, waving and handshakes.
Part 6. Simulating the robot for free
18. Install MuJoCo


You can experiment with a virtual G1 without purchasing the physical robot.
Download Unitree’s simulation and reinforcement learning repository:
git clone https://github.com/unitreerobotics/unitree_rl_gym.git
cd unitree_rl_gymInstall its required dependencies using the official installation guide.
After the environment is configured, launch the supplied G1 locomotion simulation:
python deploy/deploy_mujoco/deploy_mujoco.py g1.yamlThis example includes a pretrained locomotion policy.
The supplied configuration uses 12 leg-control actions, 47 observation values and a policy update frequency of 50 Hz.
Part 7. Training your own walking AI
19. What is reinforcement learning?
Reinforcement learning trains a controller through repeated interactions with a simulated environment.
The simulated robot receives rewards when it walks at the requested speed, remains upright and performs movements within the training objectives.
It receives penalties for undesirable behavior such as falling or excessive joint movement.
Over many training iterations, a neural network learns how to control the joints.

20. Install NVIDIA Isaac Lab
Use a dedicated Linux environment with a compatible NVIDIA GPU.
Download and install a version of Isaac Lab supported by the Unitree RL Lab repository.
Official NVIDIA Isaac Lab installation documentation
Avoid mixing incompatible versions of Python, PyTorch, Isaac Sim and Isaac Lab.
21. Install Unitree RL Lab
git clone https://github.com/unitreerobotics/unitree_rl_lab.git
cd unitree_rl_lab
conda activate env_isaaclab
./unitree_rl_lab.sh -iDownload the official robot descriptions:
git clone https://huggingface.co/datasets/unitreerobotics/unitree_modelConfigure the model directory in:
source/unitree_rl_lab/unitree_rl_lab/assets/robots/unitree.pyCheck the available training tasks:
./unitree_rl_lab.sh -l22. Train the robot to walk
Execute the official 29-DoF velocity-tracking task:
./unitree_rl_lab.sh -t \
--task Unitree-G1-29dof-VelocityThis launches reinforcement learning training.
To visualize the trained policy:
./unitree_rl_lab.sh -p \
--task Unitree-G1-29dof-VelocitySource: Unitree RL Lab
23. Train the robot to run
Training a running gait requires modifying the locomotion task.
The main parameters to study are:
| Parameter | Purpose |
|---|---|
| Target velocity | Requested movement speed |
| Step frequency | How often the feet alternate |
| Foot clearance | Height of the swinging foot |
| Joint velocity limits | Protects the joints |
| Torque limits | Respects motor capabilities |
| Body orientation | Maintains balance |
| Energy penalty | Limits excessive motor effort |
| Terrain friction | Trains for different ground surfaces |
The published G1 velocity environment currently has a forward training limit of 1 m/s. You would need to develop and validate a different configuration for faster running. Increasing the target velocity alone does not guarantee a stable running gait.
Part 8. Transferring your AI to the real robot
24. Understand Sim2Real
Sim2Real is the process of transferring a controller trained in simulation to a physical robot.
Before starting, verify:
- Correct joint ordering
- Motor torque and velocity limits
- Matching robot configuration
- IMU coordinate system
- Policy update frequency
- Joint position offsets
- Emergency stop and recovery procedures
25. Deploy a pretrained policy
The official RL Gym repository provides a physical deployment program for the G1.
For a supported robot and properly configured environment, the documented command is:
python deploy/deploy_real/deploy_real.py enp3s0 g1.yamlThis requires the robot to be placed in its appropriate debugging mode.
Follow the official physical deployment procedure with a safety suspension system and an experienced operator.
Unitree warns that this example is intended for demonstrations and is not a fully stable production controller. Exiting a custom control mode can also cause the robot to fall.
Part 9. Official resources
| Resource | Link |
|---|---|
| G1 specifications | Product page |
| Purchase | Official shop |
| User manuals | G1 documentation |
| Developer documentation | Unitree Developer Center |
| Python SDK | GitHub |
| C++ SDK | GitHub |
| ROS 2 | GitHub |
| Robot models | Hugging Face |
| MuJoCo simulation | GitHub |
| RL Gym | GitHub |
| RL Lab | GitHub |
| Teleoperation | GitHub |
Robot imagery and demonstration footage: Unitree Robotics. G1 EDU image: ROBOTio. Founder portrait: Global Tourism Economy Forum. Equipment photos: NVIDIA, Cable Matters and MCM Robotics. Technical illustrations are simplified diagrams.
How to install the software mentioned on this page
Choose only the tools required for your project. The commands below describe development and simulation setup, not proof of compatibility with a specific physical robot. Match the versions in the original project and test offline before connecting hardware.
Python Windows, macOS, Linux
Install the Python release required by your robot or library. On Windows use the official installer; on Ubuntu use the distribution package. Create a separate virtual environment for each project.
Installation / setup commands
python -m venv .venv
# Windows PowerShell:
.\.venv\Scripts\Activate.ps1
# Linux or macOS:
source .venv/bin/activateVerify the installation
python --version
python -m pip --version
Official instructions: https://www.python.org/downloads/
Git Windows, macOS, Linux
Install Git from the official download page or your package manager. On Ubuntu the commands below install the command-line client; on Windows run Git for Windows.
Installation / setup commands
sudo apt update
sudo apt install gitVerify the installation
git --version
Official instructions: https://git-scm.com/downloads
MuJoCo Windows, macOS, Linux
Create a Python virtual environment and install the official Python package. On macOS use mjpython for the interactive viewer when required.
Installation / setup commands
python -m pip install mujocoVerify the installation
python -c "import mujoco; print(mujoco.__version__)"
Official instructions: https://mujoco.readthedocs.io/en/stable/python.html
NVIDIA Isaac Sim Supported Windows/Linux workstation with compatible NVIDIA GPU
Check NVIDIA's GPU, driver, OS and Python compatibility matrix. This is a documented example for Isaac Sim 5.1.0 in a Python 3.11 virtual environment; use the release required by your project and accept the applicable license when prompted. Do not mix incompatible releases.
Installation / setup commands
python -m pip install --upgrade pip
python -m pip install "isaacsim[all,extscache]==5.1.0" --extra-index-url https://pypi.nvidia.comVerify the installation
python -m pip show isaacsim
isaacsim
Official instructions: https://docs.isaacsim.omniverse.nvidia.com/5.1.0/installation/install_python.html
NVIDIA Isaac Lab Supported Linux or Windows configuration
The following is a version-pinned example for Isaac Lab 2.3.1 with Python 3.11. Check the matching Isaac Sim release, supported GPU and operating system. Install the compatible PyTorch build for your computer using the same version's documentation. For other releases, follow their own installation guide.
Installation / setup commands
python -m pip install --upgrade pip
python -m pip install "isaaclab[isaacsim,all]==2.3.1" --extra-index-url https://pypi.nvidia.comVerify the installation
isaacsim
Official instructions: https://isaac-sim.github.io/IsaacLab/v2.3.1/source/setup/installation/isaaclab_pip_installation.html
ROS 2 (Jazzy example) Ubuntu 24.04 for Jazzy; other distributions have different instructions
On Ubuntu 24.04 first configure the official ROS apt repository using the documented ros2-apt-source procedure. Then install Jazzy desktop. Use the distribution required by your robot; for example Humble normally uses Ubuntu 22.04.
Installation / setup commands
sudo apt update
sudo apt install ros-jazzy-desktop
source /opt/ros/jazzy/setup.bashVerify the installation
ros2 --help
Official instructions: https://docs.ros.org/en/jazzy/Installation/Ubuntu-Install-Debs.html
PyTorch Windows, Linux, macOS with supported Python
Use the official installation selector for your OS, CPU or CUDA/ROCm version. Run the exact command it produces inside the project's environment. Do not assume that a CPU wheel has GPU support.
Verify the installation
python -c "import torch; print(torch.__version__, torch.cuda.is_available())"
Official instructions: https://pytorch.org/get-started/locally/
OpenCV Python environment on a supported OS
Use the Python version supported by the project.
Installation / setup commands
python -m pip install opencv-pythonVerify the installation
python -c "import cv2; print('Import OK')"
Official instructions: https://docs.opencv.org/4.x/d5/de5/tutorial_py_setup_in_windows.html
Unitree SDK2 / Python SDK Manufacturer-supported Unitree model, Linux development computer
For the Python interface use Unitree's official repository, select the revision compatible with the robot and install its documented DDS prerequisites. C++ users should follow the SDK2 CMake build from the manufacturer. Installation does not grant hardware control permission; test imports offline first.
Installation / setup commands
git clone https://github.com/unitreerobotics/unitree_sdk2_python.git
cd unitree_sdk2_python
python -m pip install -e .Verify the installation
python -c "import unitree_sdk2py; print('SDK import OK')"
Official instructions: https://github.com/unitreerobotics/unitree_sdk2_python
Unitree RL Lab Linux and compatible Isaac Lab environment
Select matching Isaac Lab and Unitree repository revisions. Install Isaac Lab first, clone the RL Lab repository and follow its README for the editable project package and sample training tasks. Use simulation only until the model has been reviewed.
Installation / setup commands
git clone https://github.com/unitreerobotics/unitree_rl_lab.gitVerify the installation
Run the repository's documented simulation task.
Official instructions: https://github.com/unitreerobotics/unitree_rl_lab
Conda / Miniforge Windows, macOS, Linux
Download the installer for your OS and architecture, run it, then open the appropriate terminal. Create an environment using the Python version required by your project.
Installation / setup commands
conda create -n robotics python=3.11
conda activate roboticsVerify the installation
conda info --envs
Official instructions: https://github.com/conda-forge/miniforge
NumPy Python environment on a supported OS
Use the Python version supported by the project.
Installation / setup commands
python -m pip install numpyVerify the installation
python -c "import numpy; print('Import OK')"
Official instructions: https://numpy.org/install/
Eclipse Cyclone DDS Supported Linux / ROS 2
Choose the release required by the SDK or ROS distribution. ROS 2 Jazzy users can install the matching middleware package; standalone SDK users should follow the official build procedure.
Installation / setup commands
sudo apt install ros-jazzy-rmw-cyclonedds-cppVerify the installation
ros2 pkg list | grep cyclonedds
Official instructions: https://github.com/eclipse-cyclonedds/cyclonedds
Ubuntu PC / virtual machine
Choose the Ubuntu release supported by your robot SDK, ROS or simulator. Download the official ISO or use a supported virtual machine. Back up the computer before installing or changing partitions.
Verify the installation
lsb_release -a
Official instructions: https://ubuntu.com/download/desktop
C++ toolchain Windows, macOS, Linux
On Ubuntu install the compiler and build tools; on Windows install the C++ workload for Visual Studio Build Tools or the toolchain required by the SDK. On macOS use the required Xcode Command Line Tools.
Installation / setup commands
sudo apt update
sudo apt install build-essentialVerify the installation
g++ --version
Official instructions: https://gcc.gnu.org/