Currently the joystick sets the motor speed directly (-255 , 255) which moves the axis quite slowly. May I suggest scaling the joystick input to the set maxSpeed?
At line 985 of panTiltMount.cpp:
sliderStepSpeed = (sliderStepSpeed * (stepper_slider.maxSpeed() / 255));panStepSpeed = (panStepSpeed * (stepper_pan.maxSpeed() / 255));tiltStepSpeed = (tiltStepSpeed * (stepper_tilt.maxSpeed() / 255));
I'd issue a pull request but I'm not 100% on how to do that correctly! :)
Currently the joystick sets the motor speed directly (-255 , 255) which moves the axis quite slowly. May I suggest scaling the joystick input to the set maxSpeed?
At line 985 of panTiltMount.cpp:
sliderStepSpeed = (sliderStepSpeed * (stepper_slider.maxSpeed() / 255));
panStepSpeed = (panStepSpeed * (stepper_pan.maxSpeed() / 255));
tiltStepSpeed = (tiltStepSpeed * (stepper_tilt.maxSpeed() / 255));
I'd issue a pull request but I'm not 100% on how to do that correctly! :)