Unitree G1
Requirements
- Unitree G1 EDU (need SDK/SSH access)
- Laptop/Desktop with Ubuntu 22.04/24.04 with CUDA GPU (recommended), or macOS (experimental)
1. Get SSH Access
Get Ethernet Working
- Plug an Ethernet cable from the robot into your Laptop
- Open up your Laptop’s graphical network manager, manually set the IP addr of your system to
192.168.123.100 - Run wired ssh command:
Use Ethernet to get WiFi Working
After ssh-ing in, find additional IPs:888888888 or 00000000
Network Interface Names
Common interface names needed for SDK examples:eth0/enp2s0— Ethernetwlan0— WiFi
ip addr show
Remote Network
Recommended to setup tailscale to avoid needing to setup rounter specific configuraions for wireless control.2. Install DimOS
SSH into the robot, then:Notes
DimOS handles DDS setup automatically. If you’re using the Unitree SDK directly, set:3. Get the G1 in Sport Mode
WARNING: You need to have the G1 in a good physical position before running this. Get the hand-held controller for the G1. Note: this button combination may vary based on the model of the G1- If you have a gantry, hang the robot up where its feet are touching the floor, knees straight.
- Press L2 + B (no movement, color change)
- Press L2 + Up (should straighten out)
- Press R2 + A (will attempt to self-balance)
- If don’t have a gantry, there is a make-shift way to get it working. You should get a second person to help.
- Make the robot lie down flat on the ground
- Press L2 + B (no movement, color change)
- Press L2 + Up (should straighten out)
- The robot will be super stiff now. Manually pick it up into a standing position and hold it there.
- Press R2 + A (will attempt to self-balance)
4. Run the Blueprint
In the ssh terminalssh -L 3030:localhost:3030 unitree@192.168.123.164
skip
skip
Troubleshooting
Keyboard Controls Not Working
This usually means port3030 wasn’t forwarded. The 3030:localhost:3030 in the ssh command is what forwards the port. If you use VS Code with the SSH plugin, ports will be forwarded automatically. However sometimes the auto-forward will map 3030 to 3031 - thus breaking the connect command. Clear whatever is on port 3030 (on the G1 sid and the Laptop) then try again.
Viewer Crashing
If the viewer keeps crashing for you, there are two options for now:- On the G1 (ssh connection) change
vis_throttle=0.5(insidedimos/robot/unitree/g1/blueprints/navigation/unitree_g1_nav_onboard.py) to a lower number, like 0.3 or 0.2 - Get more RAM
