A method and apparatus allowing a mobile robot to return to a designated
location the method including: calculating a first direction angle of the
mobile robot at a second location arrived at after the mobile robot
travels a predetermined distance from the first location; determining
whether the mobile robot approaches or moves away from the designated
location, at a third location arrived at after the mobile robot rotates
by the first direction angle and then travels a predetermined distance;
and if the result of the determination indicates that the mobile robot
approaches the docking station, controlling the mobile robot to travel
according to the first direction angle, and if the result indicates the
mobile robot moves away from the docking station, calculating a second
direction angle of the mobile robot at the third location, and
controlling the mobile robot to travel according to the second direction
angle.