Install necessary packages
$ sudo apt install python3-pygame python3-usb
The Robot Arm software is available from GitHub
$ cd
$ git clone https://github.com/bobrathbone/pirobot
Change to the pirobot directory and make all the Python file executable.
$ cd pirobot
$ chmod +x *.py
Connect the Robotic Arm to any USB port and switch it on. Now run the test program
$ sudo ./robot.py