add app_utils for motion_assert, contextMenu og GraphItem, further fixes

This commit is contained in:
2022-09-21 11:06:10 +02:00
parent 158150a954
commit 1393269ceb
11 changed files with 177 additions and 144 deletions

View File

@@ -325,6 +325,12 @@ avoid constand RBV event:
caput SAR-ESPMX:MOT_FX 0.001
caput SAR-ESPMX:MOT_FY 0.001
---------- TODO ----------
caput SAR-ESPMX:MOT_FX.VELO 16
caput SAR-ESPMX:MOT_FY.VELO 16
-faster autofocus:
- move at constant speed and acquire as fast as possible instead stop and go motion
@@ -335,8 +341,18 @@ caput SAR-ESPMX:MOT_FY 0.001
- automation: towards automatic alignement
if idx==0:
#go=UsrGO.Fiducial(bm_pos+bm_sz/2-(20, 20), (40, 40),(fx,fy,bz))
l=.120
go=UsrGO.Fiducial((fx-l/2,fy-l/2), (l, l),bz)
go.sigRegionChangeFinished.connect(self.cb_fiducial_update_z)
grp=self._goTracked
grp.addItem(go)
mft._tree.setData(grp.childItems())
="geometry/find_fiducial"
GEO_FND_FID,GEO_AUTOFOC="geometry/autofocus"