MCPcopy Create free account
hub / github.com/TeleHuman/TextOp / main

Function main

TextOpDeploy/src/unitree_mujoco/example/cpp/stand_go2.cpp:161–182  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

159}
160
161int main(int argc, const char **argv)
162{
163 if (argc < 2)
164 {
165 ChannelFactory::Instance()->Init(1, "lo");
166 }
167 else
168 {
169 ChannelFactory::Instance()->Init(0, argv[1]);
170 }
171 std::cout << "Press enter to start";
172 std::cin.get();
173 Custom custom;
174 custom.Init();
175
176 while (1)
177 {
178 sleep(10);
179 }
180
181 return 0;
182}

Callers

nothing calls this directly

Calls 1

InitMethod · 0.80

Tested by

no test coverage detected