Releasing and handling connection loss works in user plugin
This commit is contained in:
parent
ade1e31758
commit
c925f4e093
@ -205,6 +205,9 @@ class QtWrapper:
|
|||||||
# self.widget.logsBrowser.append(str(self.logger_counter) + '\t[ERROR]\t' + error_text)
|
# self.widget.logsBrowser.append(str(self.logger_counter) + '\t[ERROR]\t' + error_text)
|
||||||
|
|
||||||
def connection_to_robot_lost(self,lost_robot_id):
|
def connection_to_robot_lost(self,lost_robot_id):
|
||||||
|
self.clear_robot_info()
|
||||||
|
self.disconnect_signals()
|
||||||
|
self.connect_signals()
|
||||||
self.log_info('Utrata polaczenia z robotem PIONIER' + str(lost_robot_id))
|
self.log_info('Utrata polaczenia z robotem PIONIER' + str(lost_robot_id))
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user