Abstract:
A method and apparatus generating and tracing a cleaning trajectory of a home cleaning robot the method including: controlling the home cleaning robot to straightly travel as much as a set distance from the docking station and then rotationally travel, maintaining the set distance from the docking station, until the home cleaning robot reaches one of two walls; controlling the home cleaning robot to travel as much as the set distance along the wall if the home cleaning robot reaches the wall and resume rotational-traveling around the docking station, maintaining a distance between the docking station and the home cleaning robot increased by the set distance until it reaches one of the two walls; and repeatedly controlling the home cleaning robot to travel as much as the set distance along the wall if the home cleaning robot reaches the wall and resume rotational-traveling around the docking station, maintaining a distance between the docking station and the home cleaning robot increased by the set distance until it reaches one of the two walls until the home cleaning robot arrives at a point where it cannot travel in a direction in which a distance between the docking station and the home cleaning robot increases.
Abstract:
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.