Currently, the state of the switches are always checked in the open method of the Phidget4AStepper to keep the motor to move if a switch has been disconnected or hit. Nevertheless, it could be useful to pass this check if you know already know the a switch has been hit and you want to drive the motor away from the switch.
That's why in this PR, a class attribute has been implemented (6beedcc) in order to choose if you want to perform this check or not.
Currently, the state of the switches are always checked in the
open
method of the Phidget4AStepper to keep the motor to move if a switch has been disconnected or hit. Nevertheless, it could be useful to pass this check if you know already know the a switch has been hit and you want to drive the motor away from the switch.That's why in this PR, a class attribute has been implemented (6beedcc) in order to choose if you want to perform this check or not.