With the help of inverse kinematics, I was able to make a simple pick and place machine. In this version of the software, it's still necessary to define the coordinates of the piece of foam manually. I am planning to eliminate this and use video images to define the exact location.
Code:
https://github.com/NNaert/Pythoncont...
Tinkerkit Braccio robot arm:
https://storeusa.arduino.cc/products...