Skip to content
Soft-RDI
ES
All prototypes
Robotics Proof of concept

Go2 Sim

Unitree Go2 quadruped simulated with ROS 2

A four-legged robot dog that walks in a physics simulator and senses its surroundings with LiDAR and cameras, ready to test navigation without risking the real robot.

Key result

The Go2 walks in Gazebo with a 3D LiDAR, an L1 LiDAR, a depth camera, an IMU and GPS, all inside a reproducible Docker environment

The Go2 in RViz, with the LiDAR sweep over an obstacle
The Go2 in RViz, with the LiDAR sweep over an obstacle

The problem

Quadruped robots are expensive and delicate. Testing a navigation algorithm or a gait change on them without going through simulation first is risky and slow.

The solution

A complete simulation environment for the Unitree Go2 quadruped with ROS 2 Jazzy and Gazebo Harmonic, packaged in Docker so that it starts the same way on any machine:

  • Gait driven by the CHAMP controller on top of ros2_control, with adjustable step parameters.
  • Simulated sensors: Velodyne VLP-16 3D LiDAR, Unitree L1 LiDAR, RealSense D455 depth camera, camera, IMU and GPS.
  • Teleoperation through velocity commands (/cmd_vel) and RViz visualisation of what the robot perceives.
  • A light mode, without cameras or 3D LiDAR, for less powerful machines.

Why it matters

It is the groundwork for legged mapping, localisation and autonomous navigation, which can then be moved to the real robot with the same ROS 2 software.

Status

Proof of concept in simulation.

Credits

Builds on the open-source project unitree_go2_ros2 (anujjain-dev, with the ROS 2 Jazzy port by khaledgabr77) and on the CHAMP controller. The Go2 is a Unitree Robotics robot. The Docker environment, the integration and the tuning are original work.

Videos

The Go2 walking among obstacles, seen in RViz 32 s · 5.7 MB

Images

  • LiDAR point cloud around the robot