I made a crane from Merkur( something like Meccano). It has two motors, one with encoder. The position of the hook is sensed by the encoder and the position of the second moving part is sensed by potenciometer. It comunicates with computer via serial port. It is controlled by a gamepad.