Browse Source

Initialize ChannelFactory in LocoClientWrapper

using --input-mode=controller, error
main
Yunjai, Lee 4 months ago
committed by GitHub
parent
commit
7de130e555
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
  1. 1
      teleop/utils/motion_switcher.py

1
teleop/utils/motion_switcher.py

@ -33,6 +33,7 @@ class MotionSwitcher:
class LocoClientWrapper: class LocoClientWrapper:
def __init__(self): def __init__(self):
ChannelFactoryInitialize(0)
self.client = LocoClient() self.client = LocoClient()
self.client.SetTimeout(0.0001) self.client.SetTimeout(0.0001)
self.client.Init() self.client.Init()

Loading…
Cancel
Save