Bazel build for the Unitree SDK 2 library that allows importing via bazel_dep.
Bindings only target the Unitree Go2 API.
This repository is a work in progress, will be broken, and most likely significantly change. I would not recommend relying on this repository.
However, I hope this will be useful for others also trying to develop low-level controllers for the Unitree Go2.
Add the following to your MODULE.bazel file:
bazel_dep(name = "unitree-bazel")
git_override(
module_name = "unitree-bazel",
remote = "https://github.com/jeh15/unitree-bazel.git",
commit = "6c386c85ea3b7b31a3350dd0e758c3de98aacfd3",
)Make sure to update the commit to the latest commit.
This module exports the Unitree SDK 2 library as the following target:
"@unitree-bazel//:unitree_sdk2"