![]() |
go2_ros2_sdk repositoryros ros2 go2 unitree unitree-go2 coco_detector go2_interfaces go2_robot_sdk unitree_go |
Repository Summary
Description | Unofficial ROS2 SDK support for Unitree GO2 AIR/PRO/EDU |
Checkout URI | https://github.com/abizovnuralem/go2_ros2_sdk.git |
VCS Type | git |
VCS Version | master |
Last Updated | 2025-07-30 |
Dev Status | UNKNOWN |
Released | UNRELEASED |
Tags | ros ros2 go2 unitree unitree-go2 |
Contributing |
Help Wanted (-)
Good First Issues (-) Pull Requests to Review (-) |
Packages
Name | Version |
---|---|
coco_detector | 0.0.0 |
go2_interfaces | 0.0.0 |
go2_robot_sdk | 0.0.0 |
unitree_go | 0.0.0 |
README
Welcome to the Unitree Go2 ROS2 SDK Project!
We are happy to present you our integration of the Unitree Go2 with ROS2 over Wi-Fi, that was designed by the talented @tfoldi. You can explore his groundbreaking work at go2-webrtc.
This repo will empower your Unitree GO2 AIR/PRO/EDU robots with ROS2 capabilities, using both WebRTC (Wi-Fi) and CycloneDDS (Ethernet) protocols.
If you are using WebRTC (Wi-Fi) protocol, close the connection with a mobile app before connecting to the robot.
Project RoadMap:
- URDF :white_check_mark:
- Joint states sync in real time :white_check_mark:
- IMU sync in real time :white_check_mark:
- Joystick control in real time :white_check_mark:
- Go2 topics info in real time :white_check_mark:
- Foot force sensors info in real time :white_check_mark:
- Lidar stream (added pointCloud2) :white_check_mark:
- Camera stream :white_check_mark:
- Foxglove bridge :white_check_mark:
- Laser Scan :white_check_mark:
- Multi robot support :white_check_mark:
- WebRTC and CycloneDDS support :white_check_mark:
- Creating a PointCloud map and store it :white_check_mark:
- SLAM (slam_toolbox) :white_check_mark:
- Navigation (nav2) :white_check_mark:
- Object detection (coco) :white_check_mark:
- AutoPilot
Your feedback and support mean the world to us.
If you’re as enthusiastic about this project as we are, please consider giving it a :star: star!!!
Your encouragement fuels our passion and helps us develop our RoadMap further. We welcome any help or suggestions you can offer!
Together, let’s push the boundaries of what’s possible with the Unitree Go2 and ROS2!
Exciting Features:
:sparkles: Full ROS2 SDK support for your Unitree GO2
:robot: Compatible with AIR, PRO, and EDU variants
:footprints: Access to foot force sensors feedback (available on some GO2 PRO models or EDU)
Real time Go2 Air/PRO/EDU joints sync:
Go2 Air/PRO/EDU lidar point cloud:
System requirements
Tested systems and ROS2 distro
|systems|ROS2 distro|Build status
|–|–|–|
|Ubuntu 22.04|iron|
|Ubuntu 22.04|humble|
|Ubuntu 22.04|rolling|
Installation
mkdir -p ros2_ws
cd ros2_ws
git clone --recurse-submodules https://github.com/abizovnuralem/go2_ros2_sdk.git src
sudo apt install ros-$ROS_DISTRO-image-tools
sudo apt install ros-$ROS_DISTRO-vision-msgs
sudo apt install python3-pip clang portaudio19-dev
cd src
pip install -r requirements.txt
cd ..
Pay attention to any error messages. If pip install
does not complete cleanly, various features will not work. For example, open3d
does not yet support python3.12
and therefore you will need to set up a 3.11 venv
first etc.
Build go2_ros_sdk
. You need to have ros2
and rosdep
installed. If you do not, follow these instructions. Then:
source /opt/ros/$ROS_DISTRO/setup.bash
rosdep install --from-paths src --ignore-src -r -y
colcon build
File truncated at 100 lines see the full file