Describe the bug
If the user passes in a negative max step size, the condition if abs(numSteps) <= maxSteps will always fail
To Reproduce
Steps to reproduce the behavior:
Call StepperTuner.move() with a negative maxSteps
Expected behavior
If the magnitude of the requested step size is > the magnitude of the max, only step max steps in the appropriate direction as needed
Screenshots
Desktop (please complete the following information):
ACR OPI
Smartphone (please complete the following information):
N/A
Additional context
This was called from the SRF Parking GUI asking for movement by steps, not frequency
Describe the bug If the user passes in a negative max step size, the condition
if abs(numSteps) <= maxSteps
will always failTo Reproduce Steps to reproduce the behavior:
StepperTuner.move()
with a negativemaxSteps
Expected behavior If the magnitude of the requested step size is > the magnitude of the max, only step max steps in the appropriate direction as needed
Screenshots![image](https://github.com/slaclab/lcls-tools/assets/13070175/eb021e8c-3437-442d-8c3d-f121f37509d3)
Desktop (please complete the following information):
Smartphone (please complete the following information): N/A
Additional context This was called from the SRF Parking GUI asking for movement by steps, not frequency