TECHNIAHQROBOT / INDEPENDENT ROBOTICS REPORTINGENGLISH EDITION / 20 November 2026
Robots / UNITREE

Unitree G1: The complete beginner's guide from zero

Unitree G1 manufacturer product viewUnitree G1 official side viewUnitree G1 real walking demonstration

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

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.

YearRobot
2017Laikago
2019Aliengo
2020A1
2021Go1
2023Go2 and H1
2024G1
2025R1 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

ComponentStandard G1G1 EDU
Height132 cm132 cm
Weight35 kg35+ kg
Degrees of freedom2323–43
Leg joints6 per leg6 per leg
Knee torque90 Nm120 Nm
Arm payload2 kg3 kg
Processor8-core CPU8-core CPU
Additional AI computerNone listedOptional Orin or other module
CameraDepth cameraDepth camera
LiDAR3D3D
Joint encodersDualDual
Battery9 Ah9 Ah
Battery lifeAbout 2 hoursAbout 2 hours
Charger54 V / 5 A54 V / 5 A
Wi-FiWi-Fi 6Wi-Fi 6
Bluetooth5.25.2
ProgrammableNo official supportYes
Warranty8 months18 months

Source: Unitree technical specifications

4. Understanding the joints

The standard G1 has 23 degrees of freedom.

Left arm5 DoFRight arm5 DoFWaist1 DoFLeft leg6 DoFRight leg6 DoF23 degrees of freedom
Simplified joint layout of the standard G1 (23 DoF).

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 official product image

Unitree G1 Standard

$13,500

For demonstrations, remote control and factory-provided movements.

Unitree G1 EDU product photograph

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

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

$14,250
Robot base price$13,500
$750
$300$1,200

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

NVIDIA RTX workstation

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.

USB-C Ethernet adapter and cable

Network equipment

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

Unitree G1 remote controller

Remote controller

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

Unitree G1 training safety suspension system

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?

TechnologyWhat you use it for
PythonRobot commands and AI training
C++Performance-sensitive robot control
LinuxDevelopment environment
NumPyNumerical calculations
PyTorchNeural network training
DDSCommunication with the robot
ROS 2Robotics software integration
URDFRobot geometry and joint definitions
MuJoCoPhysics simulation
Isaac LabReinforcement 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?

Weight transferSwing phaseFoot placement
Simplified illustration of the walking cycle.

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:

Desired walking velocityIMU and joint measurementsLocomotion policyJoint position targetsMotor controllerPhysical movement
Locomotion control loop

The controller repeats this process continuously.

Part 4. Getting started with the physical robot

11. Unboxing and initial setup

Before switching on your G1:

  1. Read the manual supplied with your exact configuration.
  2. Inspect the joints and mechanical structure for transport damage.
  3. Verify that the battery is charged.
  4. Prepare a flat test area without obstacles.
  5. Connect the approved safety suspension system.
  6. Pair the remote controller.
  7. Check the installed firmware.
  8. 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

Unitree G1 walking outdoors
Image: Unitree Robotics

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:

bash
sudo apt update
sudo apt install git python3-pip python3-venv

Create a project directory and Python environment:

bash
mkdir g1-development
cd g1-development

python3 -m venv .venv
source .venv/bin/activate

Download the official Python SDK:

bash
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 settingExample
IPv4 address192.168.123.99
Subnet mask255.255.255.0
Robot network192.168.123.0/24

Identify the network interface:

bash
ip addr

The 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.

python
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:

bash
python read_state.py

17. Program the robot to walk

Once the robot is safely standing in its supported factory locomotion mode, you can request movement through the SDK.

python
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

ForwardBackward
0.30 m/s
0.00 m/s
0.00 rad/s
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:

bash
git clone https://github.com/unitreerobotics/unitree_rl_gym.git

cd unitree_rl_gym

Install its required dependencies using the official installation guide.

After the environment is configured, launch the supplied G1 locomotion simulation:

bash
python deploy/deploy_mujoco/deploy_mujoco.py g1.yaml

This 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.

Unitree G1 reinforcement learning in Isaac Lab
Image: Unitree Robotics

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

bash
git clone https://github.com/unitreerobotics/unitree_rl_lab.git

cd unitree_rl_lab

conda activate env_isaaclab

./unitree_rl_lab.sh -i

Download the official robot descriptions:

bash
git clone https://huggingface.co/datasets/unitreerobotics/unitree_model

Configure the model directory in:

text
source/unitree_rl_lab/unitree_rl_lab/assets/robots/unitree.py

Check the available training tasks:

bash
./unitree_rl_lab.sh -l

22. Train the robot to walk

Execute the official 29-DoF velocity-tracking task:

bash
./unitree_rl_lab.sh -t \
  --task Unitree-G1-29dof-Velocity

This launches reinforcement learning training.

To visualize the trained policy:

bash
./unitree_rl_lab.sh -p \
  --task Unitree-G1-29dof-Velocity

Source: Unitree RL Lab

23. Train the robot to run

Training a running gait requires modifying the locomotion task.

The main parameters to study are:

ParameterPurpose
Target velocityRequested movement speed
Step frequencyHow often the feet alternate
Foot clearanceHeight of the swinging foot
Joint velocity limitsProtects the joints
Torque limitsRespects motor capabilities
Body orientationMaintains balance
Energy penaltyLimits excessive motor effort
Terrain frictionTrains 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

YesNoTrain in Isaac LabEvaluate trained policyTest in MuJoCoStable movement?Supported hardware testingControlled locomotion tests
Sim2Real validation workflow

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:

bash
python deploy/deploy_real/deploy_real.py enp3s0 g1.yaml

This 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

ResourceLink
G1 specificationsProduct page
PurchaseOfficial shop
User manualsG1 documentation
Developer documentationUnitree Developer Center
Python SDKGitHub
C++ SDKGitHub
ROS 2GitHub
Robot modelsHugging Face
MuJoCo simulationGitHub
RL GymGitHub
RL LabGitHub
TeleoperationGitHub

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/activate

Verify 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 git

Verify 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 mujoco

Verify 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.com

Verify 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.com

Verify 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.bash

Verify 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-python

Verify 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.git

Verify 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 robotics

Verify 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 numpy

Verify 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-cpp

Verify 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-essential

Verify the installation

g++ --version

Official instructions: https://gcc.gnu.org/