Controlling a robotic arm with the mind