diff --git a/teleop/utils/motion_switcher.py b/teleop/utils/motion_switcher.py index 3a4d6bf..81dde9a 100644 --- a/teleop/utils/motion_switcher.py +++ b/teleop/utils/motion_switcher.py @@ -33,6 +33,7 @@ class MotionSwitcher: class LocoClientWrapper: def __init__(self): + ChannelFactoryInitialize(0) self.client = LocoClient() self.client.SetTimeout(0.0001) self.client.Init() @@ -51,4 +52,4 @@ if __name__ == '__main__': time.sleep(5) status, result = ms.Exit_Debug_Mode() print("Exit debug mode:", status, result) - time.sleep(2) \ No newline at end of file + time.sleep(2)