implemented unitRobotMove.