Robot destination arrival determination method, device, electronic device and storage medium
By recognizing real-time location and obstacles, the robot can intelligently determine whether it has reached its destination, thus solving the problem of task interruption caused by obstacles and improving execution efficiency and user experience.
Patent Information
- Application Number
- CN202010929237.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-09-07
- Publication Date
- 2024-11-01
- Estimated Expiration
- 2040-09-07
AI Technical Summary
Existing mobile robots are prone to being unable to continue their tasks when they reach a designated stopping position due to obstacles, resulting in task execution interruption and affecting efficiency and user experience.
By acquiring the robot's real-time location information and the target area, combined with obstacle recognition and movement time, the system can intelligently determine whether the robot has reached its destination, thus avoiding task interruption caused by obstacles.
It improves the robot's task execution efficiency in complex environments, reduces waiting and path adjustment time caused by obstacles, and enhances the user experience.
Smart Images

Figure CN112085445B_ABST
Abstract
Description
Technical Field
[0001] Embodiments of the present invention relate to the field of robot technology, and in particular to a method, device, electronic device and storage medium for determining the arrival of a robot destination. Background Art
[0002] With the development of robot technology, robots have been introduced in many industries to perform certain tasks. For the catering industry, the introduction of automatic food delivery robots not only improves the efficiency of food delivery services, but also reduces human resource consumption.
[0003] When a mobile robot is currently performing a task, it usually moves from one point to another. Only after reaching the designated stop can the robot proceed to the next task. For example, an automatic food delivery robot will only notify the guest or nearby waiter to pick up the food after it reaches the designated stop at the dining table.
[0004] However, in this case, if the robot has reached the designated parking position, but encounters an obstacle and cannot bypass it, human assistance is often required to remove the obstacle, or the robot is forcibly sent back. Otherwise, the robot will not be able to continue the task and can only wait for help. It will not receive any instructions, and the task execution will be interrupted. Especially in crowded restaurants, robots are often blocked by passers-by or food carts during their food delivery tasks. The designated parking position is occupied, and it is impossible for waiters to always help move the food cart or remind passers-by to make way for the robot, resulting in reduced robot delivery efficiency and affecting the dining experience of restaurant guests. Summary of the invention
[0005] The embodiments of the present invention provide a method, device, electronic device and storage medium for determining whether a robot has reached a destination, so as to realize intelligent judgment of the robot on whether the robot has reached a destination, thereby improving the working efficiency of the robot.
[0006] In a first aspect, an embodiment of the present invention provides a method for determining a robot's destination arrival, comprising:
[0007] Obtaining the real-time position information and target arrival area of the robot; wherein the target arrival area is determined based on a preset deviation distance and a destination position;
[0008] Determining whether the robot has entered the target arrival area according to the real-time position information;
[0009] If so, whether the robot has arrived is determined based on the obstacle recognition situation in the target arrival area and / or the movement time of the robot in the target arrival area.
[0010] In a second aspect, an embodiment of the present invention further provides a robot destination arrival determination device, comprising:
[0011] A robot information acquisition module, used to acquire the real-time position information and target arrival area of the robot; wherein the target arrival area is determined based on a preset deviation distance and a destination position;
[0012] A target arrival area entry module, used to determine whether the robot enters the target arrival area according to the real-time position information;
[0013] The arrival determination module is used to determine whether the robot has arrived based on the obstacle recognition situation in the target arrival area and / or the movement time of the robot in the target arrival area.
[0014] In a third aspect, an embodiment of the present invention further provides an electronic device, including:
[0015] one or more processors;
[0016] a storage device for storing one or more programs,
[0017] When the one or more programs are executed by the one or more processors, the one or more processors implement the robot destination arrival determination method as described in any embodiment of the present invention.
[0018] In a fourth aspect, an embodiment of the present invention further provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the robot destination arrival determination method as described in any embodiment of the present invention.
[0019] The embodiment of the present invention determines the target arrival area based on the distance between the real-time position of the robot and the destination position, and intelligently determines whether the robot has reached the destination based on the obstacle recognition in the target arrival area and / or the time taken for the robot to move in the target arrival area. This prevents the robot from being unable to reach the final destination due to the presence of obstacles or other movement obstacles when it reaches the vicinity of the destination, thereby affecting the robot's task execution results, and enables the robot to intelligently judge the arrival of the destination, thereby improving the robot's work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] Figure 1 is a flowchart of a method for determining a robot's destination arrival in Embodiment 1 of the present invention;
[0021] Figure 2 is a flow chart of a method for determining a robot's destination arrival in a second embodiment of the present invention;
[0022] Figure 3is a flowchart of a method for determining a robot's destination arrival in Embodiment 3 of the present invention;
[0023] Figure 4 is a flowchart of a method for determining a robot's destination arrival in a fourth embodiment of the present invention;
[0024] Figure 5 is a schematic diagram of the structure of a robot destination arrival determination device in Embodiment 5 of the present invention;
[0025] Figure 6 It is a schematic diagram of the structure of an electronic device in Embodiment 6 of the present invention. DETAILED DESCRIPTION
[0026] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.
[0027] Embodiment 1
[0028] Figure 1 : is a flowchart of the method for determining the robot's destination arrival in the first embodiment of the present invention. This embodiment can be applied to determine the situation where the robot has approximately reached the destination. The method can be executed by a robot destination arrival determination device, which can be implemented in software and / or hardware and can be configured in an electronic device, such as a mobile robot or other device with communication, computing and mobility capabilities. Figure 1 As shown, the method specifically includes:
[0029] Step 101, obtaining the real-time position information and target arrival area of the robot; wherein the target arrival area is determined based on a preset deviation distance and a destination position.
[0030] Among them, the robot refers to a robot device that has the ability to act autonomously and can perform work. The robot can determine the moving path according to the received destination position, or reach the final destination position according to the sent moving path. For example, the automatic food delivery robot plans the moving path according to the received table position and moves autonomously to the table position to complete the food delivery. Real-time position information refers to the real-time position of the robot's movement. Exemplarily, the robot uploads the position information in real time through a positioning device. The target arrival area is used to restrict the area near the destination position. For example, if the robot arrives within the target arrival area, it will not affect its smooth execution of the task. The destination position of the robot refers to the final stop point of the robot to perform this task, which can be a coordinate point or an area range.
[0031] Specifically, when the robot is performing a task and heading to the destination, it uploads its location information in real time during the movement. After determining the destination, the robot will determine the target arrival area according to the preset deviation distance, which is located near the destination, and the preset deviation distance is predetermined according to the size of the robot, the task execution situation, and the moving place. For example, in a restaurant delivery task, the preset deviation distance can be set to 1 meter according to the size of the delivery robot and the size of the restaurant, or in a shopping mall scenario, the robot is guided to lead the guests to a designated store. Because the store has a large floor area, the robot is allowed to stop in a relatively large area, and the user can obtain the approximate location of the merchant at a glance, so the preset deviation distance can be appropriately increased, such as 5 meters. When the robot reaches any position point in the target arrival area, it can be considered that the robot has reached the destination, and because it is located in the target arrival area, the distance between the robot and the destination position will be less than the preset deviation distance, which will not affect the robot's task execution. For example, when the delivery robot reaches a distance of one meter from the target table, the guests on the target table or the waiters nearby can easily find the robot and complete the delivery. For example, when the guide robot in a shopping mall is 5 meters away from a designated store, customers can easily find the designated store. Therefore, if the robot reaches the target arrival area, it does not need to reach the destination completely to successfully complete the task.
[0032] Step 102: Determine whether the robot has entered the target arrival area based on the real-time position information.
[0033] After the robot determines the destination position, it determines the target arrival area according to the preset deviation distance. Optionally, the position coordinate information of the target arrival area is determined, and the coordinate point of the real-time position information is determined to be located in the position coordinate of the target arrival area. If it is located, it is determined that the robot has entered the target arrival area, otherwise the robot has not entered the target arrival area.
[0034] In a feasible embodiment, judging whether the robot has entered the target arrival area according to the real-time position information includes:
[0035] determining the remaining distance between the real-time location information and the destination location;
[0036] The comparison result between the remaining distance and the preset deviation distance determines whether the robot has entered the target arrival area.
[0037] The remaining distance refers to the distance the robot needs to travel from its current real-time position to its destination position.
[0038] Specifically, the remaining distance is determined based on the robot's real-time location information and the destination location, and when the remaining distance reaches the preset deviation distance, the robot is judged to have entered the target arrival area. Exemplarily, based on the above example, when the food delivery robot determines that it is 1 meter away from the stop point of the target table based on the real-time location information, the robot enters the target arrival area. In a restaurant scenario, even if the robot is 1 meter away from the stop point of the target table, the guests at the target table or the waiters near the target table can still accurately see the robot, which does not affect the robot's execution of the food delivery task.
[0039] Step 103: If the robot enters the target arrival area, determine whether the robot has arrived based on the obstacle recognition in the target arrival area and / or the movement time of the robot in the target arrival area.
[0040] Since the robot is very close to the destination at any point in the target arrival area, it can smoothly perform the task. Therefore, if an obstacle is identified in the target arrival area and / or the robot takes a long time to move in the target arrival area, it can be directly determined that the robot has reached the destination and completed the task. For example, if an obstacle is identified in the target arrival area, if the robot chooses to avoid obstacles at this time, it will cause delays and affect the execution of the task. For example, during the meal delivery process, there are passers-by or other obstacles very close to the target dining table. If you choose to detour at this time, it will cause extra time, cause anxiety for the guests to dine, and have a poor user experience. Therefore, when an obstacle is identified in the target arrival area, the robot can trigger the destination before moving to the obstacle, realizing the robot's intelligent judgment of the destination, rather than blindly judging whether it has reached the destination stop, and the robot is more flexible and intelligent.
[0041] The embodiment of the present invention determines the target arrival area based on the distance between the real-time position of the robot and the destination position, and intelligently determines whether the robot has reached the destination based on the obstacle recognition in the target arrival area and / or the time taken for the robot to move in the target arrival area. This prevents the robot from being unable to reach the final destination due to the presence of obstacles or other movement obstacles when it reaches the vicinity of the destination, thereby affecting the robot's task execution results, and enables the robot to intelligently judge the arrival of the destination, thereby improving the robot's work efficiency.
[0042] Embodiment 2
[0043] Figure 2 is a flow chart of a method for determining a robot's destination in Embodiment 2 of the present invention. Embodiment 2 is further optimized on the basis of Embodiment 1. Figure 2 As shown, the method includes:
[0044] Step 201, obtaining the real-time position information and target arrival area of the robot; wherein the target arrival area is determined based on a preset deviation distance and a destination position.
[0045] Step 202: Determine whether the robot has entered the target arrival area based on the real-time position information.
[0046] For example, when the robot receives a task instruction, the underlying motion module plans the optimal path and sets out to the specified target point. During navigation operation, the remaining distance between the robot and the destination is calculated and uploaded in real time based on the robot's real-time position change and the destination position, and whether the robot enters the target arrival area is determined based on the remaining distance and the preset deviation distance.
[0047] Step 203: If the robot enters the target arrival area, then determine the obstacle recognition status in the target arrival area and / or the movement time of the robot in the target arrival area.
[0048] Step 204: If an obstacle is identified in the target arrival area and the waiting time is greater than a first preset time threshold, it is determined that the robot has arrived.
[0049] Among them, obstacles refer to objects that interfere with the normal movement of the robot, which can be determined by stereo vision or laser radar devices installed on the robot. Waiting time refers to the duration of the robot being in a static state. The first preset time threshold is used to represent the longest time that the robot is in a static and non-moving state, which can be determined according to the specific task performed by the robot. The specific value of the first preset time threshold is not limited here.
[0050] Specifically, when the robot moves in the target arrival area, if an obstacle is identified through stereoscopic vision or laser radar and other equipment, and the waiting time of the robot in a stationary state is greater than a first preset time threshold, it is determined that the robot has reached the destination.
[0051] When the robot encounters an obstacle, the robot stops running and starts calculating the waiting time. If the waiting time is greater than or equal to 5 seconds, it means that the robot cannot bypass it within a certain time (5 seconds), and the approximate arrival is triggered. Exemplarily, the obstacle information includes the category information of the obstacle, such as passers-by or objects; the next action of the robot is determined according to the category information. If the obstacle is a passer-by, a voice prompt can be given. If the obstacle is not eliminated within the first preset time threshold, it is determined that the robot has reached the destination; if the obstacle is an object, the next action of the robot is determined according to the size of the object. If the size of the object is too large, it is directly determined that the robot has reached the destination. If the size of the object is relatively small, the robot can first choose to avoid and bypass, and determine the time for avoiding and bypassing. If the time spent on avoiding and bypassing exceeds a certain time, it is determined that the robot has reached the destination. The determination of the size of the object can be determined according to the width of the robot's moving road in the actual scene and the actual size of the robot. If the volume occupied by the object on the road is smaller than the actual size of the robot, the size of the object is too large. On the contrary, if the volume occupied by the object on the road is larger than the actual size of the robot, the size of the object is relatively small, and there is still space for the robot to bypass on the road. By determining the category information and size of obstacles, the flexibility of robot task execution can be improved and adjusted according to actual conditions.
[0052] The embodiment of the present invention determines the scene where the robot is about to arrive by obstacle recognition and waiting time calculation, so as to avoid the robot being unable to reach the final destination due to the existence of obstacles or other movement obstacles when the robot arrives near the destination, thereby affecting the robot's task execution efficiency, and realizes the robot's intelligent judgment on the arrival of the destination, so as to improve the robot's work efficiency.
[0053] Embodiment 3
[0054] Figure 3 is a flow chart of a method for determining a robot's destination in Embodiment 3 of the present invention. Embodiment 3 is further optimized on the basis of Embodiment 1. Figure 3 As shown, the method includes:
[0055] Step 301, obtaining the real-time position information and target arrival area of the robot; wherein the target arrival area is determined based on a preset deviation distance and a destination position.
[0056] Step 302: Determine whether the robot has entered the target arrival area based on the real-time position information.
[0057] Step 303: If the robot enters the target arrival area, then determine the obstacle recognition status in the target arrival area and / or the movement time of the robot in the target arrival area.
[0058] Step 304: If the time taken for the robot to move in the target arrival area is greater than a second preset time threshold, it is determined that the robot has arrived.
[0059] The moving time refers to the time it takes for the robot to move in the target area.
[0060] Since the robot may avoid or adjust its moving posture during the movement in the target arrival area for other reasons, it will take time to adjust. At this time, if the movement time in the target arrival area is too long, it will also affect the robot's task execution efficiency. Therefore, when the robot arrives at the target arrival area, it starts to calculate the movement time. If it has not reached the destination when the movement time reaches the second preset time threshold, it is determined that the robot has reached the destination. Exemplarily, based on the above example, if the food delivery robot does not encounter any obstacles in the target arrival area, but due to constantly avoiding passers-by or other reasons, the running time in the target arrival area exceeds 10 seconds, then the approximate arrival is triggered and it is determined that the robot has reached the destination.
[0061] The embodiment of the present invention determines the time consumed by the robot to move in the target arrival area, thereby avoiding the robot from running too long near the destination due to the presence of obstacles or other movement obstacles when reaching the destination, thereby affecting the robot's task execution efficiency, and realizing the robot's intelligent judgment on the arrival of the destination, thereby improving the robot's work efficiency.
[0062] Embodiment 4
[0063] Figure 4 4 is a flow chart of a method for determining a robot's destination in a fourth embodiment of the present invention. This fourth embodiment is further optimized on the basis of the first embodiment. Figure 4 As shown, the method includes:
[0064] Step 401, obtaining the real-time position information and target arrival area of the robot; wherein the target arrival area is determined based on a preset deviation distance and a destination position.
[0065] Step 402: Determine whether the robot has entered the target arrival area based on the real-time position information.
[0066] Step 403: If the robot enters the target arrival area, then determine the obstacle recognition status in the target arrival area and / or the movement time of the robot in the target arrival area.
[0067] Step 404: If an obstacle is identified in the target arrival area, the moving path is replanned to obtain a candidate moving path, and the moving distance and / or moving time of the candidate moving path are predicted.
[0068] When an obstacle is identified in the target arrival area, the optimal movement path is replanned to avoid the obstacle, that is, to determine whether there is a candidate movement path that allows the robot to avoid the obstacle and reach the exact destination. And the movement distance and / or movement time of the robot on the candidate movement path are predicted based on the actual operation of the robot. Specifically, the required walking distance is determined based on the specific information of the candidate movement path, and the movement time on the candidate movement path is determined based on the normal walking speed of the robot.
[0069] In a feasible embodiment, before re-planning the moving path, the method further includes:
[0070] Determine whether an obstacle is located at the destination location;
[0071] If yes, it is determined that the robot has reached the destination.
[0072] When the robot moves in the target arrival area, if it recognizes an obstacle through stereo vision or laser radar and other equipment, the position of the obstacle is determined. If the obstacle is located at the destination position, it is determined that the robot has reached the destination.
[0073] For example, if an obstacle is detected at the designated stop point of the food delivery robot, then no matter how the robot moves around, it will not reach the exact designated stop point, and approximate arrival is triggered to determine that the robot has reached the destination.
[0074] Step 405: If the moving distance is greater than the preset distance and / or the moving time is greater than the preset time, the candidate moving path is deleted and the robot is determined to have arrived.
[0075] The feasibility of the candidate moving path is judged. Specifically, it is determined based on whether the moving distance of the candidate moving path is greater than the preset distance and / or the moving time is greater than the preset time. If the moving distance is greater than the preset distance and / or the moving time is greater than the preset time, it means that the candidate moving path is not feasible. If the robot changes to the candidate moving path, it will take too long to reach the destination, affecting the task execution. Especially for the food delivery robot, if the food delivery robot takes too long in the food delivery process, it will cause a poor experience for the guests waiting to pick up the food. In this case, the candidate moving path is deleted, and the robot's approximate arrival is triggered to determine that the robot has reached the destination.
[0076] In a feasible embodiment, after determining that the robot has arrived, the method further includes:
[0077] The robot gives voice prompts or uses preset prompts to remind the robot of its arrival.
[0078] When the robot reaches the destination, it means that the mission is completed, and the robot can give a voice prompt or a preset prompt method, such as jumping to the prompt on the corresponding software interface.
[0079] For example, after the food delivery robot determines that it has reached the destination, it will give a voice prompt so that the guest or waiter can take the food from the robot. And because the robot is in the target arrival area when it triggers the approximate arrival, and the target arrival area is very close to the destination, even if the food delivery robot does not reach the exact destination stop, the guest and waiter can still see the food delivery robot accurately after hearing the voice prompt, which does not affect the food delivery experience. On the contrary, the robot can adapt to the actual situation of the scene, improving the intelligence of the robot's destination arrival determination.
[0080] In a feasible embodiment, after determining that the robot has arrived, the method further includes:
[0081] The robot's posture is adjusted according to the robot's current posture and the destination position so that the robot faces the direction of the destination position.
[0082] Since the posture adjustment may occur during the movement, after the robot determines that it has reached the destination, it adjusts the robot posture according to the current robot posture and the destination position, that is, adjusts the robot orientation. For example, after the food delivery robot reaches the destination, the posture of the food delivery robot is adjusted so that when the robot stops, the food pickup port faces the destination position, thereby facilitating the guests at the destination position to pick up the food.
[0083] The embodiments of the present invention predict the length of the robot's candidate moving paths and the running time to avoid the situation where the robot temporarily changes the moving path when it reaches the vicinity of the destination, causing the movement to take too long and affecting the robot's task execution efficiency. The robot can make intelligent judgments on the arrival of the destination to improve the robot's work efficiency.
[0084] Embodiment 5
[0085] Figure 5 Schematic diagram of the structure of the device for determining the robot's destination in Embodiment 5 of the present invention. This embodiment is applicable to the case where the robot is approximately reaching the destination. Figure 5 As shown, the device comprises:
[0086] The robot information acquisition module 510 is used to acquire the real-time position information and the target arrival area of the robot; wherein the target arrival area is determined according to the preset deviation distance and the destination position;
[0087] A target arrival area entry module 520 is used to determine whether the robot enters the target arrival area according to the real-time position information;
[0088] The arrival determination module 530 is used to determine whether the robot has arrived based on the obstacle recognition situation in the target arrival area and / or the movement time of the robot in the target arrival area.
[0089] The embodiment of the present invention determines the target arrival area based on the distance between the real-time position of the robot and the destination position, and intelligently determines whether the robot has reached the destination based on the obstacle recognition in the target arrival area and / or the time taken for the robot to move in the target arrival area. This prevents the robot from being unable to reach the final destination due to the presence of obstacles or other movement obstacles when it reaches the vicinity of the destination, thereby affecting the robot's task execution results, and enables the robot to intelligently judge the arrival of the destination, thereby improving the robot's work efficiency.
[0090] Optionally, the target arrival area entry module 520 is specifically used to:
[0091] determining a remaining distance between the real-time location information and the destination location;
[0092] Whether the robot enters the target arrival area is determined according to a comparison result between the remaining distance and the preset deviation distance.
[0093] Optionally, the arrival determination module 530 includes a first determination unit, which is specifically configured to:
[0094] If an obstacle is identified in the target arrival area and the waiting time is greater than a first preset time threshold, it is determined that the robot has arrived.
[0095] Optionally, the arrival determination module 530 includes a second determination unit, which is specifically configured to:
[0096] If the movement time of the robot in the target arrival area is greater than a second preset time threshold, it is determined that the robot has arrived.
[0097] Optionally, the arrival determination module 530 includes a third determination unit, which is specifically configured to:
[0098] If an obstacle is identified in the target arrival area, the moving path is replanned to obtain a candidate moving path, and the moving distance and / or moving time of the candidate moving path are predicted;
[0099] If the moving distance is greater than a preset distance and / or the moving time is greater than a preset time, the candidate moving path is deleted and it is determined that the robot has arrived.
[0100] Optionally, before the third determining unit executes the step of replanning the moving path, the method further includes:
[0101] determining whether the obstacle is located at the destination location;
[0102] If yes, it is determined that the robot has reached the destination.
[0103] Optionally, the device further comprises a prompt module, which is used to:
[0104] After confirming that the robot has arrived, the robot gives a voice prompt or uses a preset prompt method to prompt the robot's arrival.
[0105] Optionally, the device further comprises a posture adjustment module, which is used to:
[0106] After determining that the robot has arrived, the robot posture is adjusted according to the current posture of the robot and the destination position so that the robot faces the direction of the destination position.
[0107] The robot destination arrival determination device provided in the embodiment of the present invention can execute the robot destination arrival determination method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the robot destination arrival determination method.
[0108] Embodiment 6
[0109] Figure 6 It is a structural schematic diagram of an electronic device provided in Embodiment 6 of the present invention. Figure 6 A block diagram of an exemplary electronic device 12 suitable for use in implementing embodiments of the present invention is shown. Figure 6 The electronic device 12 shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention. For example, the device can be any type of robot that executes any of the robot destination arrival determination methods described in the embodiments of the present invention.
[0110] like Figure 6 As shown, the electronic device 12 is in the form of a general purpose computing device. The components of the electronic device 12 may include, but are not limited to: one or more processors or processing units 16, system memory 28, and a bus 18 connecting various system components (including the system memory 28 and the processing unit 16).
[0111] Bus 18 represents one or more of several types of bus structures, including a storage device bus or storage device controller, a peripheral bus, an accelerated graphics port, a processor or a local bus using any of a variety of bus architectures. By way of example, these architectures include, but are not limited to, an Industry Standard Architecture (ISA) bus, a Micro Channel Architecture (MAC) bus, an Enhanced ISA bus, a Video Electronics Standards Association (VESA) local bus, and a Peripheral Component Interconnect (PCI) bus.
[0112] The electronic device 12 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 12, including volatile and non-volatile media, removable and non-removable media.
[0113] The system storage device 28 may include computer system readable media in the form of volatile storage devices, such as random access memory devices (RAM) 30 and / or cache memory devices 32. The electronic device 12 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Figure 6 not shown, usually called a "hard drive"). Although Figure 6 Not shown in the figure, a disk drive for reading and writing to a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing to a removable non-volatile optical disk (e.g., a CD-ROM, a DVD-ROM, or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The storage device 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present invention.
[0114] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the storage device 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described herein.
[0115] The electronic device 12 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), one or more devices that enable a user to interact with the device 12, and / or any device that enables the device 12 to communicate with one or more other computing devices (e.g., network cards, modems, etc.). Such communication may be performed via an input / output (I / O) interface 22. Furthermore, the device 12 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) via a network adapter 20. Figure 6 As shown, the network adapter 20 communicates with the other modules of the device 12 via the bus 18. It should be understood that although Figure 6Not shown, other hardware and / or software modules may be used in conjunction with device 12, including but not limited to microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.
[0116] The processing unit 16 executes various functional applications and data processing by running the programs stored in the system storage device 28, for example, implementing the robot destination arrival determination method provided in the embodiment of the present invention, including:
[0117] Obtaining the real-time position information and target arrival area of the robot; wherein the target arrival area is determined based on a preset deviation distance and a destination position;
[0118] Determining whether the robot has entered the target arrival area according to the real-time position information;
[0119] If so, whether the robot has arrived is determined based on the obstacle recognition situation in the target arrival area and / or the movement time of the robot in the target arrival area.
[0120] Embodiment 7
[0121] Embodiment 7 of the present invention further provides a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, the method for determining the arrival of a robot destination provided in the embodiment of the present invention is implemented, including:
[0122] Obtaining the real-time position information and target arrival area of the robot; wherein the target arrival area is determined based on a preset deviation distance and a destination position;
[0123] Determining whether the robot has entered the target arrival area according to the real-time position information;
[0124] If so, whether the robot has arrived is determined based on the obstacle recognition situation in the target arrival area and / or the movement time of the robot in the target arrival area.
[0125] The computer storage medium of the embodiment of the present invention can adopt any combination of one or more computer-readable media. The computer-readable medium can be a computer-readable signal medium or a computer-readable storage medium. The computer-readable storage medium can be, for example, but not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of computer-readable storage media include: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this document, a computer-readable storage medium can be any tangible medium containing or storing a program, which can be used by an instruction execution system, a device or a device or used in combination with it.
[0126] Computer-readable signal media may include data signals propagated in baseband or as part of a carrier wave, which carry computer-readable program code. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0127] The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing.
[0128] Computer program code for performing the operation of the present invention may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0129] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.
Claims
1. A method for determining the arrival of a robot at a destination, It is characterized in that include: Obtaining the real-time position information and target arrival area of the robot; wherein the target arrival area is determined based on a preset deviation distance and a destination position; Determining whether the robot has entered the target arrival area according to the real-time position information; If yes, determining whether the robot has arrived based on the obstacle recognition in the target arrival area and / or the movement time of the robot in the target arrival area; Determining whether the robot enters the target arrival area according to the real-time position information includes: determining a remaining distance between the real-time location information and the destination location; Determining whether the robot has entered the target arrival area according to a comparison result between the remaining distance and a preset deviation distance; the preset deviation distance is predetermined according to the size of the robot, the task to be performed, and the moving place; Determining whether the robot has arrived according to obstacle recognition in the target arrival area and / or the movement time of the robot in the target arrival area includes: If the movement time of the robot in the target arrival area is greater than a second preset time threshold, it is determined that the robot has arrived.
2. The method according to claim 1, It is characterized in that Determining whether the robot has arrived according to obstacle recognition in the target arrival area and / or the movement time of the robot in the target arrival area includes: If an obstacle is identified in the target arrival area and the waiting time is greater than a first preset time threshold, it is determined that the robot has arrived.
3. The method according to claim 1, It is characterized in that Determining whether the robot has arrived according to obstacle recognition in the target arrival area and / or the movement time of the robot in the target arrival area includes: If an obstacle is identified in the target arrival area, the moving path is replanned to obtain a candidate moving path, and the moving distance and / or moving time of the candidate moving path are predicted; If the moving distance is greater than a preset distance and / or the moving time is greater than a preset time, the candidate moving path is deleted and it is determined that the robot has arrived.
4. The method according to claim 3, It is characterized in that Before re-planning the moving path, it also includes: determining whether the obstacle is located at the destination location; If yes, it is determined that the robot has arrived.
5. The method according to any one of claims 1 to 4, It is characterized in that After confirming the robot's arrival, it also includes: The robot posture is adjusted according to the current posture of the robot and the destination position so that the robot faces the direction of the destination position.
6. A robot destination arrival determination device, It is characterized in that include: A robot information acquisition module, used to acquire the real-time position information and target arrival area of the robot; wherein the target arrival area is determined based on a preset deviation distance and a destination position; A target arrival area entry module, used to determine whether the robot enters the target arrival area according to the real-time position information; an arrival determination module, for determining whether the robot has arrived according to the obstacle identification in the target arrival area and / or the movement time of the robot in the target arrival area; The target arrival area entry module is specifically used for: determining a remaining distance between the real-time location information and the destination location; Determining whether the robot has entered the target arrival area according to a comparison result between the remaining distance and a preset deviation distance; the preset deviation distance is predetermined according to the size of the robot, the task to be performed, and the moving place; The arrival determination module includes a first determination unit, which is specifically used to: If an obstacle is identified in the target arrival area and the waiting time is greater than a first preset time threshold, it is determined that the robot has arrived.
7. An electronic device, It is characterized in that include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors implement the robot destination arrival determination method as described in any one of claims 1-5.
8. A computer-readable storage medium having a computer program stored thereon, It is characterized in that When the program is executed by a processor, the robot destination arrival determination method as described in any one of claims 1 to 5 is implemented.
