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: Aliengo, A1(sport_mode >= v1.19)
not support robot: Laikago, Go1.
cd lcm-x.x.x
mkdir build
cd build
cmake ../
make
sudo make install
mkdir build
cd build
cmake ../
make
-
Cpp
Run examples with 'sudo' for memory locking.
-
Python
To run the robot with Python scripts, open scripts/Unitree_Python_sdk.py, then edit the path to "build" folder.
After that, running Robot_Python.py. Right now, the provided Python scripts are only for A1 robot. To use other type robots, edit the "LeggedType" in src/python_interface_high_cmd.cpp, and recompile the project.