Robot scheduling method and device, robot, system and readable storage medium
By obtaining and updating motion paths on the robot side, predicting and avoiding collisions, the problem of central console downtime and collisions in multi-robot coexistence scenarios is solved, and the reliability of robot scheduling is improved.
Patent Information
- Application Number
- CN202410910793.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-07-08
- Publication Date
- 2024-10-11
AI Technical Summary
In the existing technology, in a multi-robot coexistence scenario, there is a risk of system crash due to the downtime of the central console, and collisions between robots are prone to occur.
By obtaining the motion path and time information of each robot on the robot side, it is predicted whether a collision will occur between robots, and the target motion path is updated based on the robot information to avoid collisions and improve scheduling reliability.
It reduces the risk of system crash caused by the central console downtime, and timely adjusts the movement path through information sharing, reducing the occurrence of collisions between robots and improving the reliability of robot scheduling.
Smart Images

Figure CN118760084A_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of robotics technology, and in particular, relates to a robot scheduling method, device, robot, system and readable storage medium. Background Art
[0002] As robot software and hardware technologies gradually mature, robots have been more widely used in people's work and daily life, and there are more and more scenarios where multiple robots coexist. For example, food delivery robots, warehouse robots, commercial cleaning robots, etc. often need to share common spaces and public facilities. Related technologies often use a central control console to dispatch multiple robots to ensure the rationality of different robots' use of shared spaces and public facilities, but there is a risk of system crashes due to the downtime of the central control console, and robots are prone to collisions and other problems. Summary of the invention
[0003] The embodiments of the present application provide a robot scheduling method, device, robot, system and readable storage medium, which can reduce the occurrence of collisions and improve the reliability of robot scheduling.
[0004] A first aspect of an embodiment of the present application provides a robot scheduling method, which is applied to a first robot, and the scheduling method includes: obtaining robot information of each robot, the each robot including the first robot and a second robot that has established a communication connection with the first robot, the robot information including a motion path of the corresponding robot and time information corresponding to the motion path; predicting whether a collision will occur between the first robot and the second robot based on the robot information; if a collision will occur between the first robot and the second robot, updating a target motion path based on the robot information, the target motion path being the motion path of at least one of the first robot and the second robot.
[0005] In some embodiments of the first aspect, the robot information also includes the position of a target point that the corresponding robot needs to reach; updating the target motion path based on the robot information includes: determining a target robot among the first robot and the second robot; using the motion path of the target robot as the target motion path, and updating the motion path of the target robot according to the position of the target point.
[0006] In some embodiments of the first aspect, the motion path of the target robot is updated according to the position of the target point, including: when the target point of the first robot and the target point of the second robot are the same, determining the position of the avoidance point according to the position of the target point; updating the first sub-path in the target motion path from the collision point to the target point according to the position of the target point and the position of the avoidance point to obtain an updated path of the target robot, and the updated path of the target robot is used to control the target robot to go from the collision point to the avoidance point to wait, and go to the target point after the non-target robot leaves the target point.
[0007] In some embodiments of the first aspect, the robot information also includes the current position of the corresponding robot; the updating of the motion path of the target robot according to the position of the target point includes: determining the position of the avoidance point according to the current position; determining a second sub-path pointing from the current position to the avoidance point, and a third sub-path pointing from the avoidance point to the target point according to the current position, the position of the avoidance point and the position of the target point; splicing the second sub-path with the third sub-path to obtain an updated path of the target robot, and the updated path of the target robot is used to control the target robot to wait at the avoidance point, and to go to the target point after the non-target robot leaves the target point.
[0008] In some embodiments of the first aspect, the scheduling method also includes: taking the motion path of the non-target robot as the target motion path, and updating the motion path of the non-target robot according to the updated path of the target robot; the updated path of the non-target robot is used to control the non-target robot to wait while the target robot is heading to the avoidance point, until the target robot reaches the avoidance point and heads to the target point.
[0009] In some embodiments of the first aspect, updating the target motion path according to the robot information includes: determining a host among the first robot and the second robot; if the first robot is the host, updating the target motion path according to the robot information, and transmitting the updated path to the second robot.
[0010] A robot scheduling device provided in the second aspect of an embodiment of the present application is configured on a first robot, and the scheduling device includes: an acquisition unit, used to acquire robot information of each robot, the each robot including the first robot and a second robot that has established a communication connection with the first robot, the robot information including a motion path of the corresponding robot and time information corresponding to the motion path; a collision prediction unit, used to predict whether a collision will occur between the first robot and the second robot based on the robot information; an update unit, used to update a target motion path based on the robot information if a collision will occur between the first robot and the second robot, the target motion path being the motion path of at least one of the first robot and the second robot.
[0011] A third aspect of an embodiment of the present application provides a robot, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above-mentioned robot scheduling method when executing the computer program.
[0012] A fourth aspect of an embodiment of the present application provides a robot system, comprising a plurality of robots, each robot being used to implement the steps of the robot scheduling method as described in any one of the first aspects.
[0013] A fifth aspect of an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the robot scheduling method of any one of the first aspects above are implemented.
[0014] A sixth aspect of an embodiment of the present application provides a computer program product. When the computer program product runs on a robot, it enables the robot to execute the steps of any robot scheduling method of the first aspect above.
[0015] In an embodiment of the present application, by acquiring the robot information of each robot, it is predicted whether a collision will occur between a first robot and a second robot that has established a communication connection with the first robot based on the motion path and the time information corresponding to the motion path. If a collision occurs between the first robot and the second robot, the motion path of at least one of the first robot and the second robot is updated based on the robot information. On the one hand, autonomous scheduling by the robots can avoid the risk of system crash and scheduling failure due to downtime of the central control console. On the other hand, the first robot can share information and, when a collision with the second robot is likely, promptly adjust its own motion path or adjust the motion path of the second robot for the second robot, thereby reducing the occurrence of collisions. Therefore, the reliability of robot scheduling can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0016] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art 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 drawings can be obtained based on these drawings without paying creative labor.
[0017] Figure 1 is a schematic diagram of the structure of the robot system provided in an embodiment of the present application;
[0018] Figure 2 It is a schematic diagram of the implementation flow of a robot scheduling method provided in an embodiment of the present application;
[0019] Figure 3 is a schematic diagram of the functional modules of the robot provided in the embodiment of the present application;
[0020] Figure 4 It is a schematic diagram of a specific implementation flow of step S203 provided in an embodiment of the present application;
[0021] Figure 5 is a first schematic diagram of a road network topology diagram provided in an embodiment of the present application;
[0022] Figure 6 is a second schematic diagram of a road network topology diagram provided in an embodiment of the present application;
[0023] Figure 7 It is a structural schematic diagram of a robot scheduling device provided in an embodiment of the present application;
[0024] Figure 8 It is a schematic diagram of the structure of the robot provided in the embodiment of the present application. DETAILED DESCRIPTION
[0025] In order to make the purpose, technical solutions 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 intended to limit the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without making creative work are protected by the present application.
[0026] It should be understood that when used in the present specification and the appended claims, the term "comprising" indicates the presence of described features, integers, steps, operations, elements and / or components, but does not exclude the presence or addition of one or more other features, integers, steps, operations, elements, components and / or combinations thereof.
[0027] In the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and should not be understood as indicating or implying relative importance.
[0028] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.
[0029] Related technologies often use a central control console to dispatch multiple robots to ensure the rational use of shared spaces and public facilities by different robots, but there is a risk of system crash due to the downtime of the central control console, and robots are prone to collisions. In view of this, the present application proposes a robot dispatching method that can perform dispatching control on the robot side and adjust the motion path for the collision problem of multiple robots, reduce the occurrence of collisions, and improve the dispatching reliability of robots.
[0030] In order to illustrate the technical solution of the present application, a specific embodiment is provided below for illustration.
[0031] Please refer to Figure 1 , Figure 1 The robot system provided by the present application is shown. The robot system may include multiple robots. The multiple robots may establish communication through a shared network or a mutual self-organizing network. After establishing communication, the multiple robots may transmit their own information to each other to achieve information sharing.
[0032] In the implementation manner of the present application, each robot in the robot system can use the scheduling method provided by the present application to integrate the information of all robots, run a multi-robot path planning algorithm (multi robot plnner), and plan the robot's motion path.
[0033] It is understandable that the above-mentioned robots can be different types of robots such as cleaning robots, welcoming robots, food delivery robots, warehouse robots, etc., and this application does not limit this. In addition, this application does not limit the specific structure of the robot. For example, the robot may include components such as a chassis, a joint module, a display screen, an image sensor, and a radar. At the same time, the structures of different robots can be the same or different.
[0034] Figure 2 The schematic diagram of the implementation flow of a robot scheduling method provided in an embodiment of the present application is shown, and the method can be applied to a first robot. The first robot can be any robot in the above robot system.
[0035] Specifically, the above robot scheduling method may include the following steps S201 to S203.
[0036] Step S201, obtaining robot information of each robot.
[0037] Each robot may include a first robot and a second robot that has established a communication connection with the first robot. Specifically, each robot in the robot system may establish a communication connection through long-distance communication, short-distance communication or other existing communication methods, and for any robot, the robot that has established a communication connection may serve as the second robot.
[0038] In the implementation of the present application, the robot information may include the motion path of the corresponding robot and the time information corresponding to the motion path. In addition, the robot information may also include but is not limited to the current position of the corresponding robot, speed information (including but not limited to linear speed, angular speed, linear acceleration, linear angular acceleration), state information (whether it is in avoidance / waiting / walking / emergency stop), robot identification, the position of the target point to be reached, and whether scheduling is allowed.
[0039] For the first robot, its own robot information can be obtained through its own components and external tasks or instructions. For example, the target point of the first robot can be obtained by the first robot according to the task information after receiving the task; the current position of the first robot can be obtained by the first robot through its own sensors; the movement path of the first robot and the time information corresponding to the movement path can be obtained by its own navigation module based on the current position of the robot, the position of the target point, and the speed information to predict the trajectory of the robot in the future.
[0040] At the same time, the first robot can receive the robot information of the second robot transmitted by the second robot through the established communication connection, so that information can be shared among the robots.
[0041] Step S202: predicting whether a collision will occur between the first robot and the second robot based on the robot information.
[0042] In the implementation of the present application, based on the motion path and the time information corresponding to the motion path, the specific position of each robot at each time point when moving along the motion path can be known, so that it can be predicted whether a collision will occur between the first robot and the second robot. The collision prediction method can be selected according to the time situation, for example, through the collision detection library (Flexible-collision-library, FCL) for analysis, or the motion path is mapped to a pre-drawn electronic map for analysis, which is not limited by the present application.
[0043] Step S203: if a collision occurs between the first robot and the second robot, the target motion path is updated according to the robot information.
[0044] In an embodiment of the present application, according to the result of the collision prediction, if there is no collision between the first robot and the second robot, the first robot and the second robot can move according to their own motion paths. If there is a collision between the first robot and the second robot, in order to avoid the collision, the target motion path needs to be updated according to the robot information. The target motion path can be the motion path of at least one of the first robot and the second robot, so that the motion path of at least one robot is changed, avoiding the collision between the first robot and the second robot.
[0045] In an embodiment of the present application, by acquiring the robot information of each robot, it is predicted whether a collision will occur between a first robot and a second robot that has established a communication connection with the first robot based on the motion path and the time information corresponding to the motion path. If a collision occurs between the first robot and the second robot, the motion path of at least one of the first robot and the second robot is updated based on the robot information. On the one hand, autonomous scheduling by the robots can avoid the risk of system crash and scheduling failure due to downtime of the central control console. On the other hand, the first robot can share information and, when a collision with the second robot is likely, promptly adjust its own motion path or adjust the motion path of the second robot for the second robot, thereby reducing the occurrence of collisions. Therefore, the reliability of robot scheduling can be improved.
[0046] The scheduling method provided in this application is described below through a specific implementation method.
[0047] In some embodiments of this application, please refer to Figure 3 ,A single robot in the robot system can include a map processing module, a ,positioning module, a multi-robot path planning algorithm module, a navigation ,planning module, and an interaction module.
[0048] The map processing module can be used to construct a robot road network topology map on the grid map (which can be in PNG format or JPG format) used for robot navigation, and parse it into digital information to input into the multi-robot path planning algorithm module.
[0049] The positioning module can be used to obtain the current position of the robot and input it into the multi-robot path planning algorithm module.
[0050] The multi-robot path planning algorithm module can be used to receive information from each robot, plan the motion path of each robot, and output the motion path of the robot to the navigation planning module.
[0051] The navigation planning module is used to receive the motion path output by the multi-robot path planning algorithm module, and control the movement of the robot according to the motion path through the navigation algorithm or the path planning algorithm.
[0052] The interactive module can be a touch screen or a remote communication device. The remote communication device can interact with devices such as a user terminal, a robot central console, etc. The interactive module can be used to receive task information, such as the target point to be reached.
[0053] Accordingly, in step S201, the robot information may include: the position of the robot's target point obtained by the interaction module, the robot's current position obtained by the positioning module, the road network topology obtained by the map processing module, and the robot's information. The robot's information may be a robot identification, speed information, state information, etc. The multi-robot path planning algorithm module may update the motion path based on the robot information, thereby outputting the motion path of each robot.
[0054] For details, please refer to Figure 4 In some embodiments of the present application, updating the target motion path according to the robot information may include steps S401 to S402.
[0055] Step S401: determining a target robot among the first robot and the second robot.
[0056] In some embodiments of the present application, the robot that arrives at the target point later can be determined based on the current position of the first robot, the current position of the second robot, and the position of the target point, and used as the target robot. For example, the Euclidean distance between the current position of the first robot and the position of the target point, and the Euclidean distance between the current position of the second robot and the position of the target point can be calculated, and the robot with the shortest Euclidean distance can be used as the target robot. In this way, the robot that arrives later can avoid by updating the motion path to avoid collision.
[0057] In other embodiments of the present application, a priority may be pre-assigned to each robot, and a robot with a low priority may be used as a target robot.
[0058] Step S402: taking the motion path of the target robot as the target motion path, and updating the motion path of the target robot according to the position of the target point.
[0059] In some embodiments of the present application, the motion path of the target robot is updated according to the position of the target point, which may include: when the target point of the first robot and the target point of the second robot are the same, determining the position of the avoidance point according to the position of the target point, and updating the first sub-path in the target motion path from the collision point to the target point according to the position of the target point and the position of the avoidance point to obtain an updated path of the target robot.
[0060] Specifically, if the target point of the first robot and the target point of the second robot are at the same position or the distance between them is less than the distance threshold, it can be confirmed that the target point of the first robot and the target point of the second robot are the same. Alternatively, if the target point of the first robot and the target point of the second robot are the same point in the road network topology map, it can be confirmed that the target point of the first robot and the target point of the second robot are the same.
[0061] Since the target point of the first robot and the target point of the second robot are the same and a collision may occur, it is necessary to update the motion path of the target robot in the first robot and the second robot. The updated path of the target robot can be used to control the target robot to wait at the avoidance point from the collision point, and to move to the target point after the non-target robot leaves the target point.
[0062] Specifically, the avoidance point can be any position point within a preset distance range of the target point, or can be a node closest to the target point in the road network topology. The position of the collision point can be obtained during the aforementioned collision prediction. The non-target robot is a robot other than the target robot among the first robot and the second robot.
[0063] Please refer to Figure 5 In the road network topology shown in the figure, the movement path of robot A is from its current position to point f, and the movement path of robot B is from its current position to point f. If robot A arrives first, robot B will be used as the target robot, and the first sub-path from the collision point c to point f will be updated to the path from the collision point c to the nearest point e to wait until robot A leaves from point f and then enters the path to point f. At this time, the collision problem between robot A and robot B is solved, and when there are a large number of robots, deadlock is not likely to occur.
[0064] In some other embodiments of the present application, updating the motion path of the target robot according to the position of the target point may include: determining the position of the avoidance point according to the current position, determining a second subpath from the current position to the avoidance point, and a third subpath from the avoidance point to the target point according to the current position, the position of the avoidance point, and the position of the target point. The second subpath and the third subpath are spliced to obtain an updated path of the target robot.
[0065] The updated path of the target robot is used to control the target robot to wait at the avoidance point, and to go to the target point after the non-target robot leaves the target point.
[0066] Specifically, the avoidance point may be any position point within a preset distance range of the current position, or may be a node in the road network topology map that is closest to the current position.
[0067] Please refer to Figure 6 In the road network topology shown in the figure, the movement path of robot A is from its current position to point d, and the movement path of robot B is from its current position to point a. Robot A has a low priority, so robot A will be used as the target robot. At this time, a second sub-path from the current position of robot A to the closest point i and a third sub-path from point i to point d can be determined, and the updated path can be obtained by splicing. At this time, robot A can go to point i to wait for robot B to arrive at point a and leave from point a, and then go to point d. The collision problem between robot A and robot B is solved.
[0068] In practical applications, the target robot may collide with the non-target robot in the process of going to the avoidance point. In order to solve this problem, in some embodiments of the present application, the motion path of the non-target robot can be used as the target motion path, and the motion path of the non-target robot can be updated according to the updated path of the target robot. At this time, the updated path of the non-target robot can be used to control the non-target robot to wait in the process of the target robot going to the avoidance point until the target robot reaches the avoidance point and goes to the target point.
[0069] For example, the aforementioned Figure 6 In the example, while robot A is heading to point i, robot B can wait until robot A reaches point i and then robot B goes to point a.
[0070] In order to reduce the amount of calculation, in some embodiments of the present application, a host can be determined between the first robot and the second robot. The host can be the robot with the highest priority or the highest computing power among the first robot and the second robot. If the first robot is the host, the target motion path can be updated according to the robot information, and the updated path can be transmitted to the second robot.
[0071] Correspondingly, if the second robot is the host, the updated path transmitted by the second robot can be received.
[0072] In this way, the host can update the motion path between the first robot and the second robot, and the slave only needs to navigate according to the result provided by the host.
[0073] In some embodiments of the present application, for the robot serving as the host, in order to output the updated path more efficiently, the frequency of data transmission, reception and processing of the robot serving as the host can be reduced. The data here can be data transmitted by other robots to the robot serving as the host.
[0074] Specifically, the required data processing frequency can be determined according to the size of the road network topology (or the number of nodes, the number of route branches), and the robot's data transmission and reception and processing frequency can be adjusted according to the data processing frequency.
[0075] In some embodiments of the present application, after completing the update of the motion path, the first robot and the second robot can move according to their own updated paths. When encountering obstacles, the robots can use the navigation planning module to use local planning to avoid obstacles. If the obstacle avoidance fails, a prompt message can be output and the path of the robot can be replanned.
[0076] Among them, the local planning obstacle avoidance method can adopt a timed elastic band (TEB) local path planning algorithm, a dynamic window approach (DWA), or other existing local path planning algorithms, which is not limited in this application.
[0077] The implementation method of this application adopts a centralized multi-robot path planning algorithm to obtain the current global optimal solution. The multi-robot path planning algorithm is deployed on each robot, and the robots communicate with each other. Unlike the centralized deployment, there is no risk of system crash due to the downtime of the central control console, and robots can join or exit the robot system at any time.
[0078] It should be noted that, for the sake of simplicity of description, the aforementioned method embodiments are all expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited to the described order of actions, because according to the present application, certain steps can be performed in other orders.
[0079] like Figure 7 Shown is a schematic structural diagram of a robot scheduling device 700 provided in an embodiment of the present application, wherein the robot scheduling device 700 is configured on a first robot.
[0080] Specifically, the robot scheduling device 700 may include:
[0081] An acquiring unit 701 is used to acquire robot information of each robot, wherein each robot includes the first robot and a second robot that has established a communication connection with the first robot, and the robot information includes a motion path of the corresponding robot and time information corresponding to the motion path;
[0082] A collision prediction unit 702, configured to predict whether a collision will occur between the first robot and the second robot according to the robot information;
[0083] The updating unit 703 is configured to update a target motion path according to the robot information if a collision occurs between the first robot and the second robot, wherein the target motion path is a motion path of at least one of the first robot and the second robot.
[0084] In some embodiments of the present application, the robot information may also include the position of the target point that the corresponding robot needs to reach; the above-mentioned update unit 703 can be specifically used to: determine the target robot among the first robot and the second robot; use the motion path of the target robot as the target motion path, and update the motion path of the target robot according to the position of the target point.
[0085] In some embodiments of the present application, the above-mentioned update unit 703 can be specifically used for: when the target point of the first robot and the target point of the second robot are the same, determining the position of the avoidance point according to the position of the target point; updating the first sub-path in the target motion path from the collision point to the target point according to the position of the target point and the position of the avoidance point, to obtain the updated path of the target robot, and the updated path of the target robot is used to control the target robot to go from the collision point to the avoidance point to wait, and go to the target point after the non-target robot leaves the target point.
[0086] In some embodiments of the present application, the robot information may also include the current position of the corresponding robot; the above-mentioned updating unit 703 may be specifically used to: determine the position of the avoidance point according to the current position; determine a second sub-path pointing from the current position to the avoidance point, and a third sub-path pointing from the avoidance point to the target point according to the current position, the position of the avoidance point and the position of the target point; splice the second sub-path with the third sub-path to obtain an updated path of the target robot, and the updated path of the target robot is used to control the target robot to wait at the avoidance point, and to go to the target point after the non-target robot leaves the target point.
[0087] In some embodiments of the present application, the above-mentioned updating unit 703 can be specifically used to: use the motion path of the non-target robot as the target motion path, and update the motion path of the non-target robot according to the updated path of the target robot; the updated path of the non-target robot is used to control the non-target robot to wait when the target robot goes to the avoidance point, until the target robot reaches the avoidance point and goes to the target point.
[0088] In some embodiments of the present application, the above-mentioned update unit 703 can be specifically used to: determine the host between the first robot and the second robot; if the first robot is the host, update the target motion path according to the robot information, and transmit the updated path to the second robot.
[0089] It should be noted that, for the convenience and simplicity of description, the specific working process of the above robot scheduling device 700 can be referred to Figures 2 to 6 The corresponding process of the method will not be repeated here.
[0090] like Figure 8 , which is a schematic diagram of a robot provided in an embodiment of the present application. Specifically, the robot 8 may include: a processor 80, a memory 81, and a computer program 82 stored in the memory 81 and executable on the processor 80, such as a robot scheduling program. When the processor 80 executes the computer program 82, the steps in the above-mentioned robot scheduling method embodiments are implemented, such as Figure 2 Alternatively, when the processor 80 executes the computer program 82, the functions of each module / unit in the above-mentioned device embodiments are realized, for example Figure 7 The functions of the acquisition unit 701, the collision prediction unit 702 and the updating unit 703 are shown.
[0091] The computer program may be divided into one or more modules / units, which are stored in the memory 81 and executed by the processor 80 to complete the present application. The one or more modules / units may be a series of computer program instruction segments capable of completing specific functions, which are used to describe the execution process of the computer program in the robot.
[0092] For example, the computer program can be divided into: an acquisition unit, a collision prediction unit, and an update unit. The specific functions of each unit are as follows: an acquisition unit, used to acquire robot information of each robot, wherein each robot includes the first robot and a second robot that has established a communication connection with the first robot, and the robot information includes a motion path of the corresponding robot and time information corresponding to the motion path; a collision prediction unit, used to predict whether a collision will occur between the first robot and the second robot based on the robot information; an update unit, used to update a target motion path based on the robot information if a collision will occur between the first robot and the second robot, wherein the target motion path is the motion path of at least one of the first robot and the second robot.
[0093] The robot may include, but is not limited to, a processor 80 and a memory 81. Those skilled in the art will appreciate that Figure 8 These are merely examples of robots and do not constitute a limitation of the robot. The robot may include more or fewer components than those shown in the figure, or a combination of certain components, or different components. For example, the robot may also include input and output devices, network access devices, buses, etc.
[0094] The processor 80 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), off-the-shelf programmable gate arrays or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.
[0095] The memory 81 may be an internal storage unit of the robot, such as a hard disk or memory of the robot. The memory 81 may also be an external storage device of the robot, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the robot. Furthermore, the memory 81 may include both an internal storage unit and an external storage device of the robot. The memory 81 is used to store the computer program and other programs and data required by the robot. The memory 81 may also be used to temporarily store data that has been output or is to be output.
[0096] It should be noted that, for the convenience and brevity of description, the structure of the above robot can also refer to the specific description of the structure in the method embodiment, which will not be repeated here.
[0097] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.
[0098] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0099] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
[0100] In the embodiments provided in the present application, it should be understood that the disclosed devices / robots and methods can be implemented in other ways. For example, the device / robot embodiments described above are merely schematic. For example, the division of the modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.
[0101] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0102] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0103] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium. It should be noted that the content contained in the computer-readable medium can be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.
[0104] The embodiments described above are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, a person skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. Such modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A robot scheduling method, It is characterized in that Applied to the first robot, the scheduling method includes: Acquire robot information of each robot, wherein each robot includes the first robot and a second robot that has established a communication connection with the first robot, and the robot information includes a motion path of the corresponding robot and time information corresponding to the motion path; predicting, based on the robot information, whether a collision will occur between the first robot and the second robot; If a collision will occur between the first robot and the second robot, a target motion path is updated according to the robot information, where the target motion path is a motion path of at least one of the first robot and the second robot.
2. The robot scheduling method according to claim 1, It is characterized in that The robot information also includes the position of the target point that the robot needs to reach; The updating of the target motion path according to the robot information includes: determining a target robot among the first robot and the second robot; The motion path of the target robot is used as the target motion path, and the motion path of the target robot is updated according to the position of the target point.
3. The robot scheduling method according to claim 2, It is characterized in that The updating of the motion path of the target robot according to the position of the target point comprises: When the target point of the first robot is the same as the target point of the second robot, determining the position of the avoidance point according to the positions of the target points; According to the position of the target point and the position of the avoidance point, the first sub-path in the target motion path from the collision point to the target point is updated to obtain the updated path of the target robot. The updated path of the target robot is used to control the target robot to go from the collision point to the avoidance point to wait, and to go to the target point after the non-target robot leaves the target point.
4. The robot scheduling method according to claim 2, It is characterized in that The robot information also includes the current position of the corresponding robot; and updating the motion path of the target robot according to the position of the target point includes: Determine the position of the avoidance point according to the current position; Determine, according to the current position, the position of the avoidance point, and the position of the target point, a second subpath pointing from the current position to the avoidance point, and a third subpath pointing from the avoidance point to the target point; The second sub-path is spliced with the third sub-path to obtain an updated path of the target robot, and the updated path of the target robot is used to control the target robot to wait at the avoidance point and to go to the target point after the non-target robot leaves the target point.
5. The robot scheduling method according to claim 2, It is characterized in that The scheduling method further includes: The motion path of the non-target robot is used as the target motion path, and the motion path of the non-target robot is updated according to the updated path of the target robot; the updated path of the non-target robot is used to control the non-target robot to wait when the target robot goes to the avoidance point, until the target robot reaches the avoidance point and goes to the target point.
6. The robot scheduling method according to any one of claims 1 to 5, It is characterized in that The updating of the target motion path according to the robot information includes: determining a host machine among the first robot and the second robot; If the first robot is the host, the target motion path is updated according to the robot information, and the updated path is transmitted to the second robot.
7. A robot scheduling device, It is characterized in that Configured on the first robot, the scheduling device includes: an acquisition unit, configured to acquire robot information of each robot, wherein each robot includes the first robot and a second robot that has established a communication connection with the first robot, and the robot information includes a motion path of the corresponding robot and time information corresponding to the motion path; a collision prediction unit, configured to predict whether a collision will occur between the first robot and the second robot based on the robot information; An updating unit is used to update a target motion path according to the robot information if a collision occurs between the first robot and the second robot, wherein the target motion path is a motion path of at least one of the first robot and the second robot.
8. A robot comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, It is characterized in that When the processor executes the computer program, the steps of the robot scheduling method according to any one of claims 1 to 6 are implemented.
9. A robotic system, It is characterized in that The method comprises a plurality of robots, each of which is used to implement the steps of the robot scheduling method as claimed in any one of claims 1 to 6.
10. A computer-readable storage medium storing a computer program. It is characterized in that When the computer program is executed by a processor, the steps of the robot scheduling method according to any one of claims 1 to 6 are implemented.
Citation Information
Cited By
Robot scheduling method and device and storage medium
CN120540233A
