DAQ: bug fixe in face_detection_centre_correction and removed superfluos code in fasce detection sequence

This commit is contained in:
2026-04-15 17:01:55 +02:00
parent 4069caa77a
commit c08377a308
+1 -2
View File
@@ -1370,7 +1370,7 @@ class AareDAQ:
if beam_y !=0 and abs(centre_y-beam_y)/abs(beam_y) > tolerance:
coord = geom.picture_to_smargon(Coordinate(x=beam_x, y=centre_y))
self.__devs.smargon = SmargonCoordinate(sh_mm=coord)
self.__devs.smargon_pos = SmargonCoordinate(sh_mm=coord)
self.__devs.smargon_wait(60)
return
@@ -1380,7 +1380,6 @@ class AareDAQ:
self.__devs.lamp_light = 2.5
self.__cfg.zoom_mode = ZoomModeEnum.LoopCenter
zoom_settings = self.__cfg.zoom_settings.z
zoom_value = self.__devs.zoom
logger.info('face detection sequence')