机器狗+机械臂
cmake | 5 months ago | ||
example | 5 months ago | ||
include/ unitree | 5 months ago | ||
lib | 5 months ago | ||
licenses | 5 months ago | ||
thirdparty | 5 months ago | ||
.gitignore | 5 months ago | ||
CMakeLists.txt | 5 months ago | ||
LICENSE | 5 months ago | ||
README.md | 5 months ago |
Unitree robot sdk version 2.
To build the examples inside this repository:
mkdir build cd build cmake .. make
To build your own application with the SDK, you can install the unitree_sdk2 to your system directory:
mkdir build cd build cmake .. sudo make install
Or install unitree_sdk2 to a specified directory:
mkdir build cd build cmake .. -DCMAKE_INSTALL_PREFIX=/opt/unitree_robotics sudo make install
You can refer to example/cmake_sample
on how to import the unitree_sdk2 into your CMake project.
Note that if you install the library to other places other than /opt/unitree_robotics
, you need to make sure the path is added to "${CMAKE_PREFIX_PATH}" so that cmake can find it with "find_package()".
For more reference information, please go to Unitree Document Center.