You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The ChimeraTK::LinearStepperMotor class provides 2 modes, "calibration" and "determineTolerance". The first moves along the entire stage and discovers the end switch positions. In an additional step, the second mode also moves to each end switch and hits it ten times in order to estimate a normal distribution. The resulting standard deviation is used to provide a tolerance for the end switch position. These two modes should be merged, so that only one action has to be taken by the user. It should also significantly reduce code in the LinearStepperMotorStateMachine class.
Note that this procedure has drawbacks. The motor might slip, when it first hits the end switch with a high speed, which leads to inaccuracies. Also, the tolerance can only be checked, when the endswitches are hit again, which might never happen. However, for stages without additional sensors, this is the only way to verify the position.
In recent FW revisions, registers are available to store the end switch position and the tolerance. The merging of both modes has been started in branch ChimeraTK_APIupdate
The text was updated successfully, but these errors were encountered:
The ChimeraTK::LinearStepperMotor class provides 2 modes, "calibration" and "determineTolerance". The first moves along the entire stage and discovers the end switch positions. In an additional step, the second mode also moves to each end switch and hits it ten times in order to estimate a normal distribution. The resulting standard deviation is used to provide a tolerance for the end switch position. These two modes should be merged, so that only one action has to be taken by the user. It should also significantly reduce code in the LinearStepperMotorStateMachine class.
Note that this procedure has drawbacks. The motor might slip, when it first hits the end switch with a high speed, which leads to inaccuracies. Also, the tolerance can only be checked, when the endswitches are hit again, which might never happen. However, for stages without additional sensors, this is the only way to verify the position.
In recent FW revisions, registers are available to store the end switch position and the tolerance. The merging of both modes has been started in branch ChimeraTK_APIupdate
The text was updated successfully, but these errors were encountered: