Sweeping robot, target obstacle crossing method thereof and computer readable storage medium
By detecting the pitch angle and environmental information of the sweeping robot and adjusting the drive wheel speed and strategy, the problem that the sweeping robot cannot effectively cross obstacles when slipping is solved, and its leaping ability and energy efficiency in slipping is improved.
Patent Information
- Application Number
- CN202411091475.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2021-03-04
- Publication Date
- 2024-11-12
AI Technical Summary
Existing sweeping robots usually travel by increasing the speed of the drive wheel when encountering obstacles, resulting in high energy consumption and inability to effectively cross over under slippage.
By detecting the pitch angle and environmental information of the sweeping robot, determine whether it is in a slip state, and adjust the drive wheel speed and strategy based on the environmental information to cross obstacles, such as by backing or adjusting the drive wheel speed to increase the openness of the drive wheel speed on the side .
It effectively avoids energy waste, improves the ability of sweeping robots to leap in slipping situations, and ensures the smooth completion of cleaning tasks.
Smart Images

Figure CN118924199A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of sweeping robots, and in particular to a sweeping robot and a method for crossing a target obstacle thereof, and a computer-readable storage medium. Background Art
[0002] With the development of information technology, robots are increasingly used, such as sweeping robots and transport robots. Robots need to understand the road conditions ahead and plan avoidance paths reasonably to successfully complete their tasks.
[0003] In the prior art, taking a sweeping robot as an example, when it encounters an obstacle, the strategy usually used is to increase the rotation speed of the driving wheel in order to cross the obstacle. This violent method of crossing the obstacle requires a large amount of energy loss because the sweeping robot blindly increases the rotation speed of the driving wheel. Moreover, if the sweeping robot blindly increases the wheel speed while slipping, it will undoubtedly fall into an endless loop and be unable to cross the obstacle. Summary of the invention
[0004] The embodiments of the present application provide a sweeping robot and a method for crossing a target obstacle thereof, and a computer-readable storage medium, aiming to solve the problem that the sweeping robot cannot break free from the target obstacle by blindly increasing the rotation speed of the driving wheels when slipping.
[0005] To achieve the above objectives, the present application provides, on one hand, a method for crossing a target obstacle, comprising:
[0006] It is detected that the cleaning robot is in a target state, and a first pitch angle of the cleaning robot is acquired, wherein the target state is a state in which the cleaning robot is on a target obstacle;
[0007] If the value of the first pitch angle is greater than a first preset value, determining whether the cleaning robot is in a slipping state;
[0008] If it is determined that the cleaning robot is in the slipping state, obtaining surrounding environment information;
[0009] A strategy for crossing the target obstacle is determined according to the environmental information, so that the cleaning robot crosses the target obstacle according to the strategy.
[0010] Optionally, the step of determining a strategy for crossing the target obstacle according to the environmental information includes:
[0011] The space where the target obstacle is located is divided into two halves with the center of the forward direction of the cleaning robot as the baseline, and the environmental information on both sides of the target obstacle is obtained respectively;
[0012] Obtaining the degree of openness of the environmental information on each side of the target obstacle;
[0013] A strategy for crossing the target obstacle is determined according to the degree of openness.
[0014] Optionally, the step of determining a strategy for crossing the target obstacle according to the degree of openness includes:
[0015] The cleaning robot is controlled to increase the rotation speed of the driving wheel on the side with a higher degree of openness.
[0016] Optionally, before the step of acquiring the surrounding environment information, the step further includes:
[0017] Acquiring height information of the target obstacle;
[0018] Determine the distance for the sweeping robot to perform a backward operation according to the height information;
[0019] The cleaning robot is controlled to perform the backward operation until the horizontal plane of the cleaning robot is at a target position equal to the distance, so as to obtain the environmental information of the target obstacle at the target position.
[0020] Optionally, after the step of controlling the cleaning robot to increase the rotation speed of the driving wheel on the side with a higher degree of openness, the method further includes:
[0021] Get the second pitch angle;
[0022] When the second pitch angle is greater than a second preset value, the rotation speed of the driving wheel on the other side is increased.
[0023] Optionally, when the cleaning robot is detected to be in the target state, before the step of acquiring the current first pitch angle, the method further includes:
[0024] Obtain obstacle information during the moving process of the sweeping robot;
[0025] determining the target obstacle according to the obstacle information;
[0026] The target obstacle is cleared from the obstacle map so that the cleaning robot is in the target state.
[0027] Optionally, the step of determining the target obstacle according to the obstacle information includes:
[0028] Obtaining target information from the obstacle information;
[0029] When the target information is equal to the preset information, the obstacle corresponding to the target information is determined to be the target obstacle.
[0030] Optionally, the step of determining whether the cleaning robot is in a slipping state includes:
[0031] Increasing the rotation speed of the driving wheels on both sides of the sweeping robot;
[0032] The current displacement information is obtained, and when the displacement information is less than a preset displacement, it is determined that the cleaning robot is in the slipping state.
[0033] In addition, to achieve the above-mentioned purpose, the present application also provides a sweeping robot on the other hand, which includes a processor, a memory, and a target obstacle crossing method program stored in the memory and runnable on the processor, and the target obstacle crossing method program, when executed by the processor, implements the steps of any one of the target obstacle crossing methods as mentioned above.
[0034] In addition, to achieve the above-mentioned purpose, the present application also provides a computer-readable storage medium on the other hand, on which a target obstacle crossing method program is stored, and when the target obstacle crossing method program is executed by a processor, the steps of any of the target obstacle crossing methods mentioned above are implemented.
[0035] In the present application, when the sweeping robot is on the target obstacle, the value of the first pitch angle of the sweeping robot is obtained. When the value of the first pitch angle is greater than a preset value, it is determined that the sweeping robot is at risk of slipping when passing the target obstacle. Then, it is further determined whether the sweeping robot has slipped. If it is determined that the sweeping robot has slipped, the surrounding environment information of the current position is obtained, and the strategy to be adopted by the sweeping robot to pass the target obstacle is determined based on the surrounding environment information, and then the target obstacle is passed. When the sweeping robot slips when passing the target obstacle, it can adopt a corresponding strategy based on the surrounding environment information to cross the target obstacle and successfully complete the cleaning task, thereby improving the intelligence of the sweeping robot. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] Figure 1 A schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present application;
[0037] Figure 2 A schematic diagram of a flow chart of an embodiment of a method for crossing a target obstacle of the present application;
[0038] Figure 3 This application is a schematic diagram of the pitch angle of the sweeping robot when it is on the target obstacle;
[0039] Figure 4 A schematic flow chart of another embodiment of the method for crossing a target obstacle of the present application;
[0040] Figure 5This is a flow chart of another embodiment of the method for crossing a target obstacle of the present application.
[0041] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0042] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.
[0043] The main solution of the embodiment of the present application is: when it is detected that the sweeping robot is in a target state, obtaining the current first pitch angle of the sweeping robot, the target state being the state that the sweeping robot is on a target obstacle; when the value of the first pitch angle is greater than a first preset value, determining whether the sweeping robot is in a slipping state; when it is determined that the sweeping robot is in a slipping state, obtaining surrounding environmental information; determining a strategy for crossing the target obstacle based on the environmental information, so that the sweeping robot crosses the target obstacle according to the strategy.
[0044] When existing sweeping robots encounter obstacles, they usually increase the rotation speed of the driving wheels to cross the obstacles. This violent method of crossing obstacles consumes a lot of energy because the sweeping robot blindly increases the rotation speed of the driving wheels. Moreover, if the sweeping robot blindly increases the wheel speed when slipping, it will undoubtedly fall into an endless loop and be unable to cross the obstacles.
[0045] like Figure 1 As shown, Figure 1 This is a schematic diagram of the terminal structure of the hardware operating environment involved in the embodiment of the present application.
[0046] like Figure 1 As shown, the terminal may include: a processor 1001, such as a CPU, a network interface 1004, a user interface 1003, a memory 1005, and a communication bus 1002. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a WI-FI interface). The memory 1005 may be a high-speed RAM memory, or a stable memory (non-volatile memory), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.
[0047] Optionally, the terminal may also include a camera, an RF (Radio Frequency) circuit, a sensor, a remote controller, an audio circuit, a WiFi module, a detector, etc. Of course, the terminal may also be configured with other sensors such as a gyroscope, a barometer, a hygrometer, a temperature sensor, etc., which will not be described in detail here.
[0048] Those skilled in the art will understand that Figure 1 The terminal structure shown in the figure does not constitute a limitation on the terminal device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.
[0049] like Figure 1 As shown, the memory 1005 as a computer-readable storage medium may include an operating system, a network communication module, a user interface module, and a target obstacle crossing method program.
[0050] exist Figure 1 In the terminal shown, the network interface 1004 is mainly used to connect to the backend server and perform data communication with the backend server; the user interface 1003 is mainly used to connect to the client (user end) and perform data communication with the client; and the processor 1001 can be used to call the target obstacle crossing program stored in the memory 1005 and perform the following operations:
[0051] When it is detected that the cleaning robot is in a target state, obtaining a current first pitch angle of the cleaning robot, wherein the target state is a state in which the cleaning robot is on a target obstacle;
[0052] When the value of the first pitch angle is greater than a first preset value, determining whether the cleaning robot is in a slipping state;
[0053] When it is determined that the cleaning robot is in a slipping state, obtaining surrounding environment information;
[0054] A strategy for crossing the target obstacle is determined according to the environmental information, so that the cleaning robot crosses the target obstacle according to the strategy.
[0055] refer to Figure 2 , Figure 2 This is a flow chart of the first embodiment of the method for crossing a target obstacle of the present application.
[0056] The embodiments of the present application provide an embodiment of a method for crossing a target obstacle. It should be noted that although a logical order is shown in the flow chart, in some cases, the steps shown or described may be performed in an order different from that shown here.
[0057] The methods for crossing the target obstacle include:
[0058] Step S10, when it is detected that the cleaning robot is in a target state, obtaining a current first pitch angle of the cleaning robot, wherein the target state is a state where the cleaning robot is on a target obstacle;
[0059] The target obstacle is an obstacle that controls the sweeping robot not to perform the avoidance operation, that is, it is an obstacle that the sweeping robot needs to pass through, and for other obstacles, the sweeping robot performs the avoidance operation according to the preset cleaning map. In this embodiment, the target obstacle may be an object that the sweeping machine needs to pass through when performing the cleaning task to continue to complete the cleaning, such as a threshold. After the sweeping robot completes the cleaning of the living room, it also needs to clean each room. At this time, the sweeping robot needs to pass the threshold at the entrance of each room to complete the cleaning task of the entire cleaning area (including the kitchen, living room and room). The target state is the state where the sweeping robot is on the target obstacle. In this application, the target obstacle is illustrated by taking the threshold as an example.
[0060] In this embodiment, the target obstacle has a certain height compared to the flat ground. When the sweeping robot passes through the target obstacle, if it cannot pass through smoothly (the sweeping robot is stuck on the target obstacle), the body of the sweeping robot will have an inclined angle compared to when the sweeping robot is driving on the flat ground.
[0061] Reference Figure 3 As shown, Figure 3 The figure is a schematic diagram of the pitch angle when the sweeping robot is on the target obstacle. It can be understood that the sweeping robot is divided into two parts, front and rear, according to the forward direction of the sweeping robot. If the front half of the sweeping robot is on the target obstacle and the rear half is on the ground, the sweeping robot is in an upward-looking state, and its pitch angle is the angle formed by the contact surface between the sweeping robot and the target obstacle and the horizontal plane; when the front half of the sweeping robot passes over the obstacle and the rear half is above the obstacle, the sweeping robot is in a downward-looking state, and the pitch angle is 180° minus the angle formed by the contact surface between the sweeping robot and the obstacle and the horizontal plane.
[0062] The first pitch angle is a pitch angle obtained when the sweeping robot is stuck on a target obstacle for the first time.
[0063] Step S20, when the value of the first pitch angle is greater than a first preset value, determining whether the cleaning robot is in a slipping state;
[0064] The slipping state refers to a state in which the driving wheel of the cleaning robot is rotating but the displacement of the cleaning robot does not change.
[0065] It is understandable that if the sweeping robot is on the target obstacle, but the value of its first pitch angle is 0, it means that the sweeping robot is horizontally on the target obstacle, and the sweeping robot is not in a slipping state. The sweeping robot can cross the target obstacle and continue to perform the cleaning task according to the normal driving wheels.
[0066] The first pre-value is a value for judging whether the sweeping robot will slip when it is on the target obstacle. When it is equal to zero, it means that the sweeping robot is horizontally on the target obstacle and there is no slip; when it is greater than zero, it is determined that there is a risk of slipping when the sweeping robot is on the target obstacle, and further judging whether the sweeping robot has slipped can achieve accurate judgment of whether the sweeping robot has slipped, and then according to the strategy, the sweeping robot can break free from the target obstacle and continue to perform the cleaning task.
[0067] The step of determining whether the cleaning robot is in a slipping state comprises:
[0068] Step S21, increasing the rotation speed of the driving wheels on both sides of the sweeping robot;
[0069] Step S22, obtaining current displacement information, when the displacement information is less than a preset displacement, it is determined that the sweeping robot is in the slipping state.
[0070] The preset displacement is related to the increased rotation speed, and the greater the rotation speed, the greater the value of the preset displacement is.
[0071] In this embodiment, the sweeping robot can increase the rotation speed of the driving wheel and then check the current displacement information through the positioning device. If the displacement information is less than the preset displacement, it is determined that the sweeping robot is in a slipping state. It is possible to accurately determine whether the sweeping robot is in a slipping state.
[0072] Step S30, when it is determined that the cleaning robot is in a slipping state, obtaining surrounding environment information;
[0073] In the present application, by calculating the displacement, if the current driving wheel is moving but the displacement position of the cleaning robot does not change, it is determined that the cleaning robot is currently in a slipping state.
[0074] Further obtain current environmental information, wherein the environmental information includes environmental information on the target obstacle, such as water accumulation on the target obstacle, water accumulation in the environment surrounding the target obstacle, dirt on the target obstacle, and also includes environmental information around the target obstacle, such as the degree of openness of the environment surrounding the target obstacle.
[0075] Step S40: determining a strategy for crossing the target obstacle according to the environmental information, so that the cleaning robot crosses the target obstacle according to the strategy.
[0076] The strategy is determined by the sweeping robot according to the environmental information obtained in real time, and can be specifically exemplified as follows: when the sweeping robot obtains through camera analysis that there is a small amount of accumulated water on the target obstacle, it performs dry mopping, first clearing the accumulated water on the target obstacle, and then passing through the target obstacle.
[0077] If the environment around the target obstacle that the sweeping robot passes through is analyzed to be due to other objects around the crossing strategy currently adopted by the sweeping robot, resulting in the sweeping robot being unable to cross the obstacle normally when accelerating, the sweeping robot will perform a backward operation and change other routes to pass through the target obstacle.
[0078] In the present application, when the sweeping robot is on the target obstacle, the value of the first pitch angle of the sweeping robot is obtained. When the value of the first pitch angle is greater than a preset value, it is determined that the sweeping robot is at risk of slipping when passing the target obstacle. Then, it is further determined whether the sweeping robot has slipped. If it is determined that the sweeping robot has slipped, the surrounding environment information of the current position is obtained, and the strategy to be adopted by the sweeping robot to pass the target obstacle is determined based on the surrounding environment information, and then the target obstacle is passed. When the sweeping robot slips when passing the target obstacle, it can adopt a corresponding strategy based on the surrounding environment information to cross the target obstacle and successfully complete the cleaning task, thereby improving the intelligence of the sweeping robot.
[0079] Further, refer to Figure 4 , another embodiment of the method for crossing the target obstacle of the present application is proposed.
[0080] The difference between the second embodiment of the method for crossing a target obstacle and the first embodiment of the method for crossing a target obstacle is that the step of determining a strategy for crossing the target obstacle according to the environmental information includes:
[0081] Step S41, dividing the space where the target obstacle is located into two halves with the center of the forward direction of the cleaning robot as the baseline, and obtaining environmental information on both sides of the target obstacle respectively;
[0082] Step S42, obtaining the degree of openness of the environmental information on each side of the target obstacle;
[0083] Step S43: determining a strategy for crossing the target obstacle according to the degree of openness.
[0084] The degree of openness is the ratio of the area around the target obstacle where there is no obstacle for the sweeping robot to pass to the preset total area, and the preset total area is determined according to the size of the target obstacle of the sweeping robot. In this embodiment, the space where the target obstacle is located is divided in half with the center of the sweeping robot's forward direction as the limit, and the environmental information on both sides of the target obstacle is obtained respectively. Then, the degree of openness on each side of the target obstacle is obtained based on the environmental information, and the corresponding strategy is further adopted to cross the target obstacle.
[0085] Specifically, the target obstacle is described by taking a threshold as an example. When the sweeping robot passes through the threshold, after determining that the sweeping robot is slipping, the space where the target obstacle is located is divided into two sides (for example, the left side and the right side) with the center of the sweeping robot's forward direction as the baseline, and the degree of openness of each side's environmental information is further obtained. The strategy for crossing the target obstacle is determined according to the degree of openness. For example, when the degree of openness on both sides of the road is higher than the preset degree of openness, the rotation speed of the left and right driving wheels of the sweeping robot is quickly increased to enable the sweeping robot to pass the target obstacle.
[0086] The step of determining a strategy for crossing the target obstacle according to the degree of openness includes:
[0087] Step S431, controlling the cleaning robot to increase the rotation speed of the driving wheel on the side with a higher degree of openness.
[0088] In this embodiment, after obtaining the degree of spaciousness of the surrounding environment, the degree of spaciousness of each side is obtained respectively. The degree of spaciousness of each side can be calculated based on the ratio of the area where obstacles exist to the preset total area in the measured space divided by the sweeping robot. Of course, the degree of spaciousness of each side can also be calculated by other methods, which are not limited in this embodiment.
[0089] After the sweeping robot divides the space around the threshold into two sides, it compares the area of each side where no items are placed with the total area to obtain the degree of openness of each side, compares the obtained degrees of openness, determines the side with higher openness (left or right), and then increases the rotation speed of the driving wheel on the side with higher openness. Specifically, after calculating, the sweeping robot obtains that the degree of openness on the left side is 2 / 3 and the degree of openness on the right side is 1 / 3, then it determines that the speed of the driving wheel on the left side needs to be increased. Correspondingly, if the current rotation speed of the driving wheels on the left and right sides is 5000 rpm, then after the sweeping robot determines the degree of openness of the target obstacle, it determines to increase the rotation speed of the driving wheel on the left side, then it moves back 0.3 meters and executes the operation of accelerating the rotation speed of the driving wheel on the left side, so as to increase the rotation speed of the left side when crossing the threshold, and the increased rotation speed is 5500 rpm, so that the increased driving wheel speed provides a high-speed forward driving force to achieve the purpose of passing the target obstacle.
[0090] The rotation speed of the driving wheel added in this embodiment can be determined by the height of the target obstacle, so that the sweeping robot can flexibly adjust the rotation speed of the driving wheel according to the height of the target obstacle, thereby improving the intelligence of the sweeping robot and saving energy loss.
[0091] Before the step of obtaining the surrounding environment information, the method further includes:
[0092] Step S01, obtaining the height information of the target obstacle;
[0093] Step S02, determining the distance for the sweeping robot to perform a backward operation according to the height information;
[0094] Step S03, controlling the cleaning robot to perform the backward operation until the horizontal plane of the cleaning robot is at a target position equal to the distance, so as to obtain the environmental information of the target obstacle at the target position.
[0095] The target position is the position where the sweeping robot stops acquiring the environmental information of the target obstacle after performing the backward operation. When the sweeping robot reaches the target position, the sweeping robot is in a horizontal state to accurately acquire the environmental information around the target obstacle.
[0096] The height information is the protruding height of the target obstacle relative to the plane where the sweeping robot is located. The sweeping robot can obtain the target obstacle through the camera device, further analyze the height information (2cm) of the target obstacle, and then control the retreat distance of the sweeping robot. In this embodiment, the higher the target obstacle is, the greater the speed of the corresponding driving wheel of the sweeping robot needs to be increased, that is, in order to ensure that the sweeping robot has enough time to complete the rotation speed of the target driving wheel, it is necessary to increase or decrease the retreat distance of the sweeping robot so that the sweeping robot can complete the increase of the driving wheel speed.
[0097] After the step of controlling the cleaning robot to increase the rotation speed of the driving wheel on the side with a higher degree of openness, the method further includes:
[0098] Step S432, obtaining a second pitch angle;
[0099] Step S433: when the second pitch angle is greater than a second preset value, increase the rotation speed of the driving wheel on the other side.
[0100] In this embodiment, after the sweeping robot completes the acceleration of the target driving wheel, it is necessary to detect the second pitch angle of the sweeping robot again. When the second pitch angle is greater than the second preset value, it means that the sweeping robot is still unable to escape from the target obstacle. In this case, it is necessary to increase the acceleration of the driving wheel on the other side on the basis of completing the acceleration of the target driving wheel so that the sweeping robot can cross the obstacle.
[0101] It can be understood that in this embodiment, the second pitch angle is obtained after the sweeping robot has completed one acceleration, that is, after the sweeping robot has completed one crossing operation over the target obstacle, the second pitch angle of the sweeping robot is further obtained to determine whether the sweeping robot has completed crossing the target obstacle. When the second elevation angle information is equal to the second preset value, the second preset value is 0, which means that the sweeping robot has completed crossing the target obstacle or is horizontally on the target obstacle (the sweeping robot can complete crossing the target obstacle by executing forward movement).
[0102] In this embodiment, when the cleaning robot completes one acceleration crossing over the target obstacle, the current pitch angle is obtained again to determine whether the cleaning robot has stopped slipping and successfully crossed the target obstacle.
[0103] Further, refer to Figure 5 , another embodiment of the method for crossing the target obstacle of the present application is proposed.
[0104] The third embodiment of the target obstacle crossing method is different from the first and second embodiments of the target obstacle crossing method in that, when the sweeping robot is detected to be in the target state, before the step of acquiring the current first pitch angle, the method further includes:
[0105] Step S04, obtaining obstacle information during the forward movement of the sweeping robot;
[0106] Step S05, determining the target obstacle according to the obstacle information;
[0107] Step S06: clear the target obstacle from the obstacle map to put the sweeping robot in the target state.
[0108] In this embodiment, before the sweeping robot performs a task, it is usually necessary to obtain a map of the cleaning area and arrange a cleaning path to prevent the sweeping robot from touching obstacles during the cleaning process.
[0109] It can be understood that in this embodiment, when the sweeping robot obtains the cleaning map, there is an area that needs to be passed through that is divided into obstacles (for example, a threshold), then the threshold needs to be removed from the obstacles and regarded as the target obstacle that the sweeping robot needs to cross.
[0110] In the present application, when a target obstacle is in an obstacle map, the target obstacle is cleared from the obstacle map to prevent the sweeping robot from performing an avoidance operation on the target obstacle, which causes the sweeping robot to be unable to complete cleaning of all cleaning areas.
[0111] The step of determining the target obstacle according to the obstacle information comprises:
[0112] Step S06, obtaining target information in the obstacle information;
[0113] Step S07: when the target information is equal to the preset information, determining that the obstacle corresponding to the target information is the target obstacle.
[0114] In this embodiment, the method for removing the target obstacle in the obstacle map may be to obtain the target information of all obstacles, wherein the target information includes height information, width information, or contour information, etc. When there is an obstacle equal to the preset information among all the target information (for example, the height is equal, or the height, width, and contour information are all equal), the obstacle corresponding to the target information equal to the preset information is determined as the target obstacle, and the target obstacle can be accurately determined.
[0115] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0116] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.
[0117] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.
[0118] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.
[0119] It should be noted that in the claims, any reference signs placed between brackets shall not be construed as limiting the claims. The word "comprising" does not exclude the presence of components or steps not listed in the claims. The word "a" or "an" preceding a component does not exclude the presence of a plurality of such components. The present application may be implemented by means of hardware comprising several different components and by means of a suitably programmed computer. In a unit claim enumerating several means, several of these means may be embodied by the same item of hardware. The use of the words first, second, and third etc. does not indicate any order. These words may be interpreted as names.
[0120] Although the optional embodiments of the present application have been described, those skilled in the art, once informed of the basic creative concept, may make additional changes and modifications to these embodiments. Therefore, the appended claims are intended to be interpreted as including optional embodiments and all changes and modifications falling within the scope of the present application.
[0121] Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalents, the present application is also intended to include these modifications and variations.
Claims
1. A method for crossing a target obstacle, characterized in that: The method for crossing the target obstacle includes: It is detected that the cleaning robot is in a target state, and a first pitch angle of the cleaning robot is acquired, wherein the target state is a state in which the cleaning robot is on a target obstacle; If the value of the first pitch angle is greater than a first preset value, determining whether the cleaning robot is in a slipping state; If it is determined that the cleaning robot is in the slipping state, obtaining surrounding environmental information, wherein the environmental information includes environmental information on the target obstacle and environmental information around the target obstacle; A strategy for crossing the target obstacle is determined according to the environmental information, so that the cleaning robot crosses the target obstacle according to the strategy, wherein the strategy includes a processing strategy for the target obstacle and a control strategy for the cleaning robot.
2. The method for crossing a target obstacle according to claim 1, characterized in that: The environmental information on the target obstacle includes a small amount of accumulated water on the target obstacle; Correspondingly, the processing strategy for the target obstacle includes performing dry mopping processing on the target obstacle when there is a small amount of accumulated water on the target obstacle, thereby passing through the target obstacle.
3. The method for crossing a target obstacle according to claim 1, characterized in that: The environmental information around the target obstacle includes other objects around the robot vacuum cleaner; Correspondingly, the control strategy for the sweeping robot includes executing a backward operation and changing another route to pass through the target obstacle.
4. The method for crossing a target obstacle according to claim 1, characterized in that: The step of determining a strategy for crossing the target obstacle according to the environmental information comprises: The space where the target obstacle is located is divided into two halves with the center of the forward direction of the cleaning robot as the baseline, and the environmental information on both sides of the target obstacle is obtained respectively; Obtaining the degree of openness of the environmental information on each side of the target obstacle; A strategy for crossing the target obstacle is determined according to the degree of openness.
5. The method for crossing a target obstacle according to claim 4, characterized in that: The step of determining a strategy for crossing the target obstacle according to the degree of openness includes: The cleaning robot is controlled to increase the rotation speed of the driving wheel on the side with a higher degree of openness.
6. The method for crossing a target obstacle according to claim 5, characterized in that: Before the step of obtaining the surrounding environment information, the method further includes: Acquiring height information of the target obstacle; Determine the distance for the sweeping robot to perform a backward operation according to the height information; The cleaning robot is controlled to perform the backward operation until the horizontal plane of the cleaning robot is at a target position equal to the distance, so as to obtain the environmental information of the target obstacle at the target position.
7. The method for crossing a target obstacle according to claim 5, characterized in that: After the step of controlling the cleaning robot to increase the rotation speed of the driving wheel on the side with a higher degree of openness, the method further includes: Get the second pitch angle; When the second pitch angle is greater than a second preset value, the rotation speed of the driving wheel on the other side is increased.
8. The method for crossing a target obstacle according to claim 1, characterized in that: Before the step of detecting that the sweeping robot is in the target state and obtaining the first pitch angle of the sweeping robot, the method further includes: Obtain obstacle information during the moving process of the sweeping robot; determining the target obstacle according to the obstacle information; The target obstacle is cleared from the obstacle map so that the cleaning robot is in the target state.
9. A sweeping robot, characterized in that: The sweeping robot includes a processor, a memory, and a target obstacle crossing method program stored in the memory and executable on the processor. When the target obstacle crossing method program is executed by the processor, the steps of the target obstacle crossing method according to any one of claims 1 to 8 are implemented.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a target obstacle crossing method program, and when the target obstacle crossing method program is executed by a processor, the steps of the target obstacle crossing method according to any one of claims 1 to 8 are implemented.
