Files
go1_pro_sdk/tests/cpp/package_consumer/main.cpp
2026-07-30 15:25:48 +08:00

10 lines
240 B
C++

#include "unitree_legged_sdk/unitree_legged_sdk.h"
#include <string>
int main() {
UNITREE_LEGGED_SDK::LowCmd command{};
command.motorCmd[UNITREE_LEGGED_SDK::FR_0].q = 0.0f;
return UNITREE_LEGGED_SDK::VersionSDK().empty() ? 1 : 0;
}