Current Behavior
In pseudopositioner:
|
def _update_position(self): |
|
"""Update the pseudo position based on that of the real positioners.""" |
|
position = super()._update_position() |
|
if self._my_move: |
|
self._update_notepad_ioc(position, 'notepad_readback') |
|
return position |
|
|
|
def set_current_position(self, position): |
|
""" |
|
Adjust all offsets so that the pseudo position matches the input. |
|
|
|
This will raise an AttributeError if any of the real motors is missing |
|
a ``set_current_position`` method. |
|
|
|
Parameters |
|
---------- |
|
position : PseudoPos |
|
The position |
|
""" |
|
real_pos = self.forward(position) |
|
for motor, pos in zip(self._real, real_pos): |
|
motor.set_current_position(pos) |
The notepad readback gets out of sync for the same reason explained in
#1409
Expected Behavior
When we set_current_position, the notepad readback should be updated
Current Behavior
In pseudopositioner:
pcdsdevices/pcdsdevices/pseudopos.py
Lines 209 to 230 in e3d6e45
The notepad readback gets out of sync for the same reason explained in #1409
Expected Behavior
When we set_current_position, the notepad readback should be updated