mirror of
https://github.com/bec-project/ophyd_devices.git
synced 2025-06-23 19:27:59 +02:00
fixed bug in sim
This commit is contained in:
@ -371,7 +371,7 @@ class SynAxisOPAAS(Device, PositionerBase):
|
||||
updates = np.ceil(
|
||||
np.abs(old_setpoint - move_val) / self.speed * self.update_frequency
|
||||
)
|
||||
for ii in np.linspace(old_setpoint, move_val - 5, int(updates)):
|
||||
for ii in np.linspace(old_setpoint, move_val, int(updates)):
|
||||
ttime.sleep(1 / self.update_frequency)
|
||||
update_state(ii)
|
||||
update_state(move_val)
|
||||
|
Reference in New Issue
Block a user