Legged SDK

This guide is intended to help users get started using the Go1 EDU using the Unitree Legged SDK.

Note

This guide is written with v3.8.0 as the latest release for the Go1.

Dependencies

The following Dependencies are required if using a remote PC to work with the robot.

Dependency Minimum Version
Boost >=1.5.4
CMake >=2.8.3
g++ >=8.3.0
$ sudo apt-get install libboost-all-dev cmake g++

Workspace Setup

  1. Clone the repository at the v3.8.0 tag.

    $ git clone -b v3.8.0 https://github.com/unitreerobotics/unitree_legged_sdk.git
    
  2. Build the SDK.

    $ cd unitree_legged_sdk
    $ mkdir build
    $ cd build
    $ cmake ..
    $ make
    

Running an Example

Note

Run examples with ‘sudo’ for memory locking.

The following steps demonstrate basic usage of the Unitree Legged SDK using high-level control.

Attention

During this demo, the robot will walk around. Make sure nothing is in the robot’s way.

$ cd unitree_legged_sdk/build
$ ./example_walk