CN-121987097-A - Sweeping robot control method and device, storage medium and electronic device
Abstract
The application discloses a control method and device of a sweeping robot, a storage medium and an electronic device, and relates to the technical field of intelligent home, wherein the method comprises the steps of obtaining obstacle data in front of the sweeping robot; the method comprises the steps of providing obstacle data, identifying a classification tag of an obstacle in the obstacle profile information, wherein the classification tag comprises an article type, locating a target classification area corresponding to the obstacle in an environment where a sweeping robot can reach in response to the classifiable condition when the classification tag meets the classifiable condition, and generating a navigation path by taking the initial position of the obstacle as a starting point and the position of the target classification area as an end point, wherein the navigation path is used for indicating the sweeping robot to move the obstacle to the target classification area. According to the control method of the sweeping robot, the storage medium and the electronic device, the processing capacity of the sweeping robot on the obstacle is improved to a certain extent.
Inventors
- ZHAO XIAOLU
Assignees
- 海尔优家智能科技(北京)有限公司
- 青岛海尔科技有限公司
- 海尔智家股份有限公司
Dates
- Publication Date
- 20260508
- Application Date
- 20241107
Claims (11)
- 1. A method for controlling a sweeping robot, comprising: acquiring obstacle data in front of the sweeping robot, wherein the obstacle data comprises obstacle appearance information; a classification tag identifying an obstacle in the obstacle appearance information, wherein the classification tag includes an article type; in response to the classifiable condition, locating a target categorization area corresponding to the obstacle in an environment reachable by the sweeping robot in the event that the categorization label meets the classifiable condition, and And generating a navigation path by taking the initial position of the obstacle as a starting point and the position of the target classification area as an ending point, wherein the navigation path is used for indicating the sweeping robot to move the obstacle to the target classification area.
- 2. The method according to claim 1, wherein the method further comprises: Detecting a request for setting at least one categorization area in the environment, wherein the target categorization area is one or more of the at least one categorization area; in response to the request, the at least one categorization section is set in the environment.
- 3. The method of claim 1, wherein the sweeping robot includes a sensor and an extendable and retractable obstacle movement assembly, the obstacle movement assembly having a height that is lower than a height of the sensor, the method further comprising: an extension instruction for instructing the obstacle moving assembly to extend is generated so that the sweeping robot moves the obstacle using the obstacle moving assembly.
- 4. A method according to claim 3, characterized in that the method further comprises: detecting the current position of the sweeping robot; judging whether the current position is positioned in the target classifying area or not, and And generating a retraction instruction for indicating retraction of the obstacle moving assembly in response to the current position being in the target classification area.
- 5. The method of claim 1, wherein the classifiable condition is the presence of a target classification region in the environment corresponding to the classification tag.
- 6. The method according to claim 1, wherein the method further comprises: In a case that the classification tag satisfies the classifiable condition, generating a stop instruction for instructing the sweeping robot to stop cleaning in response to the classifiable condition.
- 7. The method according to claim 1, wherein the method further comprises: and taking the position of the target classifying area as a starting point, taking the initial position of the obstacle as an end point, and generating a reset path, wherein the reset path is used for indicating the sweeping robot to return to the initial position of the obstacle.
- 8. The method according to claim 1, wherein the method further comprises: Detecting path blocking information in front of the sweeping robot when the sweeping robot moves to the initial position of the obstacle; judging whether the path blocking information meets the trafficability condition or not, and And executing obstacle homing operation according to the navigation path in response to the path blocking information meeting the passability condition.
- 9. A sweeping robot control device, characterized by comprising: The device comprises an acquisition unit, a control unit and a control unit, wherein the acquisition unit is used for acquiring obstacle data in front of the sweeping robot, and the obstacle data comprises obstacle appearance information; the identifying unit is used for identifying the classifying label of the obstacle in the obstacle appearance information, wherein the classifying label comprises an article type; A locating unit for locating a target classification area corresponding to the obstacle in an environment reachable by the robot in response to the classifiable condition in the case that the classification tag satisfies the classifiable condition, and The generation unit is used for generating a navigation path by taking the initial position of the obstacle as a starting point and the position of the target classification area as an end point, wherein the navigation path is used for indicating the sweeping robot to move the obstacle to the target classification area.
- 10. A computer-readable storage medium, characterized in that the computer-readable storage medium comprises a stored program, wherein the program when run performs the method of any one of claims 1 to 8.
- 11. An electronic device comprising a memory and a processor, wherein the memory has stored therein a computer program, the processor being arranged to perform the method of any of claims 1 to 8 by means of the computer program.
Description
Sweeping robot control method and device, storage medium and electronic device Technical Field The application relates to the technical field of intelligent home, in particular to a control method and device of a sweeping robot, a storage medium and an electronic device. Background In performing the cleaning task, the sweeping robot may identify items on the floor by means of the sensors and perform a corresponding cleaning strategy according to the items. For example, when the sweeping robot recognizes that the article is liquid, a cleaning action is performed. For another example, when the sweeping robot recognizes that the object is hair, debris, the suction action is performed. However, the object may also be an obstacle, such as a bulky object such as a shoe, a child toy, or a wire such as a data wire, a rope, etc. that is easily wound around the main brush of the robot. For obstacles, the robot for sweeping floor often performs obstacle avoidance operation, i.e. does not process the obstacle. Disclosure of Invention The application aims to provide a control method and device for a sweeping robot, a storage medium and an electronic device, which can improve the processing capacity of the sweeping robot on obstacles to a certain extent, for example, can reset some obstacles. In a first aspect, the present application provides a method for controlling a sweeping robot, including: acquiring obstacle data in front of the sweeping robot, wherein the obstacle data comprises obstacle appearance information; a classification tag identifying an obstacle in the obstacle appearance information, wherein the classification tag includes an article type; in response to the classifiable condition, locating a target categorization area corresponding to the obstacle in an environment reachable by the sweeping robot in the event that the categorization label meets the classifiable condition, and And generating a navigation path by taking the initial position of the obstacle as a starting point and the position of the target classification area as an ending point, wherein the navigation path is used for indicating the sweeping robot to move the obstacle to the target classification area. Optionally, the method further comprises: Detecting a request for setting at least one categorization area in the environment, wherein the target categorization area is one or more of the at least one categorization area; in response to the request, the at least one categorization section is set in the environment. Optionally, the sweeping robot includes a sensor and an extendable and retractable obstacle moving assembly, the obstacle moving assembly having a height lower than a height of the sensor, the method further comprising: an extension instruction for instructing the obstacle moving assembly to extend is generated so that the sweeping robot moves the obstacle using the obstacle moving assembly. Optionally, the method further comprises: detecting the current position of the sweeping robot; judging whether the current position is positioned in the target classifying area or not, and And generating a retraction instruction for indicating retraction of the obstacle moving assembly in response to the current position being in the target classification area. Optionally, the classifiable condition means that there is a target classification region corresponding to the classification tag in the environment. Optionally, the method further comprises: In a case that the classification tag satisfies the classifiable condition, generating a stop instruction for instructing the sweeping robot to stop cleaning in response to the classifiable condition. Optionally, the method further comprises: and taking the position of the target classifying area as a starting point, taking the initial position of the obstacle as an end point, and generating a reset path, wherein the reset path is used for indicating the sweeping robot to return to the initial position of the obstacle. Optionally, the method further comprises: Detecting path blocking information in front of the sweeping robot when the sweeping robot moves to the initial position of the obstacle; judging whether the path blocking information meets the trafficability condition or not, and And executing obstacle homing operation according to the navigation path in response to the path blocking information meeting the passability condition. In a second aspect, the present application provides a sweeping robot control device, including: The device comprises an acquisition unit, a control unit and a control unit, wherein the acquisition unit is used for acquiring obstacle data in front of the sweeping robot, and the obstacle data comprises obstacle appearance information; the identifying unit is used for identifying the classifying label of the obstacle in the obstacle appearance information, wherein the classifying label comprises an article type; A locating unit for locating a target classification