初始化项目,包含fast_lio_ws和unitree_sdk2
This commit is contained in:
14
unitree_sdk2/example/h1/low_level/humanoid.cpp
Normal file
14
unitree_sdk2/example/h1/low_level/humanoid.cpp
Normal file
@@ -0,0 +1,14 @@
|
||||
#include "humanoid.hpp"
|
||||
|
||||
int main(int argc, char const *argv[]) {
|
||||
if (argc < 2) {
|
||||
std::cout << "Usage: " << argv[0] << " networkInterface" << std::endl;
|
||||
exit(-1);
|
||||
}
|
||||
|
||||
HumanoidExample example(argv[1]);
|
||||
while (1) {
|
||||
sleep(10);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user