Control method and device, readable storage medium and robot system
Through the server, the server coordinates the coordinated operation of multiple robots and uses untouched robots to provide thrust assistance, solving the problem of wheeled robots being trapped on obstacles, and improving the success rate and efficiency of escape.
Patent Information
- Application Number
- CN202310488168.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-05-04
- Publication Date
- 2024-11-08
AI Technical Summary
Wheeled robots are easily trapped when encountering obstacles. In the prior art, the robot's own sensor detection and self-reliance ability is insufficient, resulting in a low success rate of escape.
Through server coordination, using the coordinated operation between multiple robots, untouched robots assist trapped robots in thrust-assisted escape, including determining auxiliary robots, sending escape signals, thrust direction adjustment and alternative robot selection to improve escape success Rate.
It significantly improves the success rate of robots to escape when encountering obstacles, ensures that robots can effectively escape from difficulties and avoid long-term occupation and work interruptions.
Smart Images

Figure CN118902323A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of robot control technology, and in particular to a control method, device, readable storage medium and robot system. Background Art
[0002] In the related art, when a wheeled robot, such as a sweeping robot, is working, it may be disturbed by obstacles, causing it to be unable to continue moving along a set route, causing the robot to be trapped.
[0003] When a robot is trapped, it usually relies on the detection results of its own sensors to determine the trapped situation and perform escape movements on its own. When the robot's own movement ability cannot meet the escape requirements, the robot cannot complete the escape, resulting in a low success rate for the robot to escape. Summary of the invention
[0004] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.
[0005] To this end, a first aspect of the present invention provides a control method for a mobile robot.
[0006] A second aspect of the present invention provides a control method for a mobile robot.
[0007] A third aspect of the present invention provides a control device for a mobile robot.
[0008] A fourth aspect of the present invention provides a control device for a mobile robot.
[0009] A fifth aspect of the present invention provides a control device for a mobile robot.
[0010] A sixth aspect of the present invention provides a readable storage medium.
[0011] A seventh aspect of the present invention provides a robot system.
[0012] In view of this, a first aspect of the present invention provides a control method for a mobile robot, which is applied to a server. The control method includes:
[0013] A trapped signal of the first robot is obtained; based on the trapped signal, the second robot is controlled to perform an auxiliary escape operation to assist the first robot in escaping from the trapped state.
[0014] In this technical solution, the first robot is a robot that is performing a work task, such as a sweeping robot that is performing an indoor cleaning task.
[0015] When the first robot is blocked by an obstacle, the first robot will first try to cross the obstacle or adjust the direction of travel to bypass the obstacle. After the first robot fails to cross the obstacle or bypass the obstacle for many times, the first robot determines that it has entered a trapped state, and at this time, the first robot sends a trapped signal to the server.
[0016] Exemplarily, the trapped signal carries information such as the trapped state, location information, and identification information of the first robot.
[0017] The server can be a cloud server, a robot base station, or a device such as an intelligent gateway that establishes a wireless network connection with the robot.
[0018] After receiving the trapped signal of the first robot, the server determines that the first robot is stuck due to external factors such as obstacles. At this time, the server controls the second robot to perform corresponding auxiliary escape operations, and uses the second robot to assist the first robot in escaping.
[0019] The embodiment of the present invention provides an assisted escape method based on multiple robots. After a robot is trapped, other robots are controlled to assist the trapped robot in escaping, thereby improving the success rate of the robot's escape.
[0020] In addition, the control method of the mobile robot in the above technical solution provided by the present invention may also have the following additional technical features:
[0021] In the above technical solution, after the step of controlling the second robot to perform the auxiliary escape operation, the control method further includes:
[0022] Determine the position information of the first robot according to the trapped signal; determine the second robot; send a first escape signal to the second robot, the first escape signal includes position information, control the second robot to move to the position included in the position information; control the second robot to perform an auxiliary escape operation.
[0023] In this technical solution, after receiving the distress signal from the first robot, the server confirms the identity and location information of the first robot according to the information carried in the distress signal.
[0024] The server searches for the second robot based on the location information carried in the trapped signal. In some implementations, the server may also determine the second robot based on the user's selection input.
[0025] The second robot may be another one of the parent-child robots that cooperate with the first robot, such as the first robot is a sweeping robot and the second robot is a mopping robot.
[0026] The second robot may also be another robot in the same working area as the first robot, such as another cleaning robot, a service robot, a monitoring robot, etc.
[0027] After finding the second robot, the server sends an escape signal to the second robot, specifically a first escape signal, and the first escape signal carries the location information of the trapped first robot.
[0028] After receiving the first escape signal, the second robot determines the trapped position of the first robot according to the first escape signal, and moves to the vicinity of the trapped position of the first robot according to the position information carried in the first escape signal.
[0029] After the second robot arrives at the trapped location of the first robot, the second robot determines the actual location of the first robot based on the identity information of the first robot and its own robot vision sensor, such as a camera or a lidar.
[0030] After determining the actual position of the first robot, the second robot moves to the vicinity of the first robot and performs an auxiliary escape operation to assist the first robot in escaping from the trap.
[0031] In the embodiment of the present invention, a second robot that is not trapped assists a first robot that is trapped to escape, thereby improving the success rate of the robots' escape.
[0032] In any of the above technical solutions, the step of controlling the second robot to perform the auxiliary escape operation includes: controlling the second robot to apply a thrust to the first robot along a first direction.
[0033] In this technical solution, when controlling the second robot to perform an auxiliary escape operation, the second robot is controlled to move to the first side of the first robot, wherein the first side of the first robot is specifically the tail or head of the first robot, and the second robot applies a thrust to the first robot along the first direction.
[0034] Exemplarily, the first direction can be the walking direction of the first robot, that is, the second robot applies a thrust to the first robot from the tail to the head of the first robot. At this time, the first robot can also drive the running wheels to rotate at the same time, combining the first robot's own movement ability and the auxiliary thrust of the second robot to help the first robot cross the obstacle, so that the trapped first robot can successfully escape.
[0035] The embodiment of the present invention provides a collaborative escape method among multiple robots, wherein an untrapped robot applies a thrust to a trapped robot to help the trapped robot escape from the trapped state, thereby improving the success rate of the robot's escape.
[0036] In any of the above technical solutions, after controlling the second robot to apply a thrust to the first robot along the first direction, the control method further includes:
[0037] When a timeout signal is received, the second robot is controlled to apply a thrust to the first robot along a second direction; wherein the timeout signal is a signal generated by the second robot when the duration of the second robot applying a thrust to the first robot is greater than a preset duration and the moving distance of the first robot is less than a distance threshold, and the second direction is perpendicular to or opposite to the first direction.
[0038] In this technical solution, after the second robot applies a thrust to the first robot along the first direction, the second robot records the time of applying the thrust and the moving distance of the first robot.
[0039] If the time taken by the second robot to push the first robot exceeds the preset time, and the distance the first robot is pushed is less than the preset distance threshold, it means that the second robot fails to push the first robot, that is, it is difficult for the first robot to escape along the current first direction. At this time, the second robot determines that the escape timeout has occurred and sends a timeout signal to the server.
[0040] After receiving the timeout signal, the server sends a second escape signal to the second robot. After receiving the second escape signal, the second robot applies a thrust to the first robot along the second direction to help the first robot escape in another direction.
[0041] The second direction may be a direction perpendicular to the first direction, or a direction opposite to the first direction.
[0042] When the trapped robot cannot be pushed in one direction, the embodiment of the present invention controls the robot for assisting in escaping to change direction and try to help the trapped robot escape, which can effectively improve the success rate of the robot's escape.
[0043] In any of the above technical solutions, determining the second robot according to the position information includes:
[0044] Determine at least one candidate robot; determine a distance value between each candidate robot in the at least one candidate robot and the first robot; and determine a second robot in the at least one candidate robot according to the distance value.
[0045] In this technical solution, the server determines an alternative robot based on the trapped location information of the first robot, and the alternative robot is a robot in the same area as the trapped location of the first robot, such as a robot in the living room.
[0046] After determining at least one candidate robot in the same area, the server further determines the distance value between each candidate robot and the first robot according to the position information of the candidate robots and the trapped position of the first robot.
[0047] The server selects an alternative robot that is closer to the first robot as the second robot based on the distance between the alternative robot and the first robot, and sends a first escape signal to the second robot. After receiving the first escape signal, the second robot moves to the trapped location of the first robot and helps the first robot escape.
[0048] The embodiment of the present invention selects a robot for helping a trapped robot to escape according to the distance information between the trapped robot and the trapped position, thereby improving the efficiency of escaping the robot.
[0049] In any of the above technical solutions, determining at least one candidate robot includes:
[0050] N standby robots in a standby state are determined, where N is a positive integer; and among the N standby robots, at least one candidate robot whose distance value to the first robot is less than a first threshold is determined.
[0051] In this technical solution, after receiving the trapped signal of the first robot, the server first obtains N standby robots that are currently in standby state and can be called by the server. The standby state specifically means that the robot has no task or work being performed and can be called by the server.
[0052] After determining the N standby robots that can be called, the server further determines the distance value between each of the N standby robots and the trapped first robot. According to the N distance values between the N standby robots and the first robot, one or more candidate robots whose distance values from the first robot are less than a first threshold are selected.
[0053] The embodiment of the present invention uses a robot in a standby state whose distance to the trapped location of the first robot is less than a first threshold as a backup robot, which can avoid interrupting the work progress of the robot in a working state and improve the success rate of the robot's escape while ensuring that the robot's work task is not affected.
[0054] In any of the above technical solutions, determining at least one candidate robot includes:
[0055] M online robots in an online state are determined, where M is a positive integer; and among the M online robots, at least one candidate robot whose distance value to the first robot is less than a second threshold is determined.
[0056] In this technical solution, a robot in an online state is a robot that can be called by a server. Specifically, when the robot is in an online state, the robot can exchange data with a host computer or a server through a gateway, and the server can call the online robot to perform corresponding tasks by sending a control signal.
[0057] On the other hand, if the robot is in an offline state, it means that the robot is turned off or disconnected from the network, and the robot cannot receive control signals from the server or host computer.
[0058] After receiving the trapped signal of the first robot, the server first obtains a device list of robots currently in an online state to obtain M online robots.
[0059] Then the server further determines the distance value between each of the M online robots and the trapped first robot. According to the M distance values between the M online robots and the first robot, one or more candidate robots whose distance values from the first robot are less than a second threshold are selected.
[0060] The embodiment of the present invention selects the robots whose distance values from the trapped location of the first robot are less than a second threshold among the online standby robots as candidate robots, so as to select as many candidate robots as possible and improve the success rate of the robots' escape.
[0061] In any of the above technical solutions, determining the second robot from at least one candidate robot according to the distance value includes:
[0062] The candidate robot with the smallest distance value is determined as the second robot.
[0063] In this technical solution, the candidate robot that is closest to the trapped first robot is determined as the second robot, thereby ensuring that the second robot can reach the trapped location of the first robot as soon as possible, thereby improving the efficiency of the robot's escape.
[0064] A second aspect of the present invention provides a control method for a mobile robot, which is applied to the robot. The control method comprises:
[0065] In response to the first escape signal from the server, a trapped robot is determined; and an auxiliary escape operation corresponding to the trapped robot is executed.
[0066] In this technical solution, when the robot is performing a task, if the robot is blocked by an obstacle and cannot escape by itself, the robot will send a trapped signal to the server. After receiving the trapped signal, the server determines the trapped area of the trapped robot based on the location information carried in the trapped signal.
[0067] The server may be a cloud server, a robot base station, or a device such as an intelligent gateway that establishes a wireless network connection with the robot.
[0068] The server determines a robot that can be used to help the trapped robot escape according to the trapped area, and sends a first escape signal to the robot.
[0069] After receiving the trapped signal of the first robot, the server determines that the first robot is stuck due to external factors such as obstacles. At this time, the server controls the second robot to perform corresponding auxiliary escape operations, and uses the second robot to assist the first robot in escaping.
[0070] The embodiment of the present invention provides an assisted escape method based on multiple robots. After a robot is trapped, other robots are controlled to assist the trapped robot in escaping, thereby improving the success rate of the robot's escape.
[0071] In the above technical solution, the step of executing the auxiliary escape operation corresponding to the trapped robot includes: applying a thrust to the trapped robot along a first direction.
[0072] In this technical solution, when the robot receives the first escape signal, it determines the trapped position of the trapped robot according to the first escape signal, and moves to the vicinity of the trapped position of the trapped robot according to the position information carried in the first escape signal.
[0073] After the current robot reaches the trapped location of the trapped robot, the current robot determines the actual location of the trapped robot based on the identity information of the trapped robot and its own robot vision sensors, such as a camera or a lidar.
[0074] After determining the actual position of the trapped robot, the second robot moves to the vicinity of the first robot and performs an auxiliary escape operation to assist the first robot in escaping.
[0075] In the embodiment of the present invention, a second robot that is not trapped assists a first robot that is trapped to escape, thereby improving the success rate of the robots' escape.
[0076] In any of the above technical solutions, after the step of applying a thrust to the trapped robot along the first direction, the control method further includes:
[0077] The moving distance of the trapped robot is recorded; when the time duration of applying thrust to the trapped robot is greater than a preset time duration and the moving distance is less than a distance threshold, a timeout signal is sent to the server.
[0078] In this technical solution, after the current robot applies thrust to the trapped robot along the walking direction of the trapped robot, that is, from the tail to the head of the trapped robot, the current robot records the time of applying the thrust and its own moving distance.
[0079] If the time taken by the current robot to push the trapped robot exceeds the preset time, and the moving distance of the trapped robot is less than the preset distance threshold, it means that the current robot fails to push the trapped robot, that is, it is difficult for the trapped robot to escape along the current first direction. At this time, the current robot determines that the escape timeout has occurred and sends a timeout signal to the server.
[0080] When the server receives the timeout signal, it can choose to control the current robot to push the trapped robot in another way, or control the current robot to return to its original position and send a prompt message that the robot is trapped to the user terminal, so as to help the user obtain the message that the robot is trapped in the first time and manually help the robot to get out of trouble.
[0081] The robot in the embodiment of the present invention determines whether it has successfully helped the trapped robot to escape based on the time and moving distance of pushing the trapped robot, and sends a timeout signal to the server when the escape timeout occurs. The server selects further escape tasks based on the timeout signal to avoid occupying the robot for a long time and improve the escape efficiency.
[0082] In any of the above technical solutions, after sending a timeout signal to the server, the control method further includes:
[0083] In response to a second escape signal from the server, a thrust is applied to the first robot along a second direction.
[0084] In this technical solution, after receiving the timeout signal, the server can send a second escape signal to the current robot. After receiving the second escape signal, the second robot applies a thrust to the first robot in the second direction to help the first robot escape in another direction.
[0085] The second direction may be a direction perpendicular to the first direction, or a direction opposite to the first direction.
[0086] When the trapped robot cannot be pushed in one direction, the embodiment of the present invention controls the robot for assisting in escaping to change direction and try to help the trapped robot escape, which can effectively improve the success rate of the robot's escape.
[0087] In any of the above technical solutions, the control method further includes: when it is detected that the robot is in a trapped state, sending a trapped signal to the server.
[0088] In this technical solution, when the robot is performing a task, if the robot is blocked by an obstacle, the robot will first try to cross the obstacle or adjust the direction of travel to bypass the obstacle. After the robot fails to cross the obstacle or bypass the obstacle several times, the robot determines that it has entered a trapped state, and at this time the robot sends a trapped signal to the server.
[0089] After receiving the trapped signal, the server searches for other robots that can assist the current robot in escaping from the trapped state based on the location information carried in the trapped signal, and uses the other robots to help the current robot escape from the trapped state.
[0090] The embodiment of the present invention provides a collaborative escape method between multiple robots. When a robot is trapped, it sends a trapped signal to a server. The server delegates other robots to help the trapped robot escape according to the trapped signal, thereby improving the success rate of the robot's escape.
[0091] A third aspect of the present invention provides a control device for a mobile robot, which is applied to a server, and the control device includes:
[0092] An acquisition module, used for acquiring a trapped signal of the first robot;
[0093] The control module is used to control the second robot to perform an auxiliary escape operation based on the trapped signal to assist the first robot in escaping from the trapped state.
[0094] In this technical solution, the first robot is a robot that is performing a work task, such as a sweeping robot that is performing an indoor cleaning task.
[0095] When the first robot is blocked by an obstacle, the first robot will first try to cross the obstacle or adjust the direction of travel to bypass the obstacle. After the first robot fails to cross the obstacle or bypass the obstacle for many times, the first robot determines that it has entered a trapped state, and at this time, the first robot sends a trapped signal to the server.
[0096] Exemplarily, the trapped signal carries information such as the trapped state, location information, and identification information of the first robot.
[0097] The server can be a cloud server, a robot base station, or a device such as an intelligent gateway that establishes a wireless network connection with the robot.
[0098] After receiving the trapped signal of the first robot, the server determines that the first robot is stuck due to external factors such as obstacles. At this time, the server controls the second robot to perform corresponding auxiliary escape operations, and uses the second robot to assist the first robot in escaping.
[0099] The embodiment of the present invention provides an assisted escape method based on multiple robots. After a robot is trapped, other robots are controlled to assist the trapped robot in escaping, thereby improving the success rate of the robot's escape.
[0100] A fourth aspect of the present invention provides a control device for a mobile robot, which is applied to the robot, and the control device comprises:
[0101] A determination module, configured to determine a trapped robot in response to a first escape signal from a server;
[0102] The execution module is used to execute the auxiliary escape operation corresponding to the trapped robot.
[0103] In this technical solution, when the robot is performing a task, if the robot is blocked by an obstacle and cannot escape by itself, the robot will send a trapped signal to the server. After receiving the trapped signal, the server determines the trapped area of the trapped robot based on the location information carried in the trapped signal.
[0104] The server may be a cloud server, a robot base station, or a device such as an intelligent gateway that establishes a wireless network connection with the robot.
[0105] The server determines a robot that can be used to help the trapped robot escape according to the trapped area, and sends a first escape signal to the robot.
[0106] After receiving the trapped signal of the first robot, the server determines that the first robot is stuck due to external factors such as obstacles. At this time, the server controls the second robot to perform corresponding auxiliary escape operations, and uses the second robot to assist the first robot in escaping.
[0107] The embodiment of the present invention provides an assisted escape method based on multiple robots. After a robot is trapped, other robots are controlled to assist the trapped robot in escaping, thereby improving the success rate of the robot's escape.
[0108] The fifth aspect of the present invention provides a control device for a mobile robot, comprising: a memory for storing programs or instructions; a processor for implementing the steps of the control method for the mobile robot provided in any of the above-mentioned technical solutions when executing the programs or instructions, and therefore also including all its beneficial effects, which will not be described here to avoid repetition.
[0109] The sixth aspect of the present invention provides a readable storage medium having a program or instruction stored thereon. When the program or instruction is executed by a processor, the steps of the mobile robot control method provided in any of the above technical solutions are implemented, and therefore all its beneficial effects are also included. To avoid repetition, they will not be repeated here.
[0110] The seventh aspect of the present invention provides a robot system, including a control device of a mobile robot as provided in any of the above technical solutions; and / or a readable storage medium as provided in any of the above technical solutions, and therefore also includes all its beneficial effects, which will not be repeated here to avoid repetition. BRIEF DESCRIPTION OF THE DRAWINGS
[0111] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:
[0112] Figure 1 One of the flow charts of the control method of the mobile robot according to the embodiment of the present invention is shown;
[0113] Figure 2 One of the robot control schematic diagrams of an embodiment of the present invention is shown;
[0114] Figure 3 The second schematic diagram of robot control according to the embodiment of the present invention is shown;
[0115] Figure 4 A second flowchart of the method for controlling a mobile robot according to an embodiment of the present invention is shown;
[0116] Figure 5 One of the structural block diagrams of the control device of the mobile robot according to the embodiment of the present invention is shown;
[0117] Figure 6 A second structural block diagram of the control device for a mobile robot according to an embodiment of the present invention is shown;
[0118] Figure 7 The third structural block diagram of the control device of the mobile robot according to the embodiment of the present invention is shown. DETAILED DESCRIPTION
[0119] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0120] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.
[0121] Refer to the following Figures 1 to 7 A control method, an apparatus, a readable storage medium, and a robot system according to some embodiments of the present invention are described.
[0122] In some embodiments of the present invention, a control method for a mobile robot is provided, which is applied to a server. Figure 1 FIG. 1 is a flow chart showing a method for controlling a mobile robot according to an embodiment of the present invention. Figure 1 As shown, the control method includes:
[0123] Step 102, obtaining a trapped signal of the first robot;
[0124] Step 104: Based on the trapped signal, control the second robot to perform an auxiliary escape operation to assist the first robot in escaping from the trapped state.
[0125] In an embodiment of the present invention, the first robot is a robot that is performing a work task, such as a sweeping robot that is performing an indoor cleaning task.
[0126] When the first robot is blocked by an obstacle, the first robot will first try to cross the obstacle or adjust the direction of travel to bypass the obstacle. After the first robot fails to cross the obstacle or bypass the obstacle for many times, the first robot determines that it has entered a trapped state, and at this time, the first robot sends a trapped signal to the server.
[0127] Exemplarily, the trapped signal carries information such as the trapped state, location information, and identification information of the first robot.
[0128] The server can be a cloud server, a robot base station, or a device such as an intelligent gateway that establishes a wireless network connection with the robot.
[0129] After receiving the trapped signal of the first robot, the server determines that the first robot is stuck due to external factors such as obstacles. At this time, the server controls the second robot to perform corresponding auxiliary escape operations, and uses the second robot to assist the first robot in escaping.
[0130] The embodiment of the present invention provides an assisted escape method based on multiple robots. After a robot is trapped, other robots are controlled to assist the trapped robot in escaping, thereby improving the success rate of the robot's escape.
[0131] Based on any of the above embodiments, after the step of controlling the second robot to perform the assisting escape operation, the control method further includes:
[0132] Determine the position information of the first robot according to the trapped signal; determine the second robot; send a first escape signal to the second robot, the first escape signal includes position information, control the second robot to move to the position included in the position information; control the second robot to perform an auxiliary escape operation.
[0133] In the embodiment of the present invention, after receiving the distress signal from the first robot, the server confirms the identity and location information of the first robot according to the information carried in the distress signal.
[0134] The server searches for the second robot based on the location information carried in the trapped signal. In some implementations, the server may also determine the second robot based on the user's selection input.
[0135] The second robot may be another one of the parent-child robots that cooperate with the first robot, such as the first robot is a sweeping robot and the second robot is a mopping robot.
[0136] The second robot may also be another robot in the same working area as the first robot, such as another cleaning robot, a service robot, a monitoring robot, etc.
[0137] After finding the second robot, the server sends an escape signal to the second robot, specifically a first escape signal, and the first escape signal carries the location information of the trapped first robot.
[0138] After receiving the first escape signal, the second robot determines the trapped position of the first robot according to the first escape signal, and moves to the vicinity of the trapped position of the first robot according to the position information carried in the first escape signal.
[0139] After the second robot arrives at the trapped location of the first robot, the second robot determines the actual location of the first robot based on the identity information of the first robot and its own robot vision sensor, such as a camera or a lidar.
[0140] After determining the actual position of the first robot, the second robot moves to the vicinity of the first robot and performs an auxiliary escape operation to assist the first robot in escaping from the trap.
[0141] In the embodiment of the present invention, a second robot that is not trapped assists a first robot that is trapped to escape, thereby improving the success rate of the robots' escape.
[0142] Based on any of the above embodiments, the step of controlling the second robot to perform the auxiliary escape operation includes: controlling the second robot to apply a thrust to the first robot along a first direction.
[0143] In this technical solution, when controlling the second robot to perform an auxiliary escape operation, the second robot is controlled to move to the first side of the first robot, wherein the first side of the first robot is specifically the tail or head of the first robot, and the second robot applies a thrust to the first robot along the first direction.
[0144] Exemplarily, the first direction can be the walking direction of the first robot, that is, the second robot applies a thrust to the first robot from the tail to the head of the first robot. At this time, the first robot can also drive the running wheels to rotate at the same time, combining the first robot's own movement ability and the auxiliary thrust of the second robot to help the first robot cross the obstacle, so that the trapped first robot can successfully escape.
[0145] For example, Figure 2 FIG. 1 shows one of the robot control schematic diagrams of an embodiment of the present invention, as shown in FIG. Figure 2 As shown, the first robot 202 is trapped, and the second robot 204 moves to a first side of the first robot 202 and pushes the first robot 202 along a first direction.
[0146] The embodiment of the present invention provides a collaborative escape method among multiple robots, wherein an untrapped robot applies a thrust to a trapped robot to help the trapped robot escape from the trapped state, thereby improving the success rate of the robot's escape.
[0147] Based on any of the above embodiments, after controlling the second robot to apply a thrust to the first robot along the first direction, the control method further includes:
[0148] When a timeout signal is received, the second robot is controlled to apply a thrust to the first robot along a second direction; wherein the timeout signal is a signal generated by the second robot when the duration of the second robot applying a thrust to the first robot is greater than a preset duration and the moving distance of the first robot is less than a distance threshold, and the second direction is perpendicular to or opposite to the first direction.
[0149] In the embodiment of the present invention, after the second robot applies a thrust to the first robot along the first direction, the second robot records the time of applying the thrust and the moving distance of the first robot.
[0150] If the time taken by the second robot to push the first robot exceeds the preset time, and the distance the first robot is pushed is less than the preset distance threshold, it means that the second robot fails to push the first robot, that is, it is difficult for the first robot to escape along the current first direction. At this time, the second robot determines that the escape timeout has occurred and sends a timeout signal to the server.
[0151] After receiving the timeout signal, the server sends a second escape signal to the second robot. After receiving the second escape signal, the second robot applies a thrust to the first robot along the second direction to help the first robot escape in another direction.
[0152] The second direction may be a direction perpendicular to the first direction, or a direction opposite to the first direction.
[0153] For example, Figure 3 FIG. 2 shows a second schematic diagram of robot control according to an embodiment of the present invention. Figure 3 As shown, the first robot 302 is trapped, and the second robot 304 pushes the first robot 302 along the first direction for a timeout. At this time, the second robot 304 moves to the second side of the first robot 302 and pushes the first robot 302 along the second direction.
[0154] When the trapped robot cannot be pushed in one direction, the embodiment of the present invention controls the robot for assisting in escaping to change direction and try to help the trapped robot escape, which can effectively improve the success rate of the robot's escape.
[0155] Based on any of the above embodiments, determining the second robot according to the position information includes:
[0156] Determine at least one candidate robot; determine a distance value between each candidate robot in the at least one candidate robot and the first robot; and determine a second robot in the at least one candidate robot according to the distance value.
[0157] In the embodiment of the present invention, the server determines an alternative robot according to the trapped location information of the first robot, and the alternative robot is a robot in the same area as the trapped location of the first robot, such as a robot in the living room.
[0158] After determining at least one candidate robot in the same area, the server further determines the distance value between each candidate robot and the first robot according to the position information of the candidate robots and the trapped position of the first robot.
[0159] The server selects an alternative robot that is closer to the first robot as the second robot based on the distance between the alternative robot and the first robot, and sends a first escape signal to the second robot. After receiving the first escape signal, the second robot moves to the trapped location of the first robot and helps the first robot escape.
[0160] The embodiment of the present invention selects a robot for helping a trapped robot to escape according to the distance information between the trapped robot and the trapped position, thereby improving the efficiency of escaping the robot.
[0161] Based on any of the above embodiments, determining at least one candidate robot includes:
[0162] N standby robots in a standby state are determined, where N is a positive integer; and among the N standby robots, at least one candidate robot whose distance value to the first robot is less than a first threshold is determined.
[0163] In the embodiment of the present invention, after receiving the trapped signal of the first robot, the server first obtains N standby robots that are currently in standby state and can be called by the server. The standby state specifically means that the robot has no task or work being performed and can be called by the server.
[0164] After determining the N standby robots that can be called, the server further determines the distance value between each of the N standby robots and the trapped first robot. According to the N distance values between the N standby robots and the first robot, one or more candidate robots whose distance values from the first robot are less than a first threshold are selected.
[0165] The embodiment of the present invention uses a robot in a standby state whose distance to the trapped location of the first robot is less than a first threshold as a backup robot, which can avoid interrupting the work progress of the robot in a working state and improve the success rate of the robot's escape while ensuring that the robot's work task is not affected.
[0166] Based on any of the above embodiments, determining at least one candidate robot includes:
[0167] M online robots in an online state are determined, where M is a positive integer; and among the M online robots, at least one candidate robot whose distance value to the first robot is less than a second threshold is determined.
[0168] In the embodiment of the present invention, the robot in the online state is a robot that can be called by the server. Specifically, when the robot is in the online state, the robot can exchange data with the host computer or server through the gateway, and the server can call the online robot to perform the corresponding task by sending a control signal.
[0169] On the other hand, if the robot is in an offline state, it means that the robot is turned off or disconnected from the network, and the robot cannot receive control signals from the server or host computer.
[0170] After receiving the trapped signal of the first robot, the server first obtains a device list of robots currently in an online state to obtain M online robots.
[0171] Then the server further determines the distance value between each of the M online robots and the trapped first robot. According to the M distance values between the M online robots and the first robot, one or more candidate robots whose distance values from the first robot are less than a second threshold are selected.
[0172] The embodiment of the present invention selects the robots whose distance values from the trapped location of the first robot are less than a second threshold among the online standby robots as candidate robots, so as to select as many candidate robots as possible and improve the success rate of the robots' escape.
[0173] Based on any of the above embodiments, determining a second robot from at least one candidate robot according to the distance value includes:
[0174] The candidate robot with the smallest distance value is determined as the second robot.
[0175] In an embodiment of the present invention, the candidate robot that is closest to the trapped first robot among the determined candidate robots is determined as the second robot, thereby ensuring that the second robot can go to the trapped location of the first robot as soon as possible, thereby improving the efficiency of the robot's escape.
[0176] In some embodiments of the present invention, a control method for a mobile robot is provided, which is applied to the robot. Figure 4 The second flowchart of the control method of the mobile robot according to the embodiment of the present invention is shown as follows: Figure 4 As shown, the control method includes:
[0177] Step 402, in response to a first escape signal from a server, determining a trapped robot;
[0178] Step 404, executing the corresponding auxiliary escape operation of the trapped robot.
[0179] In the embodiment of the present invention, when the robot is performing a work task, if the robot is blocked by an obstacle and cannot escape by itself, the robot will send a trapped signal to the server. After receiving the trapped signal, the server determines the trapped area of the trapped robot according to the location information carried in the trapped signal.
[0180] The server determines a robot that can be used to help the trapped robot escape according to the trapped area, and sends a first escape signal to the robot.
[0181] After receiving the trapped signal of the first robot, the server determines that the first robot is stuck due to external factors such as obstacles. At this time, the server controls the second robot to perform corresponding auxiliary escape operations, and uses the second robot to assist the first robot in escaping.
[0182] The embodiment of the present invention provides an assisted escape method based on multiple robots. After a robot is trapped, other robots are controlled to assist the trapped robot in escaping, thereby improving the success rate of the robot's escape.
[0183] On the basis of any of the above embodiments, the step of executing the auxiliary escape operation corresponding to the trapped robot includes: applying a thrust to the trapped robot along a first direction.
[0184] In this technical solution, when the robot receives the first escape signal, it determines the trapped position of the trapped robot according to the first escape signal, and moves to the vicinity of the trapped position of the trapped robot according to the position information carried in the first escape signal.
[0185] After the current robot reaches the trapped location of the trapped robot, the current robot determines the actual location of the trapped robot based on the identity information of the trapped robot and its own robot vision sensors, such as a camera or a lidar.
[0186] After determining the actual position of the trapped robot, the second robot moves to the vicinity of the first robot and performs an auxiliary escape operation to assist the first robot in escaping.
[0187] In the embodiment of the present invention, a second robot that is not trapped assists a first robot that is trapped to escape, thereby improving the success rate of the robots' escape.
[0188] Based on any of the above embodiments, after the step of applying a thrust to the trapped robot along the first direction, the control method further includes:
[0189] The moving distance of the trapped robot is recorded; when the time duration of applying thrust to the trapped robot is greater than a preset time duration and the moving distance is less than a distance threshold, a timeout signal is sent to the server.
[0190] In this technical solution, after the current robot applies thrust to the trapped robot along the walking direction of the trapped robot, that is, from the tail to the head of the trapped robot, the current robot records the time of applying the thrust and its own moving distance.
[0191] If the time taken by the current robot to push the trapped robot exceeds the preset time, and the moving distance of the trapped robot is less than the preset distance threshold, it means that the current robot fails to push the trapped robot, that is, it is difficult for the trapped robot to escape along the current first direction. At this time, the current robot determines that the escape timeout has occurred and sends a timeout signal to the server.
[0192] When the server receives the timeout signal, it can choose to control the current robot to push the trapped robot in another way, or control the current robot to return to its original position and send a prompt message that the robot is trapped to the user terminal, so as to help the user obtain the message that the robot is trapped in the first time and manually help the robot to get out of trouble.
[0193] The robot in the embodiment of the present invention determines whether it has successfully helped the trapped robot to escape based on the time and moving distance of pushing the trapped robot, and sends a timeout signal to the server when the escape timeout occurs. The server selects further escape tasks based on the timeout signal to avoid occupying the robot for a long time and improve the escape efficiency.
[0194] Based on any of the above embodiments, after sending a timeout signal to the server, the control method further includes:
[0195] In response to a second escape signal from the server, a thrust is applied to the first robot along a second direction.
[0196] In this technical solution, after receiving the timeout signal, the server can send a second escape signal to the current robot. After receiving the second escape signal, the second robot applies a thrust to the first robot in the second direction to help the first robot escape in another direction.
[0197] The second direction may be a direction perpendicular to the first direction, or a direction opposite to the first direction.
[0198] When the trapped robot cannot be pushed in one direction, the embodiment of the present invention controls the robot for assisting in escaping to change direction and try to help the trapped robot escape, which can effectively improve the success rate of the robot's escape.
[0199] Based on any of the above embodiments, the control method further includes: when it is detected that the robot is in a trapped state, sending a trapped signal to the server.
[0200] In this technical solution, when the robot is performing a task, if the robot is blocked by an obstacle, the robot will first try to cross the obstacle or adjust the direction of travel to bypass the obstacle. After the robot fails to cross the obstacle or bypass the obstacle several times, the robot determines that it has entered a trapped state, and at this time the robot sends a trapped signal to the server.
[0201] After receiving the trapped signal, the server searches for other robots that can assist the current robot in escaping from the trapped state based on the location information carried in the trapped signal, and uses the other robots to help the current robot escape from the trapped state.
[0202] The embodiment of the present invention provides a collaborative escape method between multiple robots. When a robot is trapped, it sends a trapped signal to a server. The server delegates other robots to help the trapped robot escape according to the trapped signal, thereby improving the success rate of the robot's escape.
[0203] In some embodiments of the present invention, a control device for a mobile robot is provided, which is applied to a server. Figure 5FIG. 1 shows one of the structural block diagrams of the control device of the mobile robot according to an embodiment of the present invention. Figure 5 As shown, the control device 500 includes:
[0204] An acquisition module 502 is used to acquire a trapped signal of the first robot;
[0205] The control module 504 is used to control the second robot to perform an auxiliary escape operation based on the trapped signal to assist the first robot in escaping from the trapped state.
[0206] In an embodiment of the present invention, the first robot is a robot that is performing a work task, such as a sweeping robot that is performing an indoor cleaning task.
[0207] When the first robot is blocked by an obstacle, the first robot will first try to cross the obstacle or adjust the direction of travel to bypass the obstacle. After the first robot fails to cross the obstacle or bypass the obstacle for many times, the first robot determines that it has entered a trapped state, and at this time, the first robot sends a trapped signal to the server.
[0208] Exemplarily, the trapped signal carries information such as the trapped state, location information, and identification information of the first robot.
[0209] The server can be a cloud server, a robot base station, or a device such as an intelligent gateway that establishes a wireless network connection with the robot.
[0210] After receiving the trapped signal of the first robot, the server determines that the first robot is stuck due to external factors such as obstacles. At this time, the server controls the second robot to perform corresponding auxiliary escape operations, and uses the second robot to assist the first robot in escaping.
[0211] The embodiment of the present invention provides an assisted escape method based on multiple robots. After a robot is trapped, other robots are controlled to assist the trapped robot in escaping, thereby improving the success rate of the robot's escape.
[0212] Based on any of the above embodiments, the control device further includes:
[0213] A determination module, used to determine the position information of the first robot according to the trapped signal; and determine the second robot;
[0214] A sending module, used for sending a first escape signal to the second robot, wherein the first escape signal includes position information;
[0215] The control module is also used to control the second robot to move to the position included in the position information; and control the second robot to perform an auxiliary escape operation.
[0216] In the embodiment of the present invention, after receiving the distress signal from the first robot, the server confirms the identity and location information of the first robot according to the information carried in the distress signal.
[0217] The server searches for the second robot based on the location information carried in the trapped signal. In some implementations, the server may also determine the second robot based on the user's selection input.
[0218] The second robot may be another one of the parent-child robots that cooperate with the first robot, such as the first robot is a sweeping robot and the second robot is a mopping robot.
[0219] The second robot may also be another robot in the same working area as the first robot, such as another cleaning robot, a service robot, a monitoring robot, etc.
[0220] After finding the second robot, the server sends an escape signal to the second robot, specifically a first escape signal, and the first escape signal carries the location information of the trapped first robot.
[0221] After receiving the first escape signal, the second robot determines the trapped position of the first robot according to the first escape signal, and moves to the vicinity of the trapped position of the first robot according to the position information carried in the first escape signal.
[0222] After the second robot arrives at the trapped location of the first robot, the second robot determines the actual location of the first robot based on the identity information of the first robot and its own robot vision sensor, such as a camera or a lidar.
[0223] After determining the actual position of the first robot, the second robot moves to the vicinity of the first robot and performs an auxiliary escape operation to assist the first robot in escaping from the trap.
[0224] In the embodiment of the present invention, a second robot that is not trapped assists a first robot that is trapped to escape, thereby improving the success rate of the robots' escape.
[0225] Based on any of the above embodiments, the control module is further used to: control the second robot to apply thrust to the first robot along the first direction.
[0226] In this technical solution, when controlling the second robot to perform an auxiliary escape operation, the second robot is controlled to move to the first side of the first robot, wherein the first side of the first robot is specifically the tail or head of the first robot, and the second robot applies a thrust to the first robot along the first direction.
[0227] Exemplarily, the first direction can be the walking direction of the first robot, that is, the second robot applies a thrust to the first robot from the tail to the head of the first robot. At this time, the first robot can also drive the running wheels to rotate at the same time, combining the first robot's own movement ability and the auxiliary thrust of the second robot to help the first robot cross the obstacle, so that the trapped first robot can successfully escape.
[0228] For example, Figure 2 FIG. 1 shows one of the robot control schematic diagrams of an embodiment of the present invention, as shown in FIG. Figure 2 As shown, the first robot 202 is trapped, and the second robot 204 moves to a first side of the first robot 202 and pushes the first robot 202 along a first direction.
[0229] The embodiment of the present invention provides a collaborative escape method among multiple robots, wherein an untrapped robot applies a thrust to a trapped robot to help the trapped robot escape from the trapped state, thereby improving the success rate of the robot's escape.
[0230] Based on any of the above embodiments, the control module is further configured to:
[0231] When a timeout signal is received, the second robot is controlled to apply a thrust to the first robot along a second direction; wherein the timeout signal is a signal generated by the second robot when the duration of the second robot applying a thrust to the first robot is greater than a preset duration and the moving distance of the first robot is less than a distance threshold, and the second direction is perpendicular to or opposite to the first direction.
[0232] In the embodiment of the present invention, after the second robot applies a thrust to the first robot along the first direction, the second robot records the time of applying the thrust and the moving distance of the first robot.
[0233] If the time taken by the second robot to push the first robot exceeds the preset time, and the distance the first robot is pushed is less than the preset distance threshold, it means that the second robot fails to push the first robot, that is, it is difficult for the first robot to escape along the current first direction. At this time, the second robot determines that the escape timeout has occurred and sends a timeout signal to the server.
[0234] After receiving the timeout signal, the server sends a second escape signal to the second robot. After receiving the second escape signal, the second robot applies a thrust to the first robot along the second direction to help the first robot escape in another direction.
[0235] The second direction may be a direction perpendicular to the first direction, or a direction opposite to the first direction.
[0236] For example, Figure 3FIG. 2 shows a second schematic diagram of robot control according to an embodiment of the present invention. Figure 3 As shown, the first robot 302 is trapped, and the second robot 304 pushes the first robot 302 along the first direction for a timeout. At this time, the second robot 304 moves to the second side of the first robot 302 and pushes the first robot 302 along the second direction.
[0237] When the trapped robot cannot be pushed in one direction, the embodiment of the present invention controls the robot for assisting in escaping to change direction and try to help the trapped robot escape, which can effectively improve the success rate of the robot's escape.
[0238] Based on any of the above embodiments, the determining module is further used for:
[0239] Determine at least one candidate robot; determine a distance value between each candidate robot in the at least one candidate robot and the first robot; and determine a second robot in the at least one candidate robot according to the distance value.
[0240] In the embodiment of the present invention, the server determines an alternative robot according to the trapped location information of the first robot, and the alternative robot is a robot in the same area as the trapped location of the first robot, such as a robot in the living room.
[0241] After determining at least one candidate robot in the same area, the server further determines the distance value between each candidate robot and the first robot according to the position information of the candidate robots and the trapped position of the first robot.
[0242] The server selects an alternative robot that is closer to the first robot as the second robot based on the distance between the alternative robot and the first robot, and sends a first escape signal to the second robot. After receiving the first escape signal, the second robot moves to the trapped location of the first robot and helps the first robot escape.
[0243] The embodiment of the present invention selects a robot for helping a trapped robot to escape according to the distance information between the trapped robot and the trapped position, thereby improving the efficiency of escaping the robot.
[0244] Based on any of the above embodiments, the determining module is further used for:
[0245] N standby robots in a standby state are determined, where N is a positive integer; and among the N standby robots, at least one candidate robot whose distance value to the first robot is less than a first threshold is determined.
[0246] In the embodiment of the present invention, after receiving the trapped signal of the first robot, the server first obtains N standby robots that are currently in standby state and can be called by the server. The standby state specifically means that the robot has no task or work being performed and can be called by the server.
[0247] After determining the N standby robots that can be called, the server further determines the distance value between each of the N standby robots and the trapped first robot. According to the N distance values between the N standby robots and the first robot, one or more candidate robots whose distance values from the first robot are less than a first threshold are selected.
[0248] The embodiment of the present invention uses a robot in a standby state whose distance to the trapped location of the first robot is less than a first threshold as a backup robot, which can avoid interrupting the work progress of the robot in a working state and improve the success rate of the robot's escape while ensuring that the robot's work task is not affected.
[0249] Based on any of the above embodiments, the determining module is further used for:
[0250] M online robots in an online state are determined, where M is a positive integer; and among the M online robots, at least one candidate robot whose distance value to the first robot is less than a second threshold is determined.
[0251] In the embodiment of the present invention, the robot in the online state is a robot that can be called by the server. Specifically, when the robot is in the online state, the robot can exchange data with the host computer or server through the gateway, and the server can call the online robot to perform the corresponding task by sending a control signal.
[0252] On the other hand, if the robot is in an offline state, it means that the robot is turned off or disconnected from the network, and the robot cannot receive control signals from the server or host computer.
[0253] After receiving the trapped signal of the first robot, the server first obtains a device list of robots currently in an online state to obtain M online robots.
[0254] Then the server further determines the distance value between each of the M online robots and the trapped first robot. According to the M distance values between the M online robots and the first robot, one or more candidate robots whose distance values from the first robot are less than a second threshold are selected.
[0255] The embodiment of the present invention selects the robots whose distance values from the trapped location of the first robot are less than a second threshold among the online standby robots as candidate robots, so as to select as many candidate robots as possible and improve the success rate of the robots' escape.
[0256] Based on any of the above embodiments, the determining module is further used for:
[0257] The candidate robot with the smallest distance value is determined as the second robot.
[0258] In an embodiment of the present invention, the candidate robot that is closest to the trapped first robot among the determined candidate robots is determined as the second robot, thereby ensuring that the second robot can go to the trapped location of the first robot as soon as possible, thereby improving the efficiency of the robot's escape.
[0259] In some embodiments of the present invention, a control device for a mobile robot is provided, which is applied to the robot. Figure 6 The second structural block diagram of the control device of the mobile robot according to the embodiment of the present invention is shown as follows: Figure 6 As shown, the control device 600 includes:
[0260] A determination module 602 is used to determine a trapped robot in response to a first escape signal from a server;
[0261] The execution module 604 is used to execute the auxiliary escape operation corresponding to the trapped robot.
[0262] In the embodiment of the present invention, when the robot is performing a work task, if the robot is blocked by an obstacle and cannot escape by itself, the robot will send a trapped signal to the server. After receiving the trapped signal, the server determines the trapped area of the trapped robot according to the location information carried in the trapped signal.
[0263] The server determines a robot that can be used to help the trapped robot escape according to the trapped area, and sends a first escape signal to the robot.
[0264] After receiving the trapped signal of the first robot, the server determines that the first robot is stuck due to external factors such as obstacles. At this time, the server controls the second robot to perform corresponding auxiliary escape operations, and uses the second robot to assist the first robot in escaping.
[0265] The embodiment of the present invention provides an assisted escape method based on multiple robots. After a robot is trapped, other robots are controlled to assist the trapped robot in escaping, thereby improving the success rate of the robot's escape.
[0266] Based on any of the above embodiments, the execution module is further configured to apply a thrust to the first robot along a first direction.
[0267] In this technical solution, when the robot receives the first escape signal, it determines the trapped position of the trapped robot according to the first escape signal, and moves to the vicinity of the trapped position of the trapped robot according to the position information carried in the first escape signal.
[0268] After the current robot reaches the trapped location of the trapped robot, the current robot determines the actual location of the trapped robot based on the identity information of the trapped robot and its own robot vision sensors, such as a camera or a lidar.
[0269] After determining the actual position of the trapped robot, the second robot moves to the vicinity of the first robot and performs an auxiliary escape operation to assist the first robot in escaping.
[0270] In the embodiment of the present invention, a second robot that is not trapped assists a first robot that is trapped to escape, thereby improving the success rate of the robots' escape.
[0271] Based on any of the above embodiments, the control device further includes:
[0272] A recording module, used to record the moving distance of the trapped robot;
[0273] The sending module is used to send a timeout signal to the server when the time duration of applying thrust to the trapped robot is greater than a preset time duration and the moving distance is less than a distance threshold.
[0274] In this technical solution, after the current robot applies thrust to the trapped robot along the walking direction of the trapped robot, that is, from the tail to the head of the trapped robot, the current robot records the time of applying the thrust and its own moving distance.
[0275] If the time taken by the current robot to push the trapped robot exceeds the preset time, and the moving distance of the trapped robot is less than the preset distance threshold, it means that the current robot fails to push the trapped robot, that is, it is difficult for the trapped robot to escape along the current first direction. At this time, the current robot determines that the escape timeout has occurred and sends a timeout signal to the server.
[0276] When the server receives the timeout signal, it can choose to control the current robot to push the trapped robot in another way, or control the current robot to return to its original position and send a prompt message that the robot is trapped to the user terminal, so as to help the user obtain the message that the robot is trapped in the first time and manually help the robot to get out of trouble.
[0277] The robot in the embodiment of the present invention determines whether it has successfully helped the trapped robot to escape based on the time and moving distance of pushing the trapped robot, and sends a timeout signal to the server when the escape timeout occurs. The server selects further escape tasks based on the timeout signal to avoid occupying the robot for a long time and improve the escape efficiency.
[0278] Based on any of the above embodiments, the execution module is further used to apply a thrust to the first robot along a second direction in response to a second escape signal from the server.
[0279] In this technical solution, after receiving the timeout signal, the server can send a second escape signal to the current robot. After receiving the second escape signal, the second robot applies a thrust to the first robot in the second direction to help the first robot escape in another direction.
[0280] The second direction may be a direction perpendicular to the first direction, or a direction opposite to the first direction.
[0281] When the trapped robot cannot be pushed in one direction, the embodiment of the present invention controls the robot for assisting in escaping to change direction and try to help the trapped robot escape, which can effectively improve the success rate of the robot's escape.
[0282] Based on any of the above embodiments, the sending module is further used to: when it is detected that the robot is in a trapped state, send a trapped signal to the server.
[0283] In this technical solution, when the robot is performing a task, if the robot is blocked by an obstacle, the robot will first try to cross the obstacle or adjust the direction of travel to bypass the obstacle. After the robot fails to cross the obstacle or bypass the obstacle several times, the robot determines that it has entered a trapped state, and at this time the robot sends a trapped signal to the server.
[0284] After receiving the trapped signal, the server searches for other robots that can assist the current robot in escaping from the trapped state based on the location information carried in the trapped signal, and uses the other robots to help the current robot escape from the trapped state.
[0285] The embodiment of the present invention provides a collaborative escape method between multiple robots. When a robot is trapped, it sends a trapped signal to a server. The server delegates other robots to help the trapped robot escape according to the trapped signal, thereby improving the success rate of the robot's escape.
[0286] In some embodiments of the present invention, a control device for a mobile robot is provided. Figure 7 The third structural block diagram of the control device of the mobile robot according to the embodiment of the present invention is shown as follows: Figure 7 As shown, the control device 700 includes:
[0287] The memory 702 is used to store programs or instructions; the processor 704 is used to implement the steps of the mobile robot control method provided in any of the above embodiments when executing the programs or instructions, and therefore also includes all its beneficial effects, which will not be repeated here to avoid repetition.
[0288] In some embodiments of the present invention, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the mobile robot control method provided in any of the above embodiments are implemented, and therefore all its beneficial effects are also included. To avoid repetition, they will not be repeated here.
[0289] In some embodiments of the present invention, a robot system is provided, including a control device for a mobile robot as provided in any of the above embodiments; and / or a readable storage medium as provided in any of the above embodiments, and therefore also including all of its beneficial effects, which will not be described here to avoid repetition.
[0290] In the description of the present invention, the term "plurality" refers to two or more than two. Unless otherwise clearly defined, the orientation or positional relationship indicated by the terms "upper" and "lower" is based on the orientation or positional relationship described in the accompanying drawings. It is only for the convenience of describing the present invention and simplifying the description, and does not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation. Therefore, it cannot be understood as a limitation on the present invention. The terms "connection", "installation", "fixation", etc. should be understood in a broad sense. For example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.
[0291] In the description of the present invention, the description of the terms "one embodiment", "some embodiments", "specific embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In the present invention, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.
[0292] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.
Claims
1. A control method for a mobile robot, applied to a server, It is characterized in that The control method comprises: obtaining a distress signal of the first robot; and Based on the trapped signal, the second robot is controlled to perform an auxiliary escape operation to assist the first robot in escaping from the trapped state.
2. The control method according to claim 1, It is characterized in that After the step of obtaining the trapped signal of the first robot, the control method further includes: determining the position information of the first robot according to the trapped signal; determining the second robot; The step of controlling the second robot to perform an auxiliary escape operation based on the trapped signal includes: sending a first escape signal to the second robot, wherein the first escape signal includes the position information; controlling the second robot to move to the position included in the position information; and The second robot is controlled to perform the auxiliary escape operation.
3. The control method according to claim 2, It is characterized in that The step of controlling the second robot to perform the auxiliary escape operation includes: The second robot is controlled to apply a thrust to the first robot along a first direction.
4. The control method according to claim 3, It is characterized in that After controlling the second robot to apply a thrust to the first robot along the first direction, the control method further includes: When receiving the timeout signal, controlling the second robot to apply a thrust to the first robot along a second direction; Among them, the timeout signal is a signal generated by the second robot when the duration of the second robot applying thrust to the first robot is greater than a preset duration and the moving distance of the first robot is less than a distance threshold, and the second direction is perpendicular to or opposite to the first direction.
5. The control method according to claim 2, It is characterized in that The determining the second robot comprises: determining at least one candidate robot; Determine a distance value between each candidate robot of the at least one candidate robot and the first robot; The second robot is determined from among the at least one candidate robot according to the distance value.
6. The control method according to claim 5, It is characterized in that The step of determining at least one candidate robot comprises: Determine N standby robots in a standby state, where N is a positive integer; Among the N standby robots, at least one candidate robot whose distance value to the first robot is smaller than a first threshold is determined.
7. The control method according to claim 5, It is characterized in that The determining of at least one candidate robot comprises: Determine M online robots that are online, where M is a positive integer; Among the M online robots, at least one candidate robot whose distance value to the first robot is smaller than a second threshold is determined.
8. The control method according to any one of claims 5 to 7, It is characterized in that Determining the second robot from the at least one candidate robot according to the distance value comprises: The candidate robot with the smallest distance value is determined as the second robot.
9. A control method for a mobile robot, applied to the robot, It is characterized in that The control method comprises: In response to a first escape signal from the server, determining a trapped robot; Execute the auxiliary escape operation corresponding to the trapped robot.
10. The control method according to claim 9, It is characterized in that The step of executing the auxiliary escape operation corresponding to the trapped robot includes: A thrust is applied to the trapped robot along a first direction.
11. The control method according to claim 10, It is characterized in that After the step of applying a thrust to the trapped robot along the first direction, the control method further comprises: Record the moving distance of the trapped robot; When the time duration of applying the thrust to the trapped robot is greater than the preset time duration and the moving distance is less than the distance threshold, a timeout signal is sent to the server.
12. The control method according to claim 11, It is characterized in that After sending the timeout signal to the server, the control method further includes: In response to a second escape signal from the server, a thrust is applied to the first robot along a second direction.
13. The control method according to any one of claims 9 to 12, It is characterized in that Also includes: When it is detected that the robot is in a trapped state, a trapped signal is sent to the server.
14. A control device for a mobile robot, applied to a server, It is characterized in that The control device comprises: An acquisition module, used for acquiring a trapped signal of the first robot; The control module is used to control the second robot to perform an auxiliary escape operation based on the trapped signal to assist the first robot in escaping from the trapped state.
15. A control device for a mobile robot, applied to the robot, It is characterized in that The control device comprises: A determination module, configured to determine a trapped robot in response to a first escape signal from a server; The execution module is used to execute the auxiliary escape operation corresponding to the trapped robot.
16. A control device for a mobile robot, It is characterized in that include: Memory, used to store programs or instructions; A processor, configured to implement the steps of the mobile robot control method as claimed in any one of claims 1 to 13 when executing the program or instruction.
17. A readable storage medium having a program or instruction stored thereon, It is characterized in that When the program or instruction is executed by a processor, the steps of the method for controlling a mobile robot according to any one of claims 1 to 13 are implemented.
18. A robot system, It is characterized in that include: A control device for a mobile robot as claimed in any one of claims 14 to 16; and / or The readable storage medium as claimed in claim 17.
