Compare commits

...

1 Commits

Author SHA1 Message Date
root
9e23df89a1 Implement new_safety_system 2021-09-06 23:54:52 +02:00
2 changed files with 4 additions and 4 deletions

View File

@ -28,7 +28,7 @@ class QtWrapper:
if lang == 'eng':
self.language = ET
self.log_info('Started english version of plugin NEW')
self.log_info('Started english version of plugin')
elif lang == 'pol':
self.language = PT
self.log_info('Polska wersja pluginu uruchomiona')

View File

@ -57,10 +57,10 @@ class ROSWrapper:
if self.periodic_timer != None:
self.shutdown_timer(self.periodic_timer)
self.periodic_timer = rospy.Timer(rospy.Duration(0.1),self.publish_periodic_update)
print("NEW")
if self.connection_timer != None:
self.shutdown_timer(self.connection_timer)
self.connection_timer = rospy.Timer(rospy.Duration(5),self.handle_robot_connection_lost)
self.connection_timer = rospy.Timer(rospy.Duration(1.5),self.handle_robot_connection_lost)
if self.master_connection_timer != None:
self.shutdown_timer(self.master_connection_timer)