mirror of
https://github.com/Project-Babble/ProjectBabble.git
synced 2026-11-24 02:51:16 -08:00
Fix: Debug/Toggle prints
This commit is contained in:
1 parent
16edfe4d8f
commit
8d74782078
3 files changed
+5
-5
No files matched your search
@@ -186,7 +186,7 @@ class CalibSettingsWidget:
|
||||
window[element2].update(float(self.array[count1][count2]))
|
||||
#values[element2] = float(self.array[count1][count2])
|
||||
self.refreshed = True
|
||||
print('DEBUG: Refreshed')
|
||||
#print('DEBUG: Refreshed')
|
||||
|
||||
if self.config.calibration_mode != str(values[self.gui_calibration_mode]):
|
||||
self.config.calibration_mode = str(values[self.gui_calibration_mode])
|
||||
|
||||
@@ -304,15 +304,15 @@ class CameraWidget:
|
||||
window[self.gui_tracking_layout].update(visible=False)
|
||||
|
||||
if event == self.use_calibration:
|
||||
print("toggle event")
|
||||
#print("toggle event")
|
||||
if self.settings_config.use_calibration == True:
|
||||
window[self.gui_restart_calibration].update(disabled = False)
|
||||
window[self.gui_stop_calibration].update(disabled = False)
|
||||
print("Enabled")
|
||||
#print("Enabled")
|
||||
else:
|
||||
window[self.gui_restart_calibration].update(disabled = True)
|
||||
window[self.gui_stop_calibration].update(disabled = True)
|
||||
print("Disabled")
|
||||
#print("Disabled")
|
||||
|
||||
if event == "{}+UP".format(self.gui_roi_selection):
|
||||
# Event for mouse button up in ROI mode
|
||||
|
||||
@@ -104,7 +104,7 @@ def list_camera_names():
|
||||
return ["Unsupported operating system"]
|
||||
|
||||
def list_serial_ports():
|
||||
print("DEBUG: Listed Serial Ports")
|
||||
#print("DEBUG: Listed Serial Ports")
|
||||
""" Lists serial port names
|
||||
|
||||
:raises EnvironmentError:
|
||||
|
||||
Reference in new issue
Block a user