You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TCP driver for existing static IP (i.e. SICK LIDAR)
"""
def__init__(self, config, bus):
super().__init__(config, bus)
try:
self.socket.connect(self.pair)
exceptsocket.timeoutase:
print('Timeout', self.pair)
raise
Actual hardware should be touched only later during the startup process in the module thread. In the future it will also help us in case we want to start in multiple processes.
The text was updated successfully, but these errors were encountered:
Having
connect
call in__init__
fails the main thread responsible for starting everything. Currently used here:osgar/osgar/drivers/logsocket.py
Lines 79 to 89 in d74f2ed
Actual hardware should be touched only later during the startup process in the module thread. In the future it will also help us in case we want to start in multiple processes.
The text was updated successfully, but these errors were encountered: