File tree Expand file tree Collapse file tree
common/gui_interfaces/gui_interfaces/general Expand file tree Collapse file tree Original file line number Diff line number Diff line change 11from datetime import datetime
22import json
33import subprocess
4- import rclpy
54import threading
65import time
76import websocket
1312
1413sys .path .insert (0 , "/RoboticsApplicationManager" )
1514
16- from robotics_application_manager import LogManager
15+ from robotics_application_manager import LogManager # noqa: E402
1716
1817
1918class MeasuringThreadingGUI :
@@ -56,11 +55,13 @@ def start(self):
5655 threading .Thread (target = self .run_websocket , daemon = True ).start ()
5756
5857 # Initialize and start the RTF thread
59- self .rtf_thread = threading .Thread (target = self .get_real_time_factor ).start ()
58+ threading .Thread (
59+ target = self .get_real_time_factor , name = "rtf_thread" , daemon = True
60+ ).start ()
6061
6162 # Initialize and start the Frequency thread
62- self . frequency_thread = threading .Thread (
63- target = self .measure_and_send_frequency
63+ threading .Thread (
64+ target = self .measure_and_send_frequency , name = "frequency_thread" , daemon = True
6465 ).start ()
6566
6667 # Initialize and start the image sending thread (GUI out thread)
You can’t perform that action at this time.
0 commit comments