I'm working on a project to move 6 electric-motor actuators based on a set protocol. Byte Data is written from arrays, concatonated into a string, and transfered via UDP. This entire process is run through a While loop, passing multiple UDP messages to the motor. I'm interested in using a slider GUI to control the length of the actuators. The slider control works, but too well-- the actuators are moving directly from one position to another creating sudden starts and stops which are harsh on the actuators.
I'm interested in passing multiple point values using the slider, interpolating the current slider value with a future value, creating an integral-esque effect and reducing the strain on the motor What is the best way to make this happen?