Robots solving the Rubik’s Cube puzzle is nothing new. In fact, recent robots have gotten quite fast at it. This video shows the MindCub3r, which happens to be a Rubik’s Cube solving robot built from a LEGO MINDSTORMS EV3 set, in action:
The folks behind this cool robot have provided the project files, building instructions and everything else you need to get started. The MindCub3r uses the EV3 color sensor in RGB mode to enable it to measure colors properly. You will need the project file, the solving algorithm, and an EV3 application to get started. You can find more details here.