Robot control method and device, computer equipment and readable storage medium

By obtaining the target operation area of ​​perceived unstable elements in the map and determining the corresponding operation tasks, the mobile path is generated, and the problem of path planning instability and collision of robots in difficult-to-perceive environments is solved, and efficient and accurate path planning and stability are achieved. operate.

CN119024854APending Publication Date: 2024-11-26SHENZHEN PUDU TECH CO LTD
View PDF 0 Cites 2 Cited by

Patent Information

Application Number
CN202411331789.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-24
Publication Date
2024-11-26

Smart Images

  • Figure CN119024854A_ABST
    Figure CN119024854A_ABST
Patent Text Reader

Abstract

The invention relates to a robot control method and device, computer equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: acquiring a target operation area corresponding to a perceptual unstable element in a map; obtaining an initial operation area based on the map, and determining a first operation task corresponding to the initial operation area and a second operation task corresponding to the target operation area according to a position relationship between the initial operation area and the target operation area; according to the to-be-executed target operation task, generating a moving path corresponding to the target operation task, and executing the target operation task according to the moving path corresponding to the target operation task until all the target operation tasks are executed one by one; the target operation task is one of the first operation task and the second operation task. By adopting the method, the moving path of the robot in a scene in which a physical object which is difficult to sense stably exists can be efficiently and accurately planned.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of robot control technology, and in particular to a robot control method, device, computer equipment, computer-readable storage medium and computer program product. Background Art

[0002] In the field of robot control technology, in the scenario of robot operation, the robot performs path planning based on the surrounding environment.

[0003] However, in the related technology, when there are physical objects that are difficult to perceive stably in the scene where the robot is operating, the performance of the sensors carried by the robot may cause instability and inaccuracy in the robot's perception and observation of the physical objects, making it difficult to efficiently and accurately generate the robot's movement path, and collision failures are very likely to occur. Summary of the invention

[0004] Based on this, it is necessary to provide a robot control method, device, computer equipment, computer-readable storage medium and computer program product that can efficiently and accurately plan the robot's movement path in scenes where physical objects are difficult to perceive stably, in order to address the above-mentioned technical problems.

[0005] In a first aspect, the present application provides a robot control method, comprising:

[0006] Acquire a target operating area corresponding to the perceived unstable element in the map; the target operating area is an area determined according to the influence range of the perceived unstable element;

[0007] An initial operation area is acquired based on the map, and a first operation task corresponding to the initial operation area and a second operation task corresponding to the target operation area are determined according to a positional relationship between the initial operation area and the target operation area; the first operation task is used to operate the robot in the initial operation area based on an area not involving the target operation area, and the second operation task is used to operate the robot based on the target operation area;

[0008] According to the target operation task to be executed, a moving path corresponding to the target operation task is generated, so as to execute the target operation task according to the moving path corresponding to the target operation task until all the target operation tasks are executed one by one; the target operation task is one of the first operation task and the second operation task.

[0009] In one of the embodiments, obtaining the target operating area corresponding to the perceived unstable element in the map includes: obtaining position information and configuration information corresponding to the perceived unstable element in the map; determining geometric features corresponding to the influence range of the perceived unstable element in the map according to the position information and configuration information corresponding to the perceived unstable element; and obtaining the target operating area corresponding to the perceived unstable element according to the geometric features corresponding to the influence range of the perceived unstable element.

[0010] In one of the embodiments, the first operating task corresponding to the initial operating area and the second operating task corresponding to the target operating area are determined based on the positional relationship between the initial operating area and the target operating area, including: if the target operating area exists in the initial operating area, the first operating task is used as a task for operating the robot based on an area other than the target operating area in the initial operating area; if the target operating area does not exist in the initial operating area, the first operating task is used as a task for operating the robot based on the initial operating area; the second operating task is used as a task for operating the robot based on the target operating area, and only when the second operating task is executed, the target operating area is used as an area where passage is allowed.

[0011] In one embodiment, the target operation task is a second operation task, and generating a moving path corresponding to the target operation task according to the target operation task to be executed includes: determining the target posture of the robot when entering the target operation area according to the geometric features corresponding to the target operation area, and determining candidate points from points in an area outside the target operation area according to the target posture; determining the target point corresponding to the target operation area from each candidate point according to the distance between each candidate point and the target operation area; when the robot moves to the target point, treating the target operation area as an area where passage is allowed, and generating a moving path corresponding to the second operation task.

[0012] In one embodiment, the target operation task is a second operation task, and generating a moving path corresponding to the target operation task based on the target operation task to be executed includes: obtaining a unit coverage range of the robot; the unit coverage range is the range that the robot can cover under a preset working state; according to the unit coverage range of the robot, determining the intervals between each moving path segment of the robot in the target operation area, and obtaining each moving path segment covering the target operation area; generating a moving path corresponding to the second operation task according to the moving order and moving direction corresponding to each moving path segment.

[0013] In one embodiment, the target operation task is a second operation task, and executing the target operation task according to the moving path corresponding to the target operation task includes: in the target operation area, if it is detected that the robot is at risk of colliding with the target object at the current position, then, among the points in the area outside the target operation area, according to the distance between each point and the current position of the robot, an avoidance point is determined; according to the activity range of the target object, an avoidance path from the current position to the avoidance point is determined; according to the avoidance path, an updated moving path is obtained, and after leaving the target operation area according to the updated moving path, the second operation task is interrupted.

[0014] In a second aspect, the present application also provides a robot control device, comprising:

[0015] An acquisition module, used to acquire a target operation area corresponding to a perceived unstable element in a map; the target operation area is an area determined according to an influence range of the perceived unstable element;

[0016] a task determination module, configured to obtain an initial operation area based on the map, and determine a first operation task corresponding to the initial operation area and a second operation task corresponding to the target operation area according to a positional relationship between the initial operation area and the target operation area; the first operation task is configured to operate the robot based on an area in the initial operation area that is not related to the target operation area, and the second operation task is configured to operate the robot based on the target operation area;

[0017] A generation module is used to generate a moving path corresponding to the target operation task to be executed, so as to execute the target operation task according to the moving path corresponding to the target operation task until all the target operation tasks are executed one by one; the target operation task is one of the first operation task and the second operation task.

[0018] In a third aspect, the present application further provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the above steps when executing the computer program.

[0019] In a fourth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein the computer program implements the above steps when executed by a processor.

[0020] In a fifth aspect, the present application also provides a computer program product, including a computer program, which implements the above steps when executed by a processor.

[0021] The above-mentioned robot control method, device, computer equipment, computer-readable storage medium and computer program product first obtain the target operating area corresponding to the perceived unstable element in the map, and obtain the initial operating area based on the map, and adaptively determine the operating tasks corresponding to the initial operating area and the target operating area respectively according to the positional relationship between the initial operating area and the target operating area, and then accurately generate the movement path in the initial operating area and the target operating area according to each operation task; based on this, in a scene where there are physical objects that are difficult for the robot to stably perceive, the area involved and the area not involved in the physical object can be adaptively distinguished at the geographical location level and the operation task level, and then according to the distinguished geographical locations and the corresponding operation tasks, the movement path of the robot can be efficiently and accurately planned in a targeted manner. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0023] Figure 1 A schematic diagram of a flow chart of a robot control method in one embodiment;

[0024] Figure 2 A schematic diagram of the structure of an unstable sensing element in one embodiment;

[0025] Figure 3 A schematic diagram of determining a target operating area corresponding to a perceived unstable element in an embodiment;

[0026] Figure 4 A schematic diagram of determining a target point corresponding to a target operating area in an embodiment;

[0027] Figure 5 A schematic diagram of determining a moving path corresponding to a target operating area in an embodiment;

[0028] Figure 6 A schematic flow chart of a robot control method in another embodiment;

[0029] Figure 7 is a structural block diagram of a robot control device in one embodiment;

[0030] Figure 8 FIG. 4 is a diagram showing the internal structure of a computer device in one embodiment. DETAILED DESCRIPTION

[0031] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. 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.

[0032] In an exemplary embodiment, a robot control method is provided. This embodiment uses the method applied to a terminal as an example. It is understandable that the method can also be applied to a server, and can also be applied to a system including a terminal and a server, and can be implemented through the interaction between the terminal and the server, or can be implemented through the interaction between the terminal and the terminal. Among them, the terminal can be a computer device, such as a robot, a smart wearable device, a self-moving balance car, etc.; it is understandable that the robot can be a delivery robot (commercial delivery robot, industrial delivery robot, AGV (Automated Guided Vehicle, automatic navigation vehicle) robot), a guide robot, a disinfection robot, a cleaning robot, an inspection robot, and other self-moving robots, which are not specifically limited here. The server can be an independent physical server or a service node in a blockchain system. The service nodes in the blockchain system form a peer-to-peer (P2P) network. The P2P protocol is an application layer protocol running on the Transmission Control Protocol (TCP) protocol. In addition, the server can also be a server cluster composed of multiple physical servers, and can be a cloud server that provides cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDN), and basic cloud computing services such as big data and artificial intelligence platforms. The robot and the server can be connected through Bluetooth, USB (Universal Serial Bus) or network communication connection methods, and this application does not limit this.

[0033] In an exemplary embodiment, Figure 1 As shown, a robot control method is provided, and the method is applied to a robot as an example for explanation, which includes the following steps S102 to S106, wherein:

[0034] Step S102, obtaining a target operating area corresponding to the perceived unstable element in the map; the target operating area is an area determined according to the influence range of the perceived unstable element.

[0035] Among them, the map is a planar representation of the physical space, which reflects the layout of the physical space; further, the map is a planar representation of the working area where the robot is located, which reflects the layout of the working area where the robot is located, that is, each element in the map is a mark and description of physical objects such as obstacles, terrains, landmarks, etc. in the working area where the robot is located.

[0036] Among them, the unstable perception elements in the map can represent the planar representation in the map of physical objects that are difficult for the robot in the physical space to perceive stably; that is, when the robot detects the physical object through sensors, cameras and other equipment, it is easy to have false detection, missed detection, and failure to detect.

[0037] Optionally, physical objects that are difficult for the robot to perceive stably may represent physical objects with transparent properties, for example: they may represent physical objects with glass materials or glass appearances, such as glass doors, glass tables, glass display cabinets, glass shelves and other items; they may also represent physical objects with transparent or translucent plastic materials or plastic appearances, such as plastic tables and chairs, plastic boxes and other items.

[0038] Optionally, the physical objects that are difficult for the robot to perceive stably may represent physical objects with high reflective properties, for example: they may represent physical objects with metal materials or metal appearances, such as copperware, stainless steel furniture, etc.; they may also represent physical objects with mirror materials, such as plane mirrors, stereo mirrors, etc.; they may also represent physical objects with reflective coating materials, such as reflective labels, reflective hoods, etc.

[0039] Optionally, the physical objects that are difficult for the robot to perceive stably may represent physical objects with strong light source characteristics, such as spotlights, LED lights, lasers and other light source devices for generating light, and optical devices for processing light such as laser projectors and condensers.

[0040] Optionally, the physical objects that are difficult for the robot to perceive stably may represent physical objects with strong electromagnetic field characteristics, such as power supplies, motors, transformers, inverters and other equipment related to electromagnetic field generation, regulation and control or energy conversion, and antennas, radio transmitters and receivers and other equipment related to electromagnetic field communication.

[0041] Among them, the operating area represents the area where the robot operates in the physical space; the target operating area represents the operating area where there are physical objects that are difficult for the robot to perceive stably; one perception unstable element corresponds to one target operating area.

[0042] Optionally, if the robot is a cleaning robot, the operating area represents the area in the physical space that needs to be cleaned by the cleaning robot; if the robot is a delivery robot, the operating area represents the area in the physical space that needs to be delivered by the delivery robot; if the robot is a patrol robot, the operating area represents the area in the physical space that needs to be inspected for safety by the patrol robot.

[0043] Among them, the operating area can also represent the area where the robot operates in the physical space, which is a plane representation in the map; the target operating area can represent the plane representation in the map of the operating area where there are physical objects that are difficult for the robot to stably perceive.

[0044] Exemplarily, in a map, based on the influence range of the perceived unstable element, the target operating area corresponding to the perceived unstable element in the map is determined; further, the target operating area is mapped to the physical space to obtain the target operating area corresponding to the physical object of the perceived unstable element in the physical space.

[0045] Optionally, the influence range of the perceived unstable element may be represented by a plane representation of the influence range corresponding to the physical object in the physical space in the map. The influence range corresponding to the physical object in the physical space may be represented by the activity range corresponding to the physical object in the physical space, that is, the space occupied by the physical object during the activity. For example, the activity range of an openable glass door includes its fully closed position, fully open position, and all positions of the opening and closing angles in between. The activity range of a glass shelf includes its starting position, final position, and all positions in between.

[0046] Optionally, the influence range corresponding to the physical object in the physical space may also represent the surrounding area affected by the activity of the physical object in the physical space during its activity, for example, an area where there is a risk of collision with other objects during the activity of an opening and closing glass door or glass shelf, or a safety buffer area set according to its activity range, or an area that may be touched by protruding parts such as handles of the device.

[0047] Step S104, obtaining an initial operating area based on a map, and determining a first operating task corresponding to the initial operating area and a second operating task corresponding to the target operating area according to a positional relationship between the initial operating area and the target operating area; the first operating task is used to operate the robot in the initial operating area based on an area not involving the target operating area, and the second operating task is used to operate the robot based on the target operating area.

[0048] Among them, the initial operating area may represent an operating area preliminarily determined in a map or in a physical space corresponding to the map according to actual robot business needs; the number of initial operating areas may be at least one.

[0049] Exemplarily, the positional relationship between the initial operating area and the target operating area includes: a separation relationship between the initial operating area and the target operating area, that is, the two are completely separated, or only the boundary is in contact with no overlapping part; an overlapping relationship between the initial operating area and the target operating area, that is, the two are completely overlapped, or partially overlap with an overlapping part; an inclusion relationship between the initial operating area and the target operating area, that is, the initial operating area completely contains the target operating area, or the target operating area completely contains the initial operating area.

[0050] Exemplarily, based on the positional relationship between the initial operating area and the target operating area, it is determined whether the initial operating area involves the target operating area, so as to adaptively determine the actual operating area involved in the first operating task corresponding to the initial operating area, and specifically use the target operating area as the operating area involved in the second operating task.

[0051] Exemplarily, if there are multiple initial operating areas and multiple target operating areas, the positional relationship between each initial operating area and each target operating area can be traversed to adaptively determine the first operating task corresponding to each initial operating area and the second operating task corresponding to each target operating area.

[0052] Optionally, the entire area corresponding to the map can be directly used as the initial operating area, or a certain area in the map can be designated as the initial operating area; the entire area corresponding to the map can also be divided according to a specified area division method, and the initial operating area can be determined based on the sub-areas obtained by the division. For example, the entire area can be divided into multiple sub-areas arranged in a grid and of equal area, and each sub-area can be used as a different initial operating area.

[0053] Optionally, if the robot is a cleaning robot, the first operating task is used to clean the area not involved in the target operating area in the initial operating area, and the second operating task is used to clean the target operating area; if the robot is a delivery robot, the first operating task is used to deliver items corresponding to the area not involved in the target operating area in the initial operating area, and the second operating task is used to deliver items corresponding to the target operating area; if the robot is a patrol robot, the first operating task is used to perform safety inspections on the area not involved in the target operating area in the initial operating area, and the second operating task is used to perform safety inspections on the target operating area.

[0054] Step S106, generating a moving path corresponding to the target operation task according to the target operation task to be executed, and executing the target operation task according to the moving path corresponding to the target operation task until all the target operation tasks are executed one by one; the target operation task is one of the first operation task and the second operation task.

[0055] Among them, the moving path corresponding to the target operation task can represent the corresponding moving path in the overall process of the operation task in the operation area corresponding to the target operation task, when the robot enters the operation area to work and leaves the operation area after completing the work.

[0056] Among them, the moving path corresponding to the target operation task can also represent, in the operation area corresponding to the target operation task, if the robot detects that it has collided with an obstacle or is about to collide with an obstacle, the corresponding moving path in the operation task burst process in which the robot makes an avoidance action; wherein, the avoidance action can mean staying in place, detouring in the operation area, or leaving the operation area.

[0057] Optionally, according to each target operation task to be executed, a moving path corresponding to each target operation task is generated, which is equivalent to generating a moving path corresponding to the target operation task in a targeted manner according to the type of the operation area corresponding to the target operation task; wherein the type of the operation area includes the target operation area, and the area other than the target operation area in the initial operation area.

[0058] Optionally, the moving path corresponding to the target operation task can be further determined in a multi-dimensional and comprehensive manner based on parameter information such as the area, shape, environmental conditions, and importance of the operation area corresponding to the target operation task.

[0059] Optionally, each target operation task can be executed one by one in a specified order, for example: first execute each first operation task one by one, and then execute each second operation task one by one; first execute each second operation task one by one, and then execute each first operation task one by one; sort the initial operation area and the target operation area according to a specified sorting method, and execute the corresponding target operation tasks in sequence according to the sorting results, for example, sort the initial operation area and the target operation area according to factors such as the importance of different operation areas, environmental conditions, and arrangement position in the map.

[0060] In this embodiment, first, the target operating area corresponding to the perceived unstable element in the map is obtained, and the initial operating area is obtained based on the map, and the operating tasks corresponding to the initial operating area and the target operating area are adaptively determined according to the positional relationship between the initial operating area and the target operating area, and then the moving paths in the initial operating area and the target operating area are accurately generated according to each operating task; based on this, in a scenario where there are physical objects that are difficult for the robot to perceive stably, the areas involved and not involved in the physical object can be adaptively distinguished at the geographical location level and at the operating task level, and then the moving path of the robot can be targetedly planned efficiently and accurately according to the distinguished geographical locations and the corresponding operating tasks.

[0061] In an exemplary embodiment, obtaining a target operating area corresponding to a perceived unstable element in a map includes steps S202 to S206, wherein:

[0062] Step S202, obtaining location information and configuration information corresponding to the perceived unstable element in the map.

[0063] Exemplarily, when a physical object in a physical space is mapped to a map, the position information of the physical object in the physical space is correspondingly mapped to the position information of the perceptually unstable element in the map; wherein the position information of the perceptually unstable element may represent the position, orientation, etc. of the perceptually unstable element in the map.

[0064] Exemplarily, when a physical object in a physical space is mapped to a map, the configuration information of the physical object in the physical space is correspondingly mapped to the configuration information of the perceptually unstable element in the map; wherein the configuration information of the perceptually unstable element may represent the type of the perceptually unstable element, the configuration method of the components of the perceptually unstable element, and the size of the perceptually unstable element and its components in the map.

[0065] Alternatively, if Figure 2 As shown, when the physical object that is difficult for the robot in the physical space to stably perceive is a refrigerator made of glass, the refrigerator is mapped to the map to obtain the perception unstable element corresponding to the refrigerator. Among them, in the configuration information of the perception unstable element: the type of the perception unstable element is represented, and the perception unstable element is a plane representation of a physical object of the refrigerator type; the configuration mode of the components of the perception unstable element represents the type, quantity and activity mode of the components, that is, the components of the perception unstable element include glass door X, glass door Y, glass door Z and accommodating space W. When the glass door is in a closed state, each glass door is sequentially arranged on the same side of the accommodating space W, and the opening and closing of the push-out glass door is realized by opening and closing in a circular motion around one end.

[0066] Optionally, among the above-mentioned perceived unstable elements, the dimensions of the perceived unstable elements and their components in the map are represented, including the thickness, curvature, rotation radius and other information of the glass door X, glass door Y and glass door Z, and the length, width and area and other information of the accommodating space W.

[0067] Optionally, field surveys may be conducted in the physical space in advance to obtain position information and configuration information of physical objects in the physical space that are difficult for the robot to stably perceive; when mapping the physical objects in the physical space into perceived unstable elements in the map, the position information and configuration information of the perceived unstable elements are correspondingly mapped.

[0068] Step S204: determining, in the map, geometric features corresponding to the influence range of the perceived unstable element according to the position information and configuration information corresponding to the perceived unstable element.

[0069] The geometric features corresponding to the influence range of the perceived unstable element indicate that the influence range of the perceived unstable element is defined and described in a geometric manner.

[0070] Exemplarily, the influence range of the perceived unstable element can be described by a specified geometric shape; for example, the influence range of the perceived unstable element can be described by a rectangular geometric shape, such as Figure 3 As shown, refer to Figure 2 The physical object is difficult for the robot to stably perceive. The side with the glass doors is taken as the glass wall, the length of the glass wall is taken as the length of the rectangle, and the width of the glass door is taken as the width of the rectangle, so as to define and describe the influence range of the unstable perception element through the geometric shape of the rectangle.

[0071] Optionally, applicable geometric shapes can be selected based on the configuration information of the perceptually unstable elements to adaptively define and describe the influence range of the perceptually unstable elements; applicable geometric shapes can also be selected based on the position information between different perceptually unstable elements to adaptively define and describe the influence ranges of different perceptually unstable elements respectively, so as to avoid overlapping of the influence ranges corresponding to different perceptually unstable elements.

[0072] For example, the influence range of the perceived unstable element can be described by a specified annotation method; for example, based on describing the influence range of the perceived unstable element by a geometric shape, the points of the geometric shape are annotated, such as Figure 3 As shown, in the rectangular influence range corresponding to the physical object that is difficult for the robot to stably perceive, the lower left vertex, lower right vertex, upper right vertex, and upper left vertex of the rectangle are labeled A, B, C, and D in a clockwise order.

[0073] Optionally, based on the description of the influence range of the perceived unstable element through the geometric shape, the area, side length, perimeter and other information of the geometric shape may be marked.

[0074] Step S206, obtaining a target operating area corresponding to the perceived unstable element according to the geometric features corresponding to the influence range of the perceived unstable element.

[0075] For example, the robot can determine the influence range of the perceived unstable element in the map according to the position information and configuration information corresponding to the perceived unstable element through the specified geometric shape and annotation method, so as to use the influence range of the perceived unstable element in the map as the target operation area corresponding to the perceived unstable element in the map. Figure 3 The rectangle determined by points ABCD is the target operating area.

[0076] Optionally, a field survey may be conducted in the physical space in advance, and the influence range corresponding to the physical object in the physical space may be determined based on the measured position information and configuration information of the physical object in the physical space that is difficult for the robot to stably perceive, and the influence range corresponding to the physical object in the physical space may be used as the target operating area corresponding to the physical object in the physical space; the target operating area corresponding to the physical object in the physical space may then be mapped to the map to obtain the target operating area corresponding to the perceived unstable element in the map; thereby enabling the robot to directly obtain the target operating area corresponding to the perceived unstable element.

[0077] In this embodiment, by using the position information and configuration information corresponding to the perceived unstable element, the influence range described by geometric features corresponding to the perceived unstable element is adaptively and visually determined in the map, and then the target operating area corresponding to the perceived unstable element is obtained efficiently and accurately.

[0078] In an exemplary embodiment, according to the positional relationship between the initial operation area and the target operation area, determining the first operation task corresponding to the initial operation area and the second operation task corresponding to the target operation area includes steps S302 to S306, wherein:

[0079] Step S302: If there is a target operating area in the initial operating area, the first operating task is used as a task for operating the robot based on an area other than the target operating area in the initial operating area.

[0080] For example, if there is a target operating area in the initial operating area, it may indicate that there is an overlapping relationship or an inclusion relationship between the initial operating area and the target operating area.

[0081] Optionally, if an initial operating area overlaps with a target operating area, the actual operating area corresponding to the first operating task can be determined based on the overlapping area. For example, if an initial operating area partially overlaps with a target operating area, the area except the partially overlapping area is used as the actual operating area corresponding to the first operating task. If an initial operating area completely overlaps with a target operating area, the initial operating area is regarded as the target operating area, and there is no actual operating area for the first operating task corresponding to the initial operating area, which can be understood as the initial operating area has no corresponding first operating task.

[0082] Optionally, if an initial operating area and a target operating area have an inclusion relationship, the actual operating area corresponding to the first operating task can be determined based on the included area. For example, if an initial operating area completely includes a target operating area, the area in the initial operating area except the target operating area will be used as the actual operating area corresponding to the first operating task. If a target operating area completely includes an initial operating area, the initial operating area will be regarded as a part of the target operating area, and there is no actual operating area for the first operating task corresponding to the initial operating area, which can be understood as the initial operating area has no corresponding first operating task.

[0083] Optionally, if the robot is a cleaning robot and there is a target operating area in the initial operating area, the first operating task is used as a task for cleaning an area other than the target operating area in the initial operating area.

[0084] Step S304: If the target operating area does not exist in the initial operating area, the first operating task is used as a task for operating the robot based on the initial operating area.

[0085] Exemplarily, if the target operating area does not exist in the initial operating area, it may indicate that there is a separation relationship between the initial operating area and the target operating area.

[0086] Optionally, if an initial operating area is separated from a target operating area, the actual operating area corresponding to the first operating task can be determined based on the initial operating area. For example, if an initial operating area is completely separated from a target operating area, or only has boundary contact without any overlapping part, the initial operating area will be used as the actual operating area corresponding to the first operating task.

[0087] Optionally, if the robot is a cleaning robot and there is no target operating area in the initial operating area, the first operating task is used as a task for cleaning the initial operating area.

[0088] Step S306: The second operation task is used as a task for operating the robot based on the target operation area, and the target operation area is used as a passable area only when the second operation task is executed.

[0089] Exemplarily, the target operating area is directly used as the actual operating area corresponding to the second operating task, which is equivalent to independently setting an operating task for a physical object that is difficult for the robot to stably perceive, and completely setting it as the actual operating area corresponding to the operating task based on the influence range corresponding to the physical object.

[0090] Exemplarily, for a target operating area, the target operating area is marked as an area where passage is allowed only when the robot performs the second operating task corresponding to the target operating area; when the robot performs an operating task corresponding to an area outside the target operating area, for example, when performing the first operating task corresponding to an area outside the target operating area, or when performing the second operating task corresponding to other target operating areas, the target operating area is marked as an area where passage is prohibited.

[0091] Exemplarily, when the robot completes a first operation task corresponding to an initial operation area and moves to the next initial operation area, the movement path corresponding to the transition between the two initial operation areas does not pass through any target operation area.

[0092] Optionally, if the robot is a cleaning robot, the second operation task is used as a task for cleaning the target operation area.

[0093] In this embodiment, according to the positional relationship between the initial operation area and the target operation area, the actual operation area of ​​the first operation task corresponding to the initial operation area is adaptively determined, and the target operation area is specifically determined as the actual operation area of ​​the corresponding second operation task.

[0094] In an exemplary embodiment, the target operation task is the second operation task, and a moving path corresponding to the target operation task is generated according to the target operation task to be executed, including steps S402 to S406, wherein:

[0095] Step S402, determining the target posture of the robot when entering the target operation area according to the geometric features corresponding to the target operation area, and determining candidate points from points in the area outside the target operation area according to the target posture.

[0096] Among them, the target posture of the robot when entering the target operation area can indicate that the robot enters the target operation area through a specified position and a specified direction; the candidate point is a point preliminarily determined to correspond to the target posture of the robot when entering the target operation area, that is, when the robot enters the target operation area from the candidate point, it can enter the target operation area in the form of the target posture.

[0097] Exemplarily, the target posture of the robot when entering the target operating area is determined based on the geometric features corresponding to the target operating area. This can be expressed as determining the specified position and specified direction of the robot when entering the target operating area in the target operating area described by the geometric features, taking into account factors such as improving the robot's work efficiency as much as possible and avoiding collisions with physical objects.

[0098] Optionally, if the robot is a cleaning robot, factors such as avoiding missed cleaning and improving cleaning efficiency as much as possible are also taken into consideration to determine the designated position and designated direction of the cleaning robot when it enters the target operating area.

[0099] For example, Figure 4 As shown, refer to Figure 3 For the target operation area (rectangular area enclosed by ABCD), on the one hand, in order to avoid the problem of collision between the robot and physical objects when entering the target operation area as much as possible, the layout direction of the glass wall of the target operation area, that is, the layout direction of the AB side, is used as the direction when the robot enters the target operation area, that is, entering the target operation area according to the direction perpendicular to the AD side, or entering the target operation area according to the direction perpendicular to the BC side; on the other hand, in order to avoid the problem of missed cleaning as much as possible, the midpoint of the AD side or the midpoint of the BC side of the target operation area is used as the position of the robot when entering the target operation area.

[0100] Based on the direction and position of the robot when entering the target operating area determined above, a straight line is made in the target operating area that is parallel to the AB side and passes through the midpoint P of the AD side and the midpoint Q of the BC side, and the points on the straight line and outside the target operating area are taken as candidate points, that is, the points to the left of the midpoint P on the straight line and the points to the right of the midpoint Q on the straight line are taken as candidate points.

[0101] Step S404: determining a target point corresponding to the target operating area from among the candidate points according to the distances between the candidate points and the target operating area.

[0102] Among them, the target point is the point that is finally actually determined and corresponds to the target posture when the robot enters the target operation area, that is, when the robot enters the target operation area from the target point, it can enter the target operation area in the form of the target posture.

[0103] For example, according to the distances between each candidate point and the target operating area, the candidate point corresponding to the minimum distance can be directly used as the target point corresponding to the target operating area.

[0104] Exemplarily, according to the specified distance threshold condition, the candidate points satisfying the distance threshold condition can be preliminarily screened from the candidate points, and then, according to the distances between the candidate points satisfying the distance threshold condition and the target operation area, the candidate point satisfying the distance threshold condition corresponding to the minimum distance is used as the target point corresponding to the target operation area. The distance threshold condition is used to screen the candidate points whose distances from the target operation area are less than or equal to a preset threshold; the preset threshold is the maximum distance allowed when the robot can enter the target operation area from the current position in a timely manner when the robot is in an area outside the target operation area, or the maximum distance allowed when the robot can generate a moving path corresponding to the target operation area from the current position in a timely manner.

[0105] For example Figure 4 As shown, two circular areas can be obtained with the midpoint P and the midpoint Q as the origin and the above preset threshold as the radius; the candidate points within the circular area are used as candidate points that meet the distance threshold condition; and then according to the distances between each candidate point that meets the distance threshold condition and the target operation area, the candidate point that meets the distance threshold condition corresponding to the minimum distance is used as the target point corresponding to the target operation area.

[0106] For example, based on the distances between each candidate point and the target operating area and the roadblock conditions in the robot's operating environment, the candidate point with the minimum distance and no obstacles in the forward direction can be used as the target point corresponding to the target operating area.

[0107] Step S406: When the robot moves to the target point, the target operation area is used as a passable area, and a movement path corresponding to the second operation task is generated.

[0108] Exemplarily, when the robot moves to the target point, the robot pre-marks the target operation area as an area where passage is allowed, and pre-generates a movement path corresponding to the second operation task, so that the robot can operate in the target operation area according to the generated movement path.

[0109] In this embodiment, when the target operation task is the second operation task, first, at the level of geometric features of the target operation area, the target posture of the robot when entering the target operation area is adaptively determined. Secondly, at the level of the posture of the robot entering the target operation area, candidate points are preliminarily screened according to the target posture. Furthermore, at the level of the distance between the candidate point and the target operation area, the target point is further determined from the candidate points, thereby accurately realizing the robot entering the target operation area from the target point in the form of target posture.

[0110] In an exemplary embodiment, the target operation task is the second operation task, and a moving path corresponding to the target operation task is generated according to the target operation task to be executed, including steps S502 to S506, wherein:

[0111] Step S502, obtaining the unit coverage of the robot; the unit coverage is the range that the robot can cover in a preset working state.

[0112] Optionally, if the robot is a cleaning robot, the unit coverage range of the cleaning robot may represent the cleaning range that can be covered by the cleaning device of the cleaning robot under a preset cleaning state; wherein, the cleaning device of the cleaning robot may represent a device for realizing the cleaning function, which can achieve cleaning effects such as removing dust and dirt, dissolving stubborn stains, collecting liquids and debris, etc.; the preset cleaning state of the cleaning device may represent the normal working state of the cleaning robot during the cleaning process.

[0113] Optionally, if the robot is a patrol robot, the unit coverage range of the patrol robot may represent the monitoring range that the monitoring device of the patrol robot can cover under preset monitoring conditions; wherein, the monitoring device of the patrol robot may represent a device for realizing the monitoring function, and may include cameras and sensors to realize monitoring effects such as image data acquisition and sensor data acquisition; the preset monitoring state of the monitoring device may represent the normal working state of the patrol robot during the safety inspection process.

[0114] Optionally, if the robot is a delivery robot, the unit coverage range of the delivery robot may represent the item receiving range or item delivery range that can be covered by the item handling device of the delivery robot in a preset processing state; wherein, the item handling device of the delivery robot may represent a device for realizing the item receiving function or the item delivery function, and may include a robotic arm, a transmission belt, and a clamp to achieve the effect of grasping and placing items; wherein, the preset processing state of the item handling device may represent the normal working state of the delivery robot in the process of receiving or delivering items.

[0115] Optionally, if the robot is a cleaning robot, the unit coverage range of the cleaning robot may indicate the unit cleaning range that can be covered by the cleaning device under normal working conditions, for example, the coverage area, coverage radius, coverage diameter, etc. corresponding to the rotating brush in the cleaning device, or the coverage area, coverage width, etc. corresponding to the wiping pad in the cleaning device; for another example, it may also indicate the effective adsorption area corresponding to the cleaning device when collecting liquid and debris, and also indicate the effective spraying area corresponding to the cleaning device when spraying cleaning liquid to dissolve stubborn stains.

[0116] Step S504: determining the intervals between the various moving path segments of the robot in the target operating area according to the unit coverage of the robot, and obtaining the various moving path segments covering the target operating area.

[0117] Exemplarily, the moving path of the target operating area may be composed of multiple moving path segments, so that the robot passes through each moving path segment and runs in the target operating area in a covering manner; if the robot is a cleaning robot, the cleaning robot passes through each moving path segment to evenly and comprehensively clean the target operating area.

[0118] Exemplarily, each moving path segment may represent a rectangular path segment embedded in sequence, so that the cleaning robot passes through each moving path segment in sequence and achieves comprehensive cleaning of the target operating area with a “U”-shaped moving path.

[0119] like Figure 5 As shown, refer to Figure 3 The target operation area in the moving path of the target operation area is composed of a first moving path segment corresponding to a rectangle abcd and a second moving path segment corresponding to a rectangle efgh, and the second moving path segment is embedded in the first moving path segment.

[0120] First, according to the unit cleaning range of the cleaning robot, determine the intervals between each edge of the first moving path segment and the boundary of the target operating area. For example, the coverage radius corresponding to the rotating brush in the cleaning device is used as the interval between the ab edge of the first moving path segment and the AB edge of the target operating area, as well as the interval between the bc edge of the second moving path segment and the BC edge of the target operating area, as well as the interval between the cd edge of the first moving path segment and the CD edge of the target operating area, and as well as the interval between the da edge of the first moving path segment and the DA edge of the target operating area.

[0121] Furthermore, based on the unit cleaning range of the cleaning robot, the intervals between each edge of the first moving path segment and the corresponding edges of the second moving path segment are determined. For example, the coverage radius corresponding to the rotating brush in the cleaning device is used as the interval between the ab edge of the first moving path segment and the ef edge of the second moving path segment, as well as the interval between the bc edge of the first moving path segment and the fg edge of the second moving path segment, as well as the interval between the cd edge of the first moving path segment and the gh edge of the second moving path segment, and as well as the interval between the da edge of the first moving path segment and the he edge of the second moving path segment.

[0122] Optionally, each moving path segment may also represent a U-shaped path segment connected end to end in sequence, so that the cleaning robot passes through each moving path segment in turn and achieves comprehensive cleaning of the target operating area with a "bow"-shaped moving path.

[0123] For example, when the number of mobile path segments in the target operating area is not clear, the interval between the current mobile path segment and the next mobile path segment can be determined based on the unit coverage range of the robot, and then a new mobile path segment can be constructed according to the determined interval, until the robot achieves full coverage of the target operating area through all constructed mobile path segments, thereby obtaining the number of mobile path segments in the target operating area.

[0124] Step S506: Generate a moving path corresponding to the second running task according to the moving order and moving direction corresponding to each moving path segment.

[0125] Among them, the movement order corresponding to the movement path segments can represent sorting the movement path segments according to the arrangement of the movement path segments in the target operation area, so that when the robot moves in the target operation area, it passes through different movement path segments in sequence according to the sorting result.

[0126] The moving direction corresponding to the moving path segment may represent the moving direction of the robot when passing through the moving path segment.

[0127] For example, Figure 5 As shown, the moving order of each moving path segment is determined according to the order from the outside to the inside, that is, the moving order of the first moving path segment corresponding to the rectangle abcd precedes the moving order of the second moving path segment corresponding to the rectangle efgh; and then the same travel direction of all the moving path segments is used as the moving direction of each moving path segment, that is, the moving directions of the first moving path segment and the second moving path segment can both be counterclockwise travel directions, that is, the moving direction of the first moving path segment is the counterclockwise direction corresponding to the order of a, b, c, d, and the moving direction of the second moving path segment is the counterclockwise direction corresponding to the order of e, f, g, h.

[0128] Exemplarily, between the moving path segments of adjacent moving orders, when the robot completes the passage on the moving path segment of the current moving order, the point corresponding to the minimum distance on the moving path segment of the next moving order is determined based on the minimum distance between the current position of the robot and the moving path segment of the next moving order, and a path segment between the current position and the point is generated, so that the robot can transfer from the moving path segment of the current moving order to the moving path segment of the next moving order through the path segment.

[0129] Exemplarily, when the robot completes the passage on the moving path segment of the last moving sequence, a point with the minimum distance from the current position of the robot is determined in the area outside the target operating area, and the point is a safe point where there is no risk of collision with obstacles; the corresponding straight path segment can be directly determined according to the straight-line distance between the current position of the robot and the point, so that the robot can leave the target operating area and arrive at the point through the straight path segment; the path segment between the current position of the robot and the point can also be set accordingly according to the current roadblock conditions, so that the robot can leave the target operating area and safely arrive at the point through the path segment while bypassing obstacles.

[0130] In this embodiment, when the target operation task is the second operation task, first, according to the unit coverage range of the robot, the arrangement intervals between the various moving path segments of the robot are accurately determined to ensure that the robot fully covers the target operation area. Secondly, according to the movement order and movement direction corresponding to each moving path segment, the moving path corresponding to the second operation task is accurately and completely integrated.

[0131] In an exemplary embodiment, the target operation task is the second operation task, and the target operation task is executed according to the moving path corresponding to the target operation task, including steps S602 to S606, wherein:

[0132] Step S602: In the target operation area, if it is detected that the robot is at risk of colliding with the target object at its current position, avoidance points are determined among the points in the area outside the target operation area according to the distances between each point and the current position of the robot.

[0133] The target object may refer to a physical object in the target operating area, which may refer to a physical object that is difficult for the robot to stably perceive, or may refer to a physical object that the robot can stably perceive.

[0134] Exemplarily, among the points in the area other than the target operating area, the point with the minimum distance from the current position of the robot is used as an avoidance point, and the avoidance point is a safe point without the risk of collision with an obstacle.

[0135] Step S604: determining an avoidance path from the current position to the avoidance point according to the activity range of the target object.

[0136] Exemplarily, based on the activity range of the target object in the physical space, an avoidance path for the robot to move from the current position to the avoidance point is determined, and the avoidance path circumvents the activity range of the target object as much as possible to avoid collision with the target object.

[0137] Exemplarily, when the robot detects a target object with a collision risk in the physical space, the target object is mapped from the physical space to the map to obtain a planar representation of the target object in the map and a planar representation of the target object's activity range in the map; based on the planar representation of the target object and its activity range in the map, an avoidance path between the robot's current position and the avoidance point is planned.

[0138] Step S606, obtaining an updated moving path according to the avoidance path, and interrupting the second running task after leaving the target running area according to the updated moving path.

[0139] Exemplarily, based on the generated avoidance path, the movement path of the robot in the target operating area is updated to obtain an updated movement path when the robot performs the second operating task. After the robot leaves the target operating area according to the updated movement path, the second operating task is interrupted and the target operating area is marked as a prohibited area.

[0140] Exemplarily, interrupting the second operation task may mean setting the second operation task to an end state, that is, setting it to end the robot's operation in the target operation area corresponding to the second operation task; it may also mean setting the second operation task to a suspended state, that is, setting it to temporarily stop the robot's operation in the target operation area corresponding to the second operation task. The second operation task may be resumed after a preset period of time, so that the robot can re-perform full coverage of the target operation area, or continue to operate in the area that had not been reached when the second operation task was interrupted.

[0141] Optionally, if the robot is a cleaning robot, interrupting the second operation task may mean setting the second operation task to an end state, that is, setting the cleaning of the target operation area corresponding to the second operation task to be completed; it may also mean setting the second operation task to a suspended state, that is, setting the cleaning of the target operation area corresponding to the second operation task to be temporarily stopped, and the second operation task may be resumed after a preset period of time to re-clean the target operation area comprehensively, or continue cleaning the area that has not been cleaned when the second operation task is interrupted.

[0142] In this embodiment, in the target operating area, if it is detected that the robot is at risk of colliding with the target object at its current position, the avoidance point and avoidance path of the robot are adaptively determined so that the robot can efficiently and safely avoid the collision risk during operation in the target operating area.

[0143] In an exemplary embodiment, Figure 6 As shown, the method is applied to a cleaning robot, and the method further comprises the following steps:

[0144] Step S702, obtaining the perceived unstable elements in the map and the target operating areas corresponding to the perceived unstable elements; wherein the target operating areas corresponding to the perceived unstable elements are defined by polygonal geometric shapes, and the vertices of the polygons are sorted and numbered in a counterclockwise order.

[0145] Step S704, obtaining an initial operation area based on the map, and determining a first operation task corresponding to the initial operation area and a second operation task corresponding to the target operation area according to a positional relationship between the initial operation area and the target operation area.

[0146] Step S706, before the cleaning robot performs the second operation task, the target posture of the cleaning robot when entering the target operation area is determined according to the geometric features corresponding to the target operation area, and multiple candidate points matching the target posture are determined from the points in the area outside the target operation area; the candidate point with the smallest distance to the target operation area and no obstacle conflict is used as the target point of the cleaning robot before entering the target cleaning area.

[0147] Step S708, when the cleaning robot moves to the target point, the target operation area is marked as an area where passage is allowed; based on the obtained unit coverage range of the cleaning robot, the intervals between the various moving path segments of the cleaning robot in the target operation area are determined; and then based on the moving order and moving direction corresponding to each moving path segment, the moving path corresponding to the second operation task is generated.

[0148] In step S710, the cleaning robot enters the target operation area from the target point in the target posture, and starts to execute the second operation task, and performs cleaning according to the moving path corresponding to the second operation task.

[0149] Step S712, if the cleaning robot completes cleaning the target operating area in the target operating area, then among the points in the area outside the target operating area, the point with the smallest distance to the current position and no obstacle conflict is used as the end point; according to the positional relationship between the current position and the end point, the escape path from the current position to the end point is determined; after leaving the target operating area according to the escape path, the second operating task is terminated, and the target operating area is marked as a prohibited area.

[0150] Step S714, if the cleaning robot detects that there is a risk of collision with the target object at the current position in the target operation area, then among the points in the area outside the target operation area, the point with the shortest distance to the current position and no obstacle conflict is used as an avoidance point; according to the activity range of the target object, an avoidance path from the current position to the avoidance point is determined; after leaving the target operation area according to the avoidance path, the second operation task is terminated, and the target operation area is marked as a prohibited area.

[0151] Optionally, before the cleaning robot performs the first operation task, the moving path generation method corresponding to the first operation task can refer to the moving path generation method corresponding to the second operation task in step S708; but there is no need to pre-mark the initial operation area corresponding to the first operation task as an area where passage is allowed.

[0152] Optionally, after the cleaning robot completes cleaning the initial operating area corresponding to the first operating task, the cleaning robot can move directly to the next initial operating area for cleaning, or move to a target point corresponding to a target operating area to wait for execution of the second operating task corresponding to the target operating area.

[0153] Optionally, when the cleaning robot performs the first operation task, if it detects that there is a risk of collision with a target object at the current position, it bypasses the target object and continues to clean the initial operation area according to the original moving path, or regenerates the moving path in the initial operation area after bypassing.

[0154] Optionally, a graph search method, such as a breadth-first search algorithm (Breadth-First Search, BFS), may be used to traverse each point in the map, thereby calculating the end point in step S712 and the avoidance point in step S714, and then calculating the escape path in step S712 and the avoidance path in step S714.

[0155] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0156] Based on the same inventive concept, the embodiment of the present application also provides a robot control device for implementing the robot control method involved above. The implementation solution provided by the device to solve the problem is similar to the implementation solution recorded in the above method, so the specific limitations in one or more robot control device embodiments provided below can refer to the limitations of the robot control method above, and will not be repeated here.

[0157] In an exemplary embodiment, Figure 7 As shown, a robot control device is provided, including: an acquisition module 702, a task determination module 704 and a generation module 706, wherein:

[0158] An acquisition module 702 is used to acquire a target operation area corresponding to the perceived unstable element in the map; the target operation area is an area determined according to the influence range of the perceived unstable element;

[0159] The task determination module 704 is used to obtain an initial operation area based on a map, and determine a first operation task corresponding to the initial operation area and a second operation task corresponding to the target operation area according to a positional relationship between the initial operation area and the target operation area; the first operation task is used to operate the robot based on an area not involving the target operation area in the initial operation area, and the second operation task is used to operate the robot based on the target operation area;

[0160] Generation module 706 is used to generate a moving path corresponding to the target operation task according to the target operation task to be executed, so as to execute the target operation task according to the moving path corresponding to the target operation task until all the target operation tasks are executed one by one; the target operation task is one of the first operation task and the second operation task.

[0161] In an exemplary embodiment, the acquisition module 702 is also used to: obtain the position information and configuration information corresponding to the perceived unstable element in the map; determine the geometric features corresponding to the influence range of the perceived unstable element in the map based on the position information and configuration information corresponding to the perceived unstable element; and obtain the target operating area corresponding to the perceived unstable element based on the geometric features corresponding to the influence range of the perceived unstable element.

[0162] In an exemplary embodiment, the task determination module 704 is also used to: if there is a target operating area in the initial operating area, use the first operating task as a task for operating the robot based on an area other than the target operating area in the initial operating area; if there is no target operating area in the initial operating area, use the first operating task as a task for operating the robot based on the initial operating area; use the second operating task as a task for operating the robot based on the target operating area, and only when executing the second operating task, use the target operating area as an area where passage is allowed.

[0163] In an exemplary embodiment, the generation module 706 is also used to: determine the target posture of the robot when it enters the target operating area according to the geometric features corresponding to the target operating area, and determine candidate points from points in the area outside the target operating area according to the target posture; determine the target point corresponding to the target operating area from each candidate point according to the distance between each candidate point and the target operating area; when the robot moves to the target point, the target operating area is used as an area where passage is allowed, and a moving path corresponding to the second operating task is generated.

[0164] In an exemplary embodiment, the generation module 706 is also used to: obtain the unit coverage range of the robot; the unit coverage range is the range that the robot can cover under a preset working state; according to the single coverage range of the robot, determine the intervals between each moving path segment of the robot in the target operating area, and obtain each moving path segment covering the target operating area; according to the moving order and moving direction corresponding to each moving path segment, generate a moving path corresponding to the second operating task.

[0165] In an exemplary embodiment, the device also includes an execution module, which is used to: in the target operation area, if it is detected that the robot is at risk of colliding with the target object at the current position, then, among the points in the area outside the target operation area, an avoidance point is determined according to the distance between each point and the current position of the robot; according to the activity range of the target object, an avoidance path from the current position to the avoidance point is determined; according to the avoidance path, an updated movement path is obtained, and after leaving the target operation area according to the updated movement path, the second operation task is interrupted.

[0166] Each module in the above robot control device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0167] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Figure 8 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a robot control method is implemented. The display unit of the computer device is used to form a visually visible picture, which can be a display screen, a projection device or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer device can be a touch layer covering the display screen, or a button, trackball or touchpad set on the computer device shell, or an external keyboard, touchpad or mouse.

[0168] Those skilled in the art will understand that Figure 8 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0169] In an exemplary embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and the above steps are implemented when the processor executes the computer program.

[0170] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and the above steps are implemented when the computer program is executed by a processor.

[0171] In one embodiment, a computer program product is provided, comprising a computer program, which implements the above steps when executed by a processor.

[0172] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0173] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0174] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be construed as limiting the scope of the present application. It should be noted that, for a person of ordinary skill in the art, several modifications and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A robot control method, characterized in that: The method comprises: Acquire a target operating area corresponding to the perceived unstable element in the map; the target operating area is an area determined according to the influence range of the perceived unstable element; An initial operation area is acquired based on the map, and a first operation task corresponding to the initial operation area and a second operation task corresponding to the target operation area are determined according to a positional relationship between the initial operation area and the target operation area; the first operation task is used to operate the robot in the initial operation area based on an area not involving the target operation area, and the second operation task is used to operate the robot based on the target operation area; According to the target operation task to be executed, a moving path corresponding to the target operation task is generated, so as to execute the target operation task according to the moving path corresponding to the target operation task until all the target operation tasks are executed one by one; the target operation task is one of the first operation task and the second operation task.

2. The method according to claim 1, characterized in that The step of obtaining a target operating area corresponding to the perceived unstable element in the map includes: Obtaining location information and configuration information corresponding to the perceived unstable element in the map; Determining, in the map, geometric features corresponding to a range of influence of the perceived unstable element according to the position information and configuration information corresponding to the perceived unstable element; According to the geometric features corresponding to the influence range of the perceived unstable element, a target operating area corresponding to the perceived unstable element is obtained.

3. The method according to claim 1, characterized in that The determining, according to the positional relationship between the initial operation area and the target operation area, a first operation task corresponding to the initial operation area and a second operation task corresponding to the target operation area includes: If the target operation area exists in the initial operation area, the first operation task is used as a task for operating the robot based on an area other than the target operation area in the initial operation area; If the target operation area does not exist in the initial operation area, using the first operation task as a task for operating the robot based on the initial operation area; The second operation task is used as a task for operating the robot based on the target operation area, and the target operation area is used as a passage-allowed area only when the second operation task is executed.

4. The method according to claim 1, characterized in that: The target running task is a second running task, and generating a moving path corresponding to the target running task according to the target running task to be executed includes: Determine, according to the geometric features corresponding to the target operation area, a target posture of the robot when entering the target operation area, and determine candidate points from points in an area outside the target operation area according to the target posture; Determine the target point corresponding to the target operation area from each candidate point according to the distance between each candidate point and the target operation area; When the robot moves to the target point, the target operation area is used as a passage-allowed area, and a movement path corresponding to the second operation task is generated.

5. The method according to claim 1, characterized in that The target running task is a second running task, and generating a moving path corresponding to the target running task according to the target running task to be executed includes: Obtaining a unit coverage range of the robot; the unit coverage range is a range that the robot can cover in a preset working state; Determine, according to the unit coverage of the robot, the intervals between the respective moving path segments of the robot in the target operation area, and obtain the respective moving path segments covering the target operation area; A moving path corresponding to the second running task is generated according to the moving order and moving direction corresponding to each moving path segment.

6. The method according to claim 1, characterized in that The target operation task is a second operation task, and executing the target operation task according to the moving path corresponding to the target operation task includes: In the target operation area, if it is detected that the robot has a risk of colliding with the target object at the current position, then, among the points in the area outside the target operation area, an avoidance point is determined according to the distance between each point and the current position of the robot; Determining an avoidance path from the current position to the avoidance point according to the activity range of the target object; An updated moving path is obtained according to the avoidance path, and after leaving the target operating area according to the updated moving path, the second operating task is interrupted.

7. A robot control device, characterized in that: The device comprises: An acquisition module, used to acquire a target operation area corresponding to a perceived unstable element in a map; the target operation area is an area determined according to an influence range of the perceived unstable element; a task determination module, configured to obtain an initial operation area based on the map, and determine a first operation task corresponding to the initial operation area and a second operation task corresponding to the target operation area according to a positional relationship between the initial operation area and the target operation area; the first operation task is configured to operate the robot based on an area in the initial operation area that is not related to the target operation area, and the second operation task is configured to operate the robot based on the target operation area; A generation module is used to generate a moving path corresponding to the target operation task to be executed, so as to execute the target operation task according to the moving path corresponding to the target operation task until all the target operation tasks are executed one by one; the target operation task is one of the first operation task and the second operation task.

8. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Cited By

  • Safe obstacle avoidance method and device, electronic equipment and computer readable storage medium

    CN120871851A

  • Robot control method and apparatus, computer device, and readable storage medium

    WO2026066725A1