fixes, DAMARIS3 runs now on Debian 13 trixie

This commit is contained in:
2026-01-22 08:38:16 +01:00
parent adbcad0c8d
commit 43fac17d75
4 changed files with 23 additions and 12 deletions
+1 -1
View File
@@ -56,7 +56,7 @@ class goniometer:
def _recv(self):
retstr = self.serial.readline().strip().replace("\x00","")
search_result = re.search("<(\d+)>", retstr)
search_result = re.search(r"<(\d+)>", retstr)
if search_result != None:
angle = float(search_result.group(1))/36.0
self.current_angle = angle