Browse Source
Merge pull request #190 from leeyunjai82/main
Initialize ChannelFactory in LocoClientWrapper
main
silencht
4 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
1 deletions
-
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() |
|
|
|