epics-motor / motorAutomation1

EPICS motor drivers for Aerotech Automation1 controllers
Other
2 stars 1 forks source link

Fix for invalid initial target position #6

Closed kmpeters closed 3 years ago

kmpeters commented 3 years ago

Use countsPerUnitParam (read from the controller) instead of resolution (the motor record's resolution) in all non-profile methods.

The invalid target position was occuring because the resolution was zero while the IOC was starting.

Fixes #5

GarrettSullivan-Aerotech commented 3 years ago

The solution looks good. After my previous comment is addressed I think it is good to merge.