The unitree_legged_sdk is mainly used for communication between PC and Controller board. It also can be used in other PCs with UDP.
support robot: Go1
not support robot: Laikago, B1, Aliengo, A1. (Check release v3.3.1 for support)
Legged_sport >= v1.36.0
firmware H0.1.7 >= v0.1.35
H0.1.9 >= v0.1.35
mkdir build
cd build
cmake ..
make
If you want to build the python wrapper, then replace the cmake line with:
cmake -DPYTHON_BUILD=TRUE ..
If can not find pybind11 headers, then add
include_directories(${CMAKE_CURRENT_SOURCE_DIR}/third-party/pybind11/include)
at line 14 in python_wrapper/CMakeLists.txt.
If can not find msgpack.hpp, then
sudo apt install libmsgpack*
Run examples with 'sudo' for memory locking.
change sys.path.append('../lib/python/amd64')
to sys.path.append('../lib/python/arm64')