Coherency problem when externaly moving a motor.
Coherency problem when externaly moving a motor:
seen on ID21 with undulators:
SESSION_SXM [15]: u42b.position
Out [15]: 38.785875000000004
SESSION_SXM [16]:
SESSION_SXM [16]: umvr(u42b, 1) # should move from 38.785 to 39.785
Moving u42b from 38.8 to 40.3 # BUT !!!!! use the old set position...
u42b[mm]
user 40.283
dial 40.283
axis.py
l.1853
:
if relative:
# start from last set position
user_initial_pos = self._set_position
user_target_pos += user_initial_pos
Edited by Cyril Guilloud