DiamondLightSource / pmac

Driver for the Delta Tau PMAC motion controller family.
Apache License 2.0
25 stars 17 forks source link

Fix kinematic update #106

Closed guirodrigueslima closed 1 year ago

guirodrigueslima commented 1 year ago

When the .OFF of the real axis was updated, the .VAL of the kinematics did not update. This problem meant that the GUI interface did not update the values ​​correctly, causing an error during the operation of the beamline by researchers.

This change does not impact the current functioning of the getAxisStatus() function and solves the problem of the offset of the real axes with the kinematics. When the offset value is changed, the "position" variable is changed in the first callback and returns to its state in the second callback, causing the motorStatusDone_ parameter to be updated.

Thanks!