optimierung

This commit is contained in:
2024-07-18 10:19:24 +02:00
parent eae3d4bae1
commit b081c33748

14
main.py
View File

@@ -440,13 +440,6 @@ class ArduinoGUI:
self.csv_writer.writerow([formatted_time, formatted_angle, formatted_setpoint, formatted_torque, formatted_output])
except Exception as e:
print(e)
time.sleep(0.1)
def lsp_communication_loop(self):
while self.running:
if self.ser:
if self.ser.in_waiting:
try:
@@ -465,9 +458,16 @@ class ArduinoGUI:
try:
pass
self.connect_lsp()
except Exception as e:
print(e)
time.sleep(0.1)
def lsp_communication_loop(self):
while self.running:
pass
def send_pid_parameters(self):
if self.selected_pid in self.pid_params: