A robot arm that beats every chess master
Please check out code base on the GitHub repository here .
The objective of this project was to teach a FRANKA robot arm how to play chess. It could determine the state of the board, query a chess engine for the best next move, and then physically make the move. This was a team project, in which I worked on the perception module. It was concerned with sensing the chess moves that were made by the person and the robot. We used a RBG-D camera and OpenCV (an open-source machine vision library), while the code was all written in Python. Check out the demonstration of the chess robot below, where I am playing a game that I am doomed to lose.
This project is very well documented on a ‘Read The Docs’ page, detailing all the different modules, videos and, of course, source code. We stuck to current Python standards such as PEP257 and would very much like to see someone else pick up on this. EDIT: Someone has! If you are interested I highly recommend you have a look through it here.