Currently, limit switches are not implemented for the Phidget4AStepper. It is a problem because limit switches are an important safety feature on a tensile test machine.
Also, the motor position is always driven and calculated from its current position. It can be problematic in some situations, and taking a fix absolute position as a reference might be needed.
In this PR, limit switches are implemented (228d347) and can now stop the motor when hit. An absolute mode is also added (3052e75) with the possibility to save the last position of the motor (e32147f) in order to, for example, use it later as a reference position.
Currently, limit switches are not implemented for the Phidget4AStepper. It is a problem because limit switches are an important safety feature on a tensile test machine. Also, the motor position is always driven and calculated from its current position. It can be problematic in some situations, and taking a fix absolute position as a reference might be needed.
In this PR, limit switches are implemented (228d347) and can now stop the motor when hit. An absolute mode is also added (3052e75) with the possibility to save the last position of the motor (e32147f) in order to, for example, use it later as a reference position.