fixing coordTrf stuff and screen updating
- fix sign error in transformation for z - MotorTweak.py rel_move relative to RBV not VAL - SimMotorTweak.py move emits also RBV to update objects in SwissMX - update Readme.md
This commit is contained in:
@@ -2357,8 +2357,8 @@ Author Thierry Zamofing (thierry.zamofing@psi.ch)
|
||||
trf2=np.asmatrix(np.identity(3))
|
||||
trf2[:, :2]=trf
|
||||
#p1=(0,0,1)*trf2 # =matrix([[-2376.8, 1376.8, 1. ]]) um
|
||||
trf3=np.matrix( ((-p[0],0,0),(-p[1],0,0),(-1000*p[2],0,1)) )
|
||||
#(0, 0, 1)*trf2*trf3
|
||||
trf3=np.matrix( ((p[0],0,0),(p[1],0,0),(1000*p[2],0,1)) )
|
||||
#(0, 0, 1)*trf2*trf3 -> z in um of gridpos(0,0)
|
||||
t=(trf2*trf3)[:,0].A.ravel()
|
||||
cz=f'{t[0]:+.18g}X{t[1]:+.18g}Y{t[2]:+.18g}'
|
||||
except AttributeError:
|
||||
@@ -2383,7 +2383,7 @@ Author Thierry Zamofing (thierry.zamofing@psi.ch)
|
||||
_log.info('simulated')
|
||||
else:
|
||||
comm.gpascii._cb_func=lambda i, sz:self.cb_progress(i, sz, dlg)
|
||||
|
||||
#_log.critical('TEMPORARY DO NOT EXECUTE PROGRAM !!!');return
|
||||
if dlg.wasCanceled():
|
||||
# pv-monitor-func: start monitors
|
||||
if not cfg.value(AppCfg.GBL_MISC)['live_on_collect']:
|
||||
|
||||
Reference in New Issue
Block a user