Changed robot from socket to 2D