10 lines
240 B
C++
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;
|
|
}
|