There is a communication protocol between the robot and the basestation. On GitHub, both code for the microcontroller on the top board and the basestation can be found. See also Embedded systems.