Sayantani-Bhattacharya/unitree_go2_nav
Navigation and SLAM package for Unitree GO2 using custom high level control over Unitree ROS2 SDK.
Featured achievements
The project's latest awards
#1 Repository of the month
#1 Repository of the month
#1 Repository of the month
ROS2 Navigation for Unitree GO2.
Author: Sayantani Bhattacharya
This is a standalone package, that has code and launch files for manual navigation operation on Unitree GO2.
Using:
- Unitree Go2 in high level mode wrapper over Unitree's SDK
- ROS2 Jazzy
- RTAB-Map
- Nav2 stack.
Features:
Package Name: unitree_go2_nav
- Transform publishers.
- Robot State publishers.
- Rtabmap pkgs generating odom tf and occupancy grid using GO2's 4d Lidar.
- Rviz visulaizations with modified URDF.
- Nav-to-pose to enable high level control with the GO2's APIs.
- Nav2 based manual goal subscription.
Setup
-
mkdir src && cd src git clone git@github.com:Sayantani-Bhattacharya/unitree_go2_nav.git cd unitree_go2_nav -
Pull the Unitree SDK Wrapper submodule.
cd unitree_ros2 git clone git@github.com:Sayantani-Bhattacharya/unitree_ros2.git -
Follow the setup and build instructions mentioned in the unitree_ros2 package ReadMe. This will get you connected to the real Robot.
-
cd ../ source /opt/ros/jazzy/setup.bash colcon build source install/setup.bash
Directions:
-
Complete the above setup.
-
Verfiy that unitree topics are visible in your current workspace.
ros2 topic list -
For mapping:
ros2 launch unitree_go2_nav mapping.launch.pyFor the map to be generated initally, the robot needs to move a bit.
-
For navigation and mapping:
Terminal 1:ros2 launch unitree_go2_nav navigation.launch.pyTerminal 2:
cd unitree_ros source /opt/ros/jazzy/setup.bash source install/setup.bash ./install/unitree_ros2_example/bin/high_level_ctrlThis will start Rviz, where you can use the 2D goal pose UI button to give GO2 commands. Or, you can publish ros2 topic as well.
Known issues, that I am currently working on:
- Modifing the URDF joint states to make it similar to the real robot.
For developing autonomy packages with this as a base package:
Add this to your repository as a submodule
git submodule add git@github.com:Sayantani-Bhattacharya/unitree_go2_nav.git
git submodule update --init --recursive
git commit -m "Added submodule unitree_go2_nav"
git push origin main
For reference: https://github.com/Sayantani-Bhattacharya/Multi-Hetero-Agent-Exploration-on-UnitreeGOs/tree/go2_auto_nav
Similar Projects
Discover other similar projects and AI models.
A convex MPC locomotion controller implemented in MuJoCo with Unitree Go2 quadruped
The Unitree Go2 MCP Server is a server built on the MCP that enables users to control the Unitree Go2 robot using natural language commands interpreted by a LLM.
Reverse engineer anything with agents, from app behavior down to native binaries.
RocketRide is an open source AI meta-harness with the only enterprise-grade runtime built on C++. Build, test and publish durable agents that scale in production.
ROSA 🤖 is an AI Agent designed to interact with ROS1- and ROS2-based robotics systems using natural language queries. ROSA helps robot developers inspect, diagnose, understand, and operate robots.