[go: up one dir, main page]

CN115357017A - Robot control method, electronic device and storage medium - Google Patents

Robot control method, electronic device and storage medium Download PDF

Info

Publication number
CN115357017A
CN115357017A CN202210911177.1A CN202210911177A CN115357017A CN 115357017 A CN115357017 A CN 115357017A CN 202210911177 A CN202210911177 A CN 202210911177A CN 115357017 A CN115357017 A CN 115357017A
Authority
CN
China
Prior art keywords
sub
path
robot
target
driven
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210911177.1A
Other languages
Chinese (zh)
Inventor
贾思嘉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Force Aggregation Chongqing Robot Technology Co ltd
Original Assignee
Beijing Kuangshi Robot Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Kuangshi Robot Technology Co Ltd filed Critical Beijing Kuangshi Robot Technology Co Ltd
Priority to CN202210911177.1A priority Critical patent/CN115357017A/en
Publication of CN115357017A publication Critical patent/CN115357017A/en
Priority to PCT/CN2023/093149 priority patent/WO2024021758A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05DSYSTEMS FOR CONTROLLING OR REGULATING NON-ELECTRIC VARIABLES
    • G05D1/00Control of position, course, altitude or attitude of land, water, air or space vehicles, e.g. using automatic pilots
    • G05D1/02Control of position or course in two dimensions
    • G05D1/021Control of position or course in two dimensions specially adapted to land vehicles
    • G05D1/0212Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory
    • G05D1/0217Control of position or course in two dimensions specially adapted to land vehicles with means for defining a desired trajectory in accordance with energy consumption, time reduction or distance reduction criteria

Landscapes

  • Engineering & Computer Science (AREA)
  • Aviation & Aerospace Engineering (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)

Abstract

本申请实施例提供了机器人控制方法、电子设备及存储介质,该方法包括:基于目标机器人的行驶路径的至少一个待行驶子路径的行驶区域和至少一个已占据区域,确定该至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径,其中,至少一个已占据区域包括:被标记为由相应机器人占据的相应子路径的行驶区域和/或相应机器人在处于静止状态时占据的区域;若是,从目标机器人能够占据的至少一个待行驶子路径中确定出至少一个目标待行驶子路径,将每一个目标待行驶子路径标记为由目标机器人占据;控制目标机器人在每一个目标待行驶子路径上行驶。

Figure 202210911177

The embodiment of the present application provides a robot control method, an electronic device, and a storage medium. The method includes: based on the driving area and at least one occupied area of at least one sub-path to be driven in the driving path of the target robot, determining the at least one sub-path to be driven Whether there is at least one sub-route to be driven in the path that the target robot can occupy, wherein at least one occupied area includes: the driving area of the corresponding sub-path that is marked as occupied by the corresponding robot and/or the corresponding robot occupies when it is in a stationary state If so, at least one target sub-path to be driven is determined from at least one sub-path to be driven that the target robot can occupy, and each target sub-path to be driven is marked as occupied by the target robot; Drive on the sub-path to be driven.

Figure 202210911177

Description

机器人控制方法、电子设备及存储介质Robot control method, electronic device and storage medium

技术领域technical field

本申请涉及物流领域,具体涉及机器人控制方法、电子设备及存储介质。The present application relates to the field of logistics, and specifically relates to a robot control method, electronic equipment and storage media.

背景技术Background technique

目前,在管理仓库期间,采用的控制机器人的方式为:为每一个机器人规划出行驶路径,控制机器人在行驶路径上行驶。目前的控制机器人的方式没有考虑碰撞问题,例如由于两个机器人的行驶路径的重叠部分,导致出现两个机器人碰撞情况。At present, during the management of the warehouse, the method of controlling the robot is: planning a driving path for each robot, and controlling the robot to drive on the driving path. The current way of controlling the robot does not consider the collision problem, for example, two robots collide due to the overlapping part of the driving paths of the two robots.

发明内容Contents of the invention

为克服相关技术中存在的问题,本申请提供一种机器人控制方法、电子设备及存储介质。In order to overcome the problems existing in the related technologies, the present application provides a robot control method, electronic equipment and storage media.

本申请实施例提供一种机器人控制方法,包括:An embodiment of the present application provides a robot control method, including:

基于目标机器人的行驶路径的至少一个待行驶子路径的行驶区域和至少一个已占据区域,确定所述至少一个待行驶子路径中是否存在所述目标机器人能够占据的至少一个待行驶子路径,其中,所述至少一个已占据区域包括:被标记为由相应机器人占据的相应子路径的行驶区域和/或相应机器人在处于静止状态时占据的区域;Based on the driving area and at least one occupied area of at least one to-be-traveled sub-path of the travel path of the target robot, determine whether there is at least one to-be-traveled sub-path that the target robot can occupy in the at least one to-be-traveled sub-path, wherein , the at least one occupied area comprises: the driving area of the corresponding sub-path marked as occupied by the corresponding robot and/or the area occupied by the corresponding robot when it is in a stationary state;

若是,从所述目标机器人能够占据的至少一个待行驶子路径中确定出至少一个目标待行驶子路径,将所述至少一个目标待行驶子路径中的每一个目标待行驶子路径标记为由所述目标机器人占据;If so, at least one target sub-path to be driven is determined from at least one sub-path to be driven that the target robot can occupy, and each target sub-path to be driven in the at least one target sub-path to be driven is marked as being controlled by the target sub-path to be driven. The target robot occupies;

控制所述目标机器人在所述每一个目标待行驶子路径上行驶。Controlling the target robot to drive on each target sub-path to be driven.

本申请实施例提供一种电子设备,包括:存储器、处理器及存储在存储器上的计算机程序,该处理器执行该计算机程序以实现上述机器人控制方法。An embodiment of the present application provides an electronic device, including: a memory, a processor, and a computer program stored on the memory, and the processor executes the computer program to implement the above robot control method.

本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序/指令,该计算机程序/指令被处理器执行时实现上述机器人控制方法。An embodiment of the present application provides a computer-readable storage medium, on which a computer program/instruction is stored, and when the computer program/instruction is executed by a processor, the above robot control method is realized.

本申请实施例提供一种计算机程序产品,包括计算机程序/指令,该计算机程序/指令被处理器执行时实现上述机器人控制方法。An embodiment of the present application provides a computer program product, including a computer program/instruction, and when the computer program/instruction is executed by a processor, the above robot control method is realized.

本申请实施例提供的机器人控制方法,当目标机器人的行驶路径的目标待行驶子路径被标记为由目标机器人占用时,控制目标机器人在目标待行驶子路径上行驶。对于任意一个目标待行驶子路径,该目标待行驶子路径和任意一个已占据区域没有重叠部分,在目标机器人在该目标待行驶子路径上行驶期间,其他机器人不会在该目标待行驶子路径的行驶区域中,不会出现其他机器人碰撞目标机器人的情况。从而,目标机器人在任意一个目标待行驶子路径上行驶时,均不会出现机器人碰撞的情况。The robot control method provided in the embodiment of the present application controls the target robot to drive on the target sub-path to be driven when the target to-be-traveled sub-path of the travel path of the target robot is marked as being occupied by the target robot. For any target sub-path to be driven, there is no overlap between the target sub-path to be driven and any occupied area. In the driving area of , there will be no situation where other robots collide with the target robot. Therefore, when the target robot is driving on any sub-path of the target to be driven, there will be no robot collision.

附图说明Description of drawings

此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本申请的实施例,并与说明书一起用于解释本申请的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description serve to explain the principles of the application.

图1示出了本申请实施例提供的机器人控制方法的流程图;Fig. 1 shows the flowchart of the robot control method provided by the embodiment of the present application;

图2示出了本申请实施例提供的机器人控制装置的结构框图。Fig. 2 shows a structural block diagram of a robot control device provided by an embodiment of the present application.

具体实施方式Detailed ways

下面结合附图和实施例对本申请作进一步的详细说明。可以理解的是,此处所描述的具体实施例仅仅用于解释相关发明,而非对该发明的限定。另外还需要说明的是,为了便于描述,附图中仅示出了与有关发明相关的部分。The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

需要说明的是,在不冲突的情况下,本申请中的实施例及实施例中的描述信息可以相互组合。下面将参考附图并结合实施例来详细说明本申请。It should be noted that, in the case of no conflict, the embodiments in the present application and the description information in the embodiments may be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

随着物联网、人工智能、大数据等智能化技术的发展,利用这些智能化技术对传统物流业进行转型升级的需求愈加强劲,智慧物流(Intelligent Logistics System)成为物流领域的研究热点。智慧物流利用人工智能、大数据以及各种信息传感器、射频识别技术、全球定位系统(GPS)等物联网装置和技术,广泛应用于物料的运输、仓储、配送、包装、装卸和信息服务等基本活动环节,实现物料管理过程的智能化分析决策、自动化运作和高效率优化管理。物联网技术包括传感设备、RFID技术、激光红外扫描、红外感应识别等,物联网能够将物流中的物料与网络实现有效连接,并可实时监控物料,还可感知仓库的湿度、温度等环境数据,保障物料的储存环境。通过大数据技术可感知、采集物流中所有数据,上传至信息平台数据层,对数据进行过滤、挖掘、分析等作业,最终对业务流程(如运输、入库、存取、拣选、包装、分拣、出库、盘点、配送等环节)提供精准的数据支持。人工智能在物流中的应用方向可以大致分为两种:1)以AI技术赋能的如无人卡车、AGV、AMR、叉车、穿梭车、堆垛机、无人配送车、无人机、服务机器人、机械臂、智能终端等智能设备代替部分人工;2)通过计算机视觉、机器学习、运筹优化等技术或算法驱动的如运输设备管理系统、仓储管理、设备调度系统、订单分配系统等软件系统提高人工效率。随着智慧物流的研究和进步,该项技术在众多领域展开了应用,例如零售及电商、电子产品、烟草、医药、工业制造、鞋服、纺织、食品等领域。With the development of intelligent technologies such as the Internet of Things, artificial intelligence, and big data, the demand for using these intelligent technologies to transform and upgrade the traditional logistics industry has become increasingly strong, and intelligent logistics (Intelligent Logistics System) has become a research hotspot in the field of logistics. Smart logistics uses artificial intelligence, big data, various information sensors, radio frequency identification technology, global positioning system (GPS) and other Internet of Things devices and technologies, and is widely used in basic logistics such as material transportation, warehousing, distribution, packaging, loading and unloading, and information services. The activity link realizes the intelligent analysis and decision-making, automatic operation and high-efficiency optimized management of the material management process. The Internet of Things technology includes sensing equipment, RFID technology, laser infrared scanning, infrared induction recognition, etc. The Internet of Things can effectively connect the materials in the logistics with the network, monitor the materials in real time, and sense the humidity and temperature of the warehouse. Data, guarantee the storage environment of materials. Through big data technology, all the data in the logistics can be sensed and collected, uploaded to the data layer of the information platform, and the data can be filtered, mined, analyzed and other operations, and finally the business process (such as transportation, storage, access, picking, packaging, distribution Picking, delivery, inventory, distribution and other links) to provide accurate data support. The application direction of artificial intelligence in logistics can be roughly divided into two types: 1) Unmanned trucks, AGVs, AMRs, forklifts, shuttles, stackers, unmanned delivery vehicles, unmanned aerial vehicles, Smart devices such as service robots, robotic arms, and smart terminals replace part of the labor force; 2) Software such as transportation equipment management systems, warehouse management, equipment scheduling systems, and order distribution systems driven by computer vision, machine learning, and operational optimization technologies or algorithms The system improves labor efficiency. With the research and progress of smart logistics, this technology has been applied in many fields, such as retail and e-commerce, electronic products, tobacco, medicine, industrial manufacturing, shoes and clothing, textiles, food and other fields.

图1示出了本申请实施例提供的机器人控制方法的流程图,该方法包括:Fig. 1 shows the flowchart of the robot control method provided by the embodiment of the present application, the method includes:

步骤101,基于目标机器人的行驶路径的至少一个待行驶子路径的行驶区域和至少一个已占据区域,确定该至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径。Step 101, based on the driving area and at least one occupied area of at least one sub-path to be driven in the driving path of the target robot, determine whether there is at least one sub-path to be driven that the target robot can occupy in the at least one sub-path to be driven.

目标机器人可以为本申请实施例提供的机器人控制方法应用在的仓库中的任意一个机器人。The target robot may be any robot in the warehouse to which the robot control method provided in the embodiment of the present application is applied.

机器人可以为自动导引运输车(Automated Guided Vehicl,简称AGV)、自主移动机器人(Automated Mobile Robot,简称AMR)、叉车等。The robot may be an automated guided vehicle (Automated Guided Vehicle, AGV for short), an autonomous mobile robot (Automated Mobile Robot, AMR for short), a forklift, and the like.

在本申请中,对于任意一个机器人,该机器人的行驶路径的子路径为该机器人的行驶路径的一部分,该机器人的行驶路径的子路径通过划分该机器人的行驶路径得到。In this application, for any robot, a sub-path of the robot's driving path is a part of the robot's driving path, and the sub-paths of the robot's driving path are obtained by dividing the robot's driving path.

对于任意一个机器人的行驶路径的任意一个子路径,在该机器人在该子路径上行驶之前,该子路径为该机器人的行驶路径的待行驶子路径。For any sub-path of the travel path of any robot, before the robot travels on the sub-path, the sub-path is the to-be-traveled sub-path of the travel path of the robot.

对于任意一个机器人的行驶路径的任意一个子路径,当该机器人从该子路径的起点行驶至该子路径的终点时,则该机器人行驶完该子路径,该子路径不再作为该机器人的行驶路径的待行驶子路径。For any sub-path of the driving path of any robot, when the robot travels from the starting point of the sub-path to the end of the sub-path, the robot will finish the sub-path, and the sub-path will no longer be used as the driving path of the robot. The sub-route to be traveled of the route.

当首次执行步骤101时,目标机器人的行驶路径的每一个子路径均为目标机器人的行驶路径的待行驶子路径。When step 101 is executed for the first time, each sub-path of the traveling path of the target robot is a to-be-traveled sub-path of the traveling path of the target robot.

N大于1,当第N次执行步骤101时,目标机器人的行驶路径的所有待行驶子路径为目标机器人的行驶路径的所有子路径中的除了在第N次执行步骤101之前目标机器人已经行驶完的子路径之外的部分。N is greater than 1, when step 101 is executed for the Nth time, all the sub-paths to be driven of the travel path of the target robot are all sub-paths of the travel path of the target robot except that the target robot has already traveled before step 101 is executed for the Nth time outside of the subpath of the .

步骤101中的目标机器人的行驶路径的至少一个待行驶子路径可以是指:当执行步骤101时目标机器人的行驶路径的所有待行驶子路径。The at least one to-be-traveled sub-route of the target robot's travel route in step 101 may refer to: all to-be-traveled sub-paths of the target robot's travel route when step 101 is performed.

在目标机器人在目标机器人的行驶路径上行驶期间,至少一次执行步骤101-103。目标机器人在目标机器人的行驶路径行驶期间可以是指目标机器人从该行驶路径的起点开始行驶的时间与目标机器人到达该行驶路径的终点的时间之间的时间段。Steps 101-103 are performed at least once while the target robot is traveling on the travel path of the target robot. The period during which the target robot travels on the travel path of the target robot may refer to the time period between the time when the target robot starts to travel from the starting point of the travel path and the time when the target robot reaches the end point of the travel path.

在本申请中,目标机器人可以在满足以下项中的一个时执行步骤101:处于静止状态并且存目标机器人的行驶路径的至少一个待行驶子路径、目标机器人行驶完占据的每一个目标待行驶子路径并且存目标机器人的行驶路径的至少一个待行驶子路径、接收到指示目标机器人执行步骤101的指令。In this application, the target robot can execute step 101 when one of the following items is satisfied: it is in a static state and there is at least one sub-path to be driven in the travel path of the target robot, and each target to-be-traveled sub-path occupied by the target robot is completed. path and store at least one to-be-traveled sub-path of the travel path of the target robot, and receive an instruction instructing the target robot to execute step 101.

对于任意一个机器人的行驶路径,该机器人从该行驶路径的起点行驶至与该行驶路径的终点,则该机器人行驶完该行驶路径。For the travel path of any robot, if the robot travels from the starting point of the travel path to the end point of the travel path, the robot completes the travel path.

对于任意一个机器人的行驶路径的任意一个子路径,该机器人从该子路径的起点行驶至该子路径的终点,则该机器人行驶完该子路径。For any sub-path of the travel path of any robot, if the robot travels from the starting point of the sub-path to the end of the sub-path, then the robot completes the sub-path.

在本申请中,可以将机器人的活动区域划分为预设数量的网格,每一个网格的尺寸相同。本申请中的相应路径的起点可以为相应网格,本申请中的相应路径的终点可以为相应网格。In this application, the active area of the robot can be divided into a preset number of grids, each of which has the same size. The starting point of the corresponding path in the present application may be the corresponding grid, and the end point of the corresponding path in the present application may be the corresponding grid.

在本申请中,对于任意一个机器人,在该机器人在该机器人的行驶路径上行驶期间,该机器人执行对应该行驶路径的多个行驶操作,通过该多个行驶操作,该机器人行驶完该机器人的行驶路径,即该机器人从该行驶路径的起点行驶至该行驶路径的终点。In this application, for any robot, during the period when the robot is driving on the driving path of the robot, the robot executes a plurality of driving operations corresponding to the driving path, and through the multiple driving operations, the robot completes the driving A travel route, that is, the robot travels from the starting point of the travel route to the end point of the travel route.

对于任意一个机器人,在该机器人在该机器人的行驶路径上行驶之前,可以按照对应该机器人的行驶路径的多个行驶操作,将该机器人的行驶路径划分为该行驶路径的多个子路径,该行驶路径的每一个子路径对应该多个行驶操作中的一个行驶操作。对于该行驶路径的每一个子路径,机器人通过执行该子路径对应的行驶操作,行驶完该子路径。For any robot, before the robot travels on the robot’s travel path, the robot’s travel path can be divided into multiple sub-paths of the robot’s travel path according to the multiple travel operations corresponding to the robot’s travel path. Each sub-route of the route corresponds to one driving operation in the plurality of driving operations. For each sub-path of the driving path, the robot completes the driving of the sub-path by performing the driving operation corresponding to the sub-path.

对于任意一个机器人,可以按照该机器人的行驶路径的子路径的起点与行驶路径的起点之间的距离从小至大,对该机器人的行驶路径的所有子路径进行排序,得到该机器人的行驶路径的子路径的次序,该机器人的行驶路径的子路径的数量记为n,该机器人的行驶路径的子路径的次序定义该机器人的行驶路径的第1个子路径、该机器人的行驶路径的第2个子路径...该机器人的行驶路径的第n个子路径。For any robot, all the sub-paths of the robot's driving path can be sorted according to the distance between the starting point of the sub-path of the robot's driving path and the starting point of the driving path, and the distance between the starting point of the driving path of the robot can be obtained. The order of sub-paths, the number of sub-paths of the robot’s travel path is denoted as n, the order of the sub-paths of the robot’s travel path defines the first sub-path of the robot’s travel path, the second sub-path of the robot’s travel path path...the nth subpath of the robot's travel path.

对于任意一个机器人,在该机器人在该机器人的行驶路径上行驶期间,该机器人从该机器人的行驶路径的第1个子路径开始行驶,当机器人行驶完该机器人的行驶路径的最后一个子路径时,该机器人行驶完该机器人的行驶路径。For any robot, during the period when the robot is traveling on the robot’s travel path, the robot starts to travel from the first sub-path of the robot’s travel path, and when the robot finishes driving the last sub-path of the robot’s travel path, The robot travels to the end of the robot's travel path.

在本申请中,机器人在本申请实施例提供的机器人控制方法应用在的仓库的地面上行驶,可以建立坐标系,坐标系的原点在该地面所在的平面上,坐标系的X轴、Y轴均在该地面所在的平面上,坐标系的X轴为水平方向的坐标轴,坐标系的Y轴为垂直方向的坐标轴。In this application, the robot drives on the ground of the warehouse where the robot control method provided in the embodiment of this application is applied, and a coordinate system can be established. The origin of the coordinate system is on the plane where the ground is located, and the X-axis and Y-axis of the coordinate system All are on the plane where the ground is located, the X-axis of the coordinate system is the coordinate axis in the horizontal direction, and the Y-axis of the coordinate system is the coordinate axis in the vertical direction.

在本申请中,对于任意一个机器人,该机器人执行的行驶操作的类型可以包括但不限于直移动行驶操作、旋转操作。In this application, for any robot, the type of driving operation performed by the robot may include but not limited to straight-line driving operation and rotation operation.

长直移动行驶操作可以为:机器人在水平方向行驶或在垂直方向行驶。旋转操作可以为:机器人在旋转行驶操作对应的旋转位置进行旋转。The long-distance moving operation can be: the robot travels in the horizontal direction or in the vertical direction. The rotation operation may be: the robot rotates at a rotation position corresponding to the rotation driving operation.

在本申请中,对于任意一个机器人的行驶路径的任意一个子路径,该子路径的行驶区域的形状为多边形。In the present application, for any sub-path of any robot's driving path, the shape of the driving area of the sub-path is a polygon.

在本申请中,对于一个机器人执行的一个长直移动行驶操作,通过该长直移动行驶操作,该机器人从该长直移动行驶操作对应的起点行驶至该长直移动行驶操作对应的终点,该长直移动行驶操作对应的起点、该长直移动行驶操作对应的终点由本申请实施例提供的机器人控制方法应用在的仓库的仓库管理系统提供。该长直移动行驶操作对应的起点即为该长直移动行驶操作对应的子路径的起点,该长直移动行驶操作对应的终点即为该长直移动行驶操作对应的子路径的终点。In this application, for a long straight movement operation performed by a robot, through the long straight movement operation, the robot travels from the starting point corresponding to the long straight movement operation to the end point corresponding to the long straight movement operation, the The starting point corresponding to the long straight moving operation and the end point corresponding to the long straight moving operation are provided by the warehouse management system of the warehouse where the robot control method provided by the embodiment of the present application is applied. The starting point corresponding to the long-straight traveling operation is the starting point of the sub-path corresponding to the long-straight traveling operation, and the end point corresponding to the long-straight traveling operation is the end point of the sub-path corresponding to the long-straight traveling operation.

对应长直移动行驶操作的子路径的行驶区域的形状可以为一个矩形,该矩形的水平的边与坐标系的X轴平行,该矩形的垂直的边与坐标系的Y轴平行。The shape of the driving area of the sub-route corresponding to the long straight moving driving operation may be a rectangle, the horizontal side of the rectangle is parallel to the X-axis of the coordinate system, and the vertical side of the rectangle is parallel to the Y-axis of the coordinate system.

对于对应一个机器人执行的一个长直移动行驶操作的一个子路径,该子路径的行驶区域的形状可以为一个矩形,若该机器人在该子路径上行驶时该机器人的行驶方向为水平方向,该子路径的起点在该矩形的一个垂直的边上,该子路径的终点在该矩形的另一个垂直的边上,该矩形的长度为该子路径的起点与该子路径的终点之间的距离,该矩形的宽度为:该机器人在该子路径上行驶时在坐标系的Y轴上的Y轴坐标值最大的点的Y轴坐标值减去该机器人在该子路径上行驶时在坐标系Y轴上的Y轴坐标值最小的点的Y轴坐标值。For a sub-path corresponding to a long straight moving operation performed by a robot, the shape of the driving area of the sub-path can be a rectangle. The starting point of the subpath is on one vertical side of the rectangle, the end point of the subpath is on the other vertical side of the rectangle, and the length of the rectangle is the distance between the starting point of the subpath and the end point of the subpath , the width of the rectangle is: the Y-axis coordinate value of the point with the largest Y-axis coordinate value on the Y-axis of the coordinate system when the robot is driving on the sub-path minus the value in the coordinate system when the robot is driving on the sub-path The Y-axis coordinate value of the point with the smallest Y-axis coordinate value on the Y-axis.

若该机器人在该子路径上行驶时该机器人的行驶方向为垂直方向,该子路径的起点在该矩形的一个水平的边上,该子路径的终点在矩形的另一个水平的边上,该矩形的宽度为:该子路径的起点与该子路径的终点之间的距离,该矩形的长度为:该机器人在该子路径上行驶时在坐标系的X轴上的X轴坐标值最大的点的X轴坐标值减去该机器人在该子路径上行驶时在坐标系的X轴上的X轴坐标值最小的点的X轴坐标值。If the robot travels in the vertical direction when the robot is traveling on the sub-path, the starting point of the sub-path is on one horizontal side of the rectangle, and the end point of the sub-path is on the other horizontal side of the rectangle, the The width of the rectangle is: the distance between the starting point of the sub-path and the end point of the sub-path, and the length of the rectangle is: the X-axis coordinate value on the X-axis of the coordinate system when the robot is driving on the sub-path is the largest The X-axis coordinate value of the point is subtracted from the X-axis coordinate value of the point with the smallest X-axis coordinate value on the X-axis of the coordinate system when the robot is driving on the sub-path.

在本申请中,对于由一个机器人执行的一个旋转行驶操作,该机器人在该旋转行驶操作对应的旋转位置进行旋转,通过该转行驶操作,可以将机器人的行驶方向从水平方向和垂直方向中的一个转换为水平方向和垂直方向中的另一个,该旋转行驶操作对应的旋转位置由本申请实施例提供的机器人控制方法应用在的仓库的仓库管理系统提供。In this application, for a rotation driving operation performed by a robot, the robot rotates at the rotation position corresponding to the rotation driving operation. Through this rotation driving operation, the driving direction of the robot can be changed from the horizontal direction to the vertical direction. One is transformed into the other of the horizontal direction and the vertical direction, and the rotation position corresponding to the rotation driving operation is provided by the warehouse management system of the warehouse where the robot control method provided by the embodiment of the present application is applied.

对应一个机器人执行的一个旋转行驶操作的一个子路径的形状可以为一个圆形,该旋转行驶操作为:该机器人在该旋转行驶操作对应的旋转位置进行旋转,该圆形的圆心可以为该旋转行驶操作对应的旋转位置,该圆形的直径可以为:包围该机器人的矩形的对角线的长度,该机器人上在各个方向上的最边缘的点均在包围该机器人的矩形的相应的边上。The shape of a sub-path corresponding to a rotation driving operation performed by a robot can be a circle, and the rotation driving operation is: the robot rotates at the rotation position corresponding to the rotation driving operation, and the center of the circle can be the rotation The rotation position corresponding to the driving operation, the diameter of the circle can be: the length of the diagonal of the rectangle surrounding the robot, and the most edge points on the robot in all directions are on the corresponding sides of the rectangle surrounding the robot superior.

在本申请中,对于任意一个机器人,当该机器人处于静止状态时,可以确定包围该机器人的矩形、与包围该机器人的矩形相关的圆形,该机器人上在各个方向上的最边缘的点均在包围机器人的矩形的相应的边上。与包围该机器人的矩形相关的圆形的中心点为包围该机器人的矩形的中心点,与包围该机器人的矩形相关的圆形的直径可以为包围该机器人的矩形的长度。确定该矩形与该圆形相交的6个点,将6个点连接,得到一个六边形,该六边形为该机器人处于静止状态时占据的区域的形状。In this application, for any robot, when the robot is in a static state, the rectangle surrounding the robot and the circle related to the rectangle surrounding the robot can be determined, and the most edge points on the robot in all directions are on the corresponding side of the rectangle enclosing the robot. The center point of the circle associated with the rectangle surrounding the robot is the center point of the rectangle surrounding the robot, and the diameter of the circle associated with the rectangle surrounding the robot may be the length of the rectangle surrounding the robot. Determine the 6 points where the rectangle intersects the circle, and connect the 6 points to obtain a hexagon, which is the shape of the area occupied by the robot when it is in a stationary state.

步骤101中的至少一个已占据区域包括:被标记为由相应机器人占据的相应子路径的行驶区域和/或相应机器人在处于静止状态时占据的区域。The at least one occupied area in step 101 includes: the driving area of the corresponding sub-route marked as occupied by the corresponding robot and/or the area occupied by the corresponding robot when it is in a stationary state.

每一个被标记为由相应机器人占据的相应子路径的行驶区域均作为已占据区域,每一个相应机器人在处于静止状态时占据的区域均作为已占据区域。Each driving area of the corresponding sub-path marked as occupied by the corresponding robot is taken as the occupied area, and the area occupied by each corresponding robot when it is at rest is taken as the occupied area.

步骤101中的至少一个已占据区域可以是指:当执行步骤101时所有的已占据区域。The at least one occupied area in step 101 may refer to: all occupied areas when step 101 is performed.

在本申请中,基于目标机器人的行驶路径的至少一个待行驶子路径的行驶区域和至少一个已占据区域,确定该至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径。In the present application, based on the driving area and at least one occupied area of at least one to-be-traveled sub-path of the travel path of the target robot, determine whether there is at least one to-be-traveled sub-path that the target robot can occupy in the at least one to-be-traveled sub-path .

对于任意一个目标机器人能够占据的待行驶子路径,该目标机器人能够占据的待行驶子路径和至少一个已占据区域中的任意一个已占据区域没有重叠部分。For any sub-path to be driven that can be occupied by the target robot, there is no overlap between the sub-path to be driven that can be occupied by the target robot and any one of the occupied areas in at least one occupied area.

对于任意两个区域,若两个区域具有重叠部分,两个区域的重叠部分是指既属于两个区域中的一个区域,也属于两个区域中的另一个区域的部分。For any two areas, if the two areas have an overlapping portion, the overlapping portion of the two areas refers to the portion that belongs to either one of the two areas or the other of the two areas.

在本申请中,若执行步骤101时,目标机器人的行驶路径的待行驶子路径的数量为一个,则确定目标机器人是否能够占用一个待行驶子路径。In the present application, if step 101 is executed, the number of sub-paths to be driven in the travel route of the target robot is one, then it is determined whether the target robot can occupy one sub-path to be driven.

若执行步骤101,目标机器人的行驶路径的待行驶子路径的数量为多个,则可以按照该机器人的行驶路径的待行驶子路径的起点与行驶路径的起点之间的距离从小至大,对该机器人的行驶路径的多个待行驶子路径,该多个待行驶子路径的次序。If step 101 is executed, and the number of sub-paths to be driven in the travel path of the target robot is multiple, then the distance between the starting point of the to-be-traveled sub-path and the starting point of the travel path of the robot’s travel path can be increased from small to large, for Multiple to-be-traveled sub-paths of the driving path of the robot, and the order of the multiple to-be-traveled sub-paths.

按照多个待行驶子路径的次序,依次确定该多个待行驶子路径中的待行驶子路径是否能够被目标机器人占用,直到确定目标机器人不能够占据相应的一个待行驶子路径。首先确定目标机器人是否能够占用多个待行驶子路径的次序定义的第1个待行驶子路径,当确定目标机器人能够占用多个待行驶子路径的次序定义的第1个待行驶子路径时,确定目标机器人是否能够占用多个待行驶子路径的次序定义的第2个待行驶子路径,以此类推。According to the order of the plurality of sub-paths to be driven, it is sequentially determined whether the sub-paths to be driven in the plurality of sub-paths to be driven can be occupied by the target robot until it is determined that the target robot cannot occupy a corresponding sub-route to be driven. First determine whether the target robot can occupy the first sub-path to be driven defined by the sequence of multiple sub-paths to be driven, when it is determined that the target robot can occupy the first sub-path to be driven defined by the sequence of multiple sub-paths to be driven, Determine whether the target robot can occupy the second sub-path to be driven defined by the order of multiple sub-paths to be driven, and so on.

在本申请中,对于目标机器人的行驶路径的任意一个待行驶子路径,确定目标机器人是否能够占用该待行驶子路径可以包括:确定该待行驶子路径是否被标记为由其他机器人占用;若该待行驶子路径被标记为由其他机器人占用,确定目标机器人不能够占用该待行驶子路径;若该待行驶子路径没有被标记为由其他机器人占用,分别确定至少一个已占据区域中的每一个已占据区域是否和该待行驶子路径的行驶区域有重叠部分;若该待行驶子路径和任意一个已占据区域没有重叠部分,确定目标机器人能够占用该待行驶子路径,若存在和待行驶子路径有重叠部分的已占据区域,确定目标机器人不能够占用该待行驶子路径。In this application, for any sub-path to be driven in the travel path of the target robot, determining whether the target robot can occupy the sub-path to be driven may include: determining whether the sub-path to be driven is marked as being occupied by other robots; If the sub-path to be driven is marked as occupied by other robots, it is determined that the target robot cannot occupy the sub-path to be driven; if the sub-path to be driven is not marked as occupied by other robots, determine each of the at least one occupied area Whether the occupied area overlaps with the driving area of the sub-path to be driven; if there is no overlap between the sub-path to be driven and any occupied area, it is determined that the target robot can occupy the sub-path to be driven. In the occupied area where the path overlaps, it is determined that the target robot cannot occupy the sub-path to be driven.

目标机器人可以为本申请实施例提供的机器人控制方法应用在的仓库中的任意一个机器人,其他机器人是相对于目标机器人而言的,该仓库中的不是目标机器人的机器人为其他机器人。The target robot may be any robot in the warehouse to which the robot control method provided in the embodiment of the present application is applied. Other robots are relative to the target robot, and the robots in the warehouse that are not the target robot are other robots.

步骤102,从目标机器人能够占据的至少一个待行驶子路径中确定出至少一个目标待行驶子路径,将每一个目标待行驶子路径标记为由目标机器人占据。Step 102: Determine at least one target sub-route to be driven from at least one sub-path to be driven that the target robot can occupy, and mark each target sub-path to be driven as occupied by the target robot.

在本申请中,若确定的目标机器人能够占据的待行驶子路径的数量为一个,将确定的目标机器人能够占据的一个待行驶子路径作为一个目标待行驶子路径。In this application, if the determined sub-route to be driven that the target robot can occupy is one, the determined sub-route to be driven that the target robot can occupy is taken as a target sub-route to be driven.

若确定的目标机器人能够占据的待行驶子路径的数量为多个,可以分别将通过确定的目标机器人能够占据的每一个待行驶子路径作为一个目标待行驶子路径。If the number of sub-paths to be driven that can be occupied by the determined target robot is multiple, each sub-path to be driven that can be occupied by the determined target robot can be used as a target sub-path to be driven.

在本申请中,在从目标机器人能够占据的至少一个待行驶子路径中确定出至少一个目标待行驶子路径之后,目标机器人占据该至少一个目标待行驶子路径中的每一个目标待行驶子路径。In the present application, after at least one target sub-path to be driven is determined from at least one sub-path to be driven that the target robot can occupy, the target robot occupies each target sub-path to be driven in the at least one target sub-path to be driven .

对于任意一个机器人的行驶路径的任意一个子路径,当该子路径被标记为由该机器人占据时,其他机器人不能够占据该子路径。For any sub-path of any robot's travel path, when the sub-path is marked as occupied by the robot, other robots cannot occupy the sub-path.

对于任意一个机器人的行驶路径的任意一个子路径,当该子路径被标记为由该机器人占据时,该机器人可以在该子路径上行驶,在该机器人行驶完该子路径之后,取消该子路径由该机器人占据的标记。For any sub-path of any robot's driving path, when the sub-path is marked as occupied by the robot, the robot can drive on the sub-path, and cancel the sub-path after the robot has driven the sub-path The markers occupied by this bot.

在本申请中,将确定的至少一个目标待行驶子路径中的每一个目标待行驶子路径标记为由目标机器人占据。In the present application, each target sub-route to be driven in the determined at least one target sub-path to be driven is marked as being occupied by the target robot.

对于确定的至少一个目标待行驶子路径中的每一个目标待行驶子路径,在将该目标待行驶子路径标记为由目标机器人占据之后并且在取消该该目标待行驶子路径由该机器人占据的标记之前,该目标待行驶子路径作为一个已占据区域。For each target sub-path to be driven in the determined at least one target sub-path to be driven, after marking the target sub-path to be driven as occupied by the target robot and canceling the target sub-path to be driven occupied by the robot Before marking, the target to-be-traveled sub-path is regarded as an occupied area.

在本申请中,当确定目标机器人不能够占据至少一个待行驶子路径时,若目标机器人处于静止状态,则目标机器人继续处于静止状态。当确定目标机器人不能够占据至少一个待行驶子路径时,若目标机器人在相应子路径上行驶,则当目标机器人行驶完已经占据的所有子路径中的最后一个子路径时,目标机器人停止行驶,目标机器人处于静止状态。In the present application, when it is determined that the target robot cannot occupy at least one sub-route to be driven, if the target robot is in a static state, the target robot continues to be in a static state. When it is determined that the target robot cannot occupy at least one sub-path to be driven, if the target robot is traveling on the corresponding sub-path, then when the target robot has driven the last sub-path in all the sub-paths it has occupied, the target robot stops driving, The target robot is at rest.

步骤103,控制目标机器人在每一个目标待行驶子路径上行驶。Step 103, controlling the target robot to drive on each target sub-path to be driven.

在本申请中,控制目标机器人在每一个目标待行驶子路径上行驶可以包括:若确定出一个目标待行驶子路径,当目标机器人处于静止状态或目标机器人行驶完在控制目标机器人在每一个目标待行驶子路径上行驶之前占据的每一个子路径时,向目标机器人发送该一个目标待行驶子路径对应的行驶操作的指令,以触发目标机器人执行该目标待行驶子路径对应的行驶操作,行驶完目标待行驶子路径。In the present application, controlling the target robot to travel on each target sub-path to be driven may include: if a target to-be-traveled sub-path is determined, when the target robot is in a static state or the target robot has finished driving, control the target robot to travel on each target sub-path When each sub-path occupied before driving on the sub-path to be driven, send the instruction of the driving operation corresponding to the target sub-path to be driven to the target robot, so as to trigger the target robot to perform the driving operation corresponding to the target sub-path to be driven, and drive Complete the target sub-path to be driven.

控制目标机器人在每一个目标待行驶子路径上行驶可以包括:若确定出多个目标待行驶子路径,按照目标待行驶子路径的起点与目标机器人的行驶路径的起点之间的距离从小至大,对该多个目标待行驶子路径进行排序,得到目标待行驶子路径的次序;按照目标待行驶子路径的次序,控制目标机器人依次在每一个目标待行驶子路径上行驶。Controlling the target robot to drive on each target sub-path to be driven may include: if multiple target sub-paths to be driven are determined, according to the distance between the starting point of the target to-be-driven sub-path and the starting point of the target robot's driving path from small to large , the multiple target sub-paths to be driven are sorted to obtain the order of the target sub-paths to be driven; according to the order of the target sub-paths to be driven, the target robot is controlled to drive on each target sub-path to be driven in sequence.

按照目标待行驶子路径的次序,控制目标机器人依次在每一个目标待行驶子路径上行驶可以包括:对于目标待行驶子路径的次序定义的第1个目标待行驶子路径,当目标机器人处于静止状态或目标机器人行驶完在控制目标机器人在第1个目标待行驶子路径上行驶之前占据的任意一个子路径时,向目标机器人发送第1个目标待行驶子路径对应的行驶操作的指令,以触发目标机器人执行第1个目标待行驶子路径对应的行驶操作,行驶完第1个目标待行驶子路径。According to the order of the target sub-paths to be driven, controlling the target robot to drive on each target sub-path to be driven in turn may include: for the first target to-be-run sub-path defined in the order of the target to-be-run sub-paths, when the target robot is at rest state or when the target robot has finished driving and controls any sub-path occupied by the target robot before driving on the first target to-be-traveled sub-path, send the instruction of the driving operation corresponding to the first target to-be-traveled sub-path to the target robot to Trigger the target robot to execute the driving operation corresponding to the first target sub-path to be driven, and complete the first target sub-path to be driven.

确定出多个目标待行驶子路径中的在目标待行驶子路径的次序定义的第1个目标待行驶子路径之后的目标待行驶子路径为其他目标待行驶子路径。The target to-be-traveled sub-route after the first target to-be-traveled sub-route defined in the order of the target to-be-traveled sub-paths among the plurality of target to-be-traveled sub-paths is determined as other target to-be-traveled sub-paths.

按照目标待行驶子路径的次序,控制目标机器人依次在每一个目标待行驶子路径上行驶可以包括:对于每一个其他目标待行驶子路径,当目标机器人行驶完在该其他目标待行驶子路径的前一个目标待行驶子路径时,向目标机器人发送该其他目标待行驶子路径对应的行驶操作的指令,以触发目标机器人执行该其他目标待行驶子路径对应的行驶操作,行驶完该其他目标待行驶子路径。According to the order of the target to-be-traveled sub-paths, controlling the target robot to drive on each target to-be-traveled sub-path in turn may include: for each other target to-be-traveled sub-paths, When the previous target is to be driven on the sub-path, send an instruction of the driving operation corresponding to the other target to be driven sub-path to the target robot, so as to trigger the target robot to perform the driving operation corresponding to the other target to be driven sub-path, and after driving the other target to be driven Travel subpaths.

在本申请中,当目标机器人的行驶路径的目标待行驶子路径被标记为由目标机器人占用时,控制目标机器人在目标待行驶子路径上行驶。对于任意一个目标待行驶子路径,该目标待行驶子路径和任意一个已占据区域没有重叠部分,在目标机器人在该目标待行驶子路径上行驶期间,其他机器人不会在该目标待行驶子路径的行驶区域中,不会出现其他机器人碰撞目标机器人的情况。从而,目标机器人在任意一个目标待行驶子路径上行驶时,均不会出现机器人碰撞的情况。In the present application, when the target to-be-traveled sub-path of the target robot's travel path is marked as being occupied by the target robot, the target robot is controlled to travel on the target to-be-traveled sub-path. For any target sub-path to be driven, there is no overlap between the target sub-path to be driven and any occupied area. In the driving area of , there will be no situation where other robots collide with the target robot. Therefore, when the target robot is driving on any sub-path of the target to be driven, there will be no robot collision.

在一些实施例中,当确定出多个目标待行驶子路径时,多个目标待行驶子路径的占据长度大于最小占据长度阈值并且目标待行驶子路径的占据长度小于最大占据长度阈值,多个目标待行驶子路径的占据长度为所述所述多个目标待行驶子路径的长度之和。In some embodiments, when multiple target sub-paths to be driven are determined, the occupied lengths of the multiple target sub-paths to be driven are greater than the minimum occupied length threshold and the occupied lengths of the target to-be-traveled sub-paths are smaller than the maximum occupied length threshold, the multiple The occupied length of the target sub-route to be driven is the sum of the lengths of the multiple target sub-paths to be driven.

在本申请中,可以按照目标机器人能够占据的待行驶子路径的起点与行驶路径的起点之间的距离从小至大,对目标机器人能够占据的多个待行驶子路径进行排序,得到该多个待行驶子路径的次序。按照该多个待行驶子路径的次序,依次选择该多个待行驶子路径中的待行驶子路径,直至选择的所有待行驶子路径的长度之和大于最小占据长度阈值并且选择的所有待行驶子路径的长度小于最大占据长度阈值,选择的所有待行驶子路径的长度为选择的所有待行驶子路径中的每一个待行驶子路径的长度之和,选择的所有待行驶子路径包括的待行驶子路径的数量为多个,分别将每一个选择的待行驶子路径确定为一个目标待行驶子路径。In this application, according to the distance between the starting point of the sub-route to be driven that the target robot can occupy and the starting point of the driving path, the multiple sub-paths to be driven that the target robot can occupy can be sorted to obtain the multiple The order of the sub-paths to be traveled. According to the order of the plurality of sub-paths to be driven, sequentially select the sub-paths to be driven in the plurality of sub-paths to be driven until the sum of the lengths of all the selected sub-paths to be driven is greater than the minimum occupation length threshold and all the selected to-be-driven sub-paths The length of the sub-path is less than the maximum occupied length threshold, the length of all the selected sub-paths to be driven is the sum of the lengths of each of the selected sub-paths to be driven, and all the selected sub-paths to be driven include There are multiple driving sub-paths, and each selected sub-route to be driven is determined as a target sub-route to be driven.

如果多个目标待行驶子路径的占据长度长度过小,则目标机器人行驶较短距离,即可行驶完每一个目标待行驶子路径,就需要再次执行步骤101,导致目标机器人的作业效率的降低。如果多个目标待行驶子路径的占据长度过大,则目标机器人长时间占据多个目标待行驶子路径,其他机器人长时间等待目标机器人行驶完每一个目标待行驶子路径,导致整体作业效率的降低。If the occupied lengths of multiple target sub-paths to be driven are too small, the target robot can travel a short distance to complete each target to-be-traveled sub-path, and step 101 needs to be executed again, resulting in a reduction in the operating efficiency of the target robot . If the occupation length of multiple target sub-paths to be driven is too large, the target robot will occupy multiple target sub-paths to be driven for a long time, and other robots will wait for a long time for the target robot to complete each target to-be-driven sub-path, resulting in a decrease in the overall operating efficiency. reduce.

在本申请中,当确定出多个目标待行驶子路径时,多个目标待行驶子路径的占据长度可以大于最小占据长度阈值并且目标待行驶子路径的占据长度可以小于最大占据长度阈值,多个目标待行驶子路径的占据长度既不会过小,也不会过大,避免作业效率的降低。In the present application, when multiple target sub-paths to be driven are determined, the occupied lengths of the multiple target sub-paths to be driven may be greater than the minimum occupied length threshold and the occupied length of the target to-be-traveled sub-paths may be less than the maximum occupied length threshold. The occupation length of each target sub-path to be driven is neither too small nor too large, so as to avoid the reduction of operating efficiency.

在一些实施例中,基于目标机器人的行驶路径的待行驶子路径的行驶区域和至少一个已占据区域,确定该行驶路径的至少一个待行驶子路径是否存在目标机器人能够占据的至少一个待行驶子路径包括:确定至少一个已占据区域中是否存在与待行驶子路径的行驶区域有重叠部分的已占据区域;若否,将该待行驶子路径标记为由目标机器人进行待提交占据;确定该待行驶子路径是否被标记为由其他机器人进行待提交占据;若是,当从目标机器人和该其他机器人中选择出该目标机器人时,确定该目标机器人能够占据该待行驶子路径;若否,确定该目标机器人能够占据该待行驶子路径。In some embodiments, based on the driving area and at least one occupied area of the to-be-traveled sub-path of the travel path of the target robot, it is determined whether there is at least one to-be-traveled sub-path that the target robot can occupy in the at least one to-be-traveled sub-path of the travel path. The path includes: determining whether there is an occupied area that overlaps with the driving area of the sub-path to be driven in at least one occupied area; if not, marking the sub-path to be driven as being occupied by the target robot to be submitted; Whether the driving sub-path is marked as being occupied by other robots to be submitted; if so, when the target robot is selected from the target robot and the other robots, determine that the target robot can occupy the sub-path to be driven; if not, determine the The target robot can occupy the sub-path to be driven.

对于行驶路径的至少一个待行驶子路径中的任意一个待行驶子路径,确定目标机器人能够占据该待行驶子路径可以包括:确定至少一个已占据区域中是否存在与该待行驶子路径的行驶区域有重叠部分的已占据区域;若确定至少一个已占据区域中不存在与该待行驶子路径的行驶区域有重叠部分的已占据区域时,将该待行驶子路径标记为由目标机器人进行待提交占据;确定该待行驶子路径是否被标记为由其他机器人进行待提交占据;若该待行驶子路径被标记为由其他机器人进行待提交占据,当从目标机器人和该其他机器人中选择出目标机器人时,确定目标机器人能够占据该待行驶子路径;若该待行驶子路径没有被标记为由其他机器人进行待提交占据,确定目标机器人能够占据该待行驶子路径。For any sub-path to be driven in at least one sub-path to be driven of the driving route, determining that the target robot can occupy the sub-path to be driven may include: determining whether there is a driving area related to the sub-path to be driven in at least one occupied area Occupied areas with overlapping parts; if it is determined that at least one occupied area does not have an occupied area that overlaps with the driving area of the sub-path to be driven, mark the sub-path to be driven as being submitted by the target robot Occupation; determine whether the sub-path to be driven is marked as being occupied by other robots; if the sub-path to be driven is marked as being occupied by other robots, when the target robot is selected from the target robot and the other robots , it is determined that the target robot can occupy the sub-path to be driven; if the sub-path to be driven is not marked as being submitted for occupancy by other robots, it is determined that the target robot can occupy the sub-path to be driven.

对于行驶路径的至少一个待行驶子路径中的任意一个待行驶子路径,若确定该待行驶子路径被标记为由其他机器人进行待提交占据,从目标机器人和该其他机器人中随机选择出一个机器人,若随机选择的机器人为该目标机器人,确定目标机器人能够占据该待行驶子路径,若随机选择的机器人为该其他机器人,在确定由其他机器人能够占据该待行驶子路径。For any sub-path to be driven in at least one sub-path to be driven in the driving route, if it is determined that the sub-path to be driven is marked as being occupied by other robots, a robot is randomly selected from the target robot and the other robots , if the randomly selected robot is the target robot, it is determined that the target robot can occupy the sub-path to be driven; if the randomly selected robot is the other robot, it is determined that other robots can occupy the sub-path to be driven.

对于行驶路径的至少一个待行驶子路径中的任意一个待行驶子路径,该待行驶子路径被标记为由其他机器人进行待提交占据与该该待行驶子路径被标记为由目标机器人进行待提交占据同理,在针对该其他机器人的一次控制过程中,确定相应的至少一个已占据区域中不存在具有与该待行驶子路径的行驶区域有重叠区域的已占据区域,将该待行驶子路径标记为由该其他机器人进行待提交占据。For any sub-path to be driven in at least one sub-path to be driven of the driving route, the sub-path to be driven is marked as being occupied by other robots and the sub-path to be driven is marked as being submitted by the target robot In the same way, in a control process for the other robot, it is determined that there is no occupied area with an overlapping area with the driving area of the sub-path to be driven in the corresponding at least one occupied area, and the sub-path to be driven Marked as occupied by this other robot for pending submission.

在本申请中,对于行驶路径的至少一个待行驶子路径中的任意一个待行驶子路径,在确定目标机器人能够占据待行驶子路径或目标机器人不能够占据待行驶子路径之后,取消由目标机器人进行待提交占据的标记,若待行驶子路径被标记为由其他机器人进行待提交占据,取消该待行驶子路径由其他机器人进行待提交占据的标记。In this application, for any sub-path to be driven in at least one sub-path to be driven of the driving route, after it is determined that the target robot can occupy the sub-path to be driven or the target robot cannot occupy the sub-path to be driven, cancel the Mark the sub-path to be submitted for occupancy. If the sub-path to be driven is marked as being occupied by other robots, cancel the mark that the sub-path to be driven is occupied by other robots.

在本申请中,对于任意一个机器人的行驶路径的任意一个子路径,当该子路径被标记为由相应机器人进行待提交占据时,可以将该子路径的行驶区域视为已占据区域,步骤101中的至少一个已占据区域可以包括该子路径的行驶区域。In this application, for any sub-path of any robot's driving path, when the sub-path is marked as being occupied by the corresponding robot, the driving area of the sub-path can be regarded as the occupied area, step 101 At least one of the occupied areas may include the travel area of the sub-route.

在本申请中,考虑了两个机器人抢占待行驶子路径的问题即两个机器人同时或几乎同时确定能够占用同一个子路径。当两个机器人同时或几乎同时确定能够占用同一个子路径时,只能有一个机器人可以占用同一个子路径。In this application, the problem of two robots occupying the sub-path to be driven is considered, that is, two robots determine that they can occupy the same sub-path at the same time or almost simultaneously. When two robots are determined to be able to occupy the same sub-path at the same time or almost simultaneously, only one robot can occupy the same sub-path.

在本申请中,将当确定至少一个已占据区域中不存在与该待行驶子路径的行驶区域有重叠部分的已占据区域时,将该待行驶子路径标记为由目标机器人进行待提交占据,根据该待行驶子路径是否被标记为由其他机器人进行待提交占据,确定目标机器人或其他机器人能够占据待行驶子路径,无需通过互斥锁,高效地解决两个机器人抢占待行驶子路径的问题。In the present application, when it is determined that there is no occupied area overlapping with the driving area of the sub-path to be driven in at least one occupied area, the sub-path to be driven is marked as being occupied by the target robot to be submitted, According to whether the sub-path to be driven is marked as being occupied by other robots, it is determined that the target robot or other robots can occupy the sub-path to be driven, and the problem of two robots preempting the sub-path to be driven is efficiently solved without using a mutex .

在一些实施例中,对于目标机器人的行驶路径的至少一个待行驶子路径中的任意一个待行驶子路径,确定至少一个已占据区域中是否存在与该待行驶子路径的行驶区域有重叠部分的已占据区域包括:基于该待行驶子路径的行驶区域的形状信息和形状信息数据库中的该至少一个已占据区域中的每一个已占据区域的形状信息,确定该至少一个已占据区域中是否存在具有与该待行驶子路径的行驶区域的形状相交的形状的已占据区域;若是,确定该至少一个已占据区域中存在与该待行驶子路径的行驶区域有重叠部分的已占据区域;若否,确定该至少一个已占据区域中不存在与该待行驶子路径的行驶区域有重叠部分的已占据区域。In some embodiments, for any sub-path to be driven in at least one sub-path to be driven of the travel path of the target robot, it is determined whether there is an overlapping portion with the driving area of the to-be-traveled sub-path in at least one occupied area The occupied area includes: based on the shape information of the driving area of the sub-route to be driven and the shape information of each occupied area in the at least one occupied area in the shape information database, determine whether there is There is an occupied area of a shape intersecting with the shape of the travel area of the to-be-traveled sub-path; if so, determining that there is an occupied area that overlaps with the travel area of the to-be-traveled sub-path in the at least one occupied area; if not , it is determined that there is no occupied area overlapping with the driving area of the to-be-traveled sub-route in the at least one occupied area.

在本申请中,可以利用形状信息数据库存储每一个已占据区域的形状的形状信息,对于任意一个已占据区域,该已占据区域的形状信息用于确定已占据区域,该已占据区域的形状信息可以包括以下项或以下项的一部分:该已占据区域的形状的中心点的位置、该已占据区域的形状的各个边的长度、该已占据区域的形状的类型、用于得到该已占据区域的形状的点的位置。In this application, the shape information database can be used to store the shape information of the shape of each occupied area. For any occupied area, the shape information of the occupied area is used to determine the occupied area. The shape information of the occupied area The following items or part of the following items may be included: the position of the center point of the shape of the occupied area, the length of each side of the shape of the occupied area, the type of the shape of the occupied area, the The position of the point of the shape.

对于目标机器人的行驶路径的至少一个待行驶子路径中的任意一个待行驶子路径,该待行驶子路径的行驶区域的形状信息用于确定该待行驶子路径的行驶区域的形状,该待行驶子路径的行驶区域的形状信息可以包括以下项或以下项的一部分:该待行驶子路径的行驶区域的形状的中心点的位置、该待行驶子路径的行驶区域的形状的各个边的长度、该待行驶子路径的行驶区域的形状的类型、用于得到该待行驶子路径的行驶区域的形状的点的位置。For any sub-path to be driven in at least one sub-path to be driven of the travel path of the target robot, the shape information of the driving area of the sub-path to be driven is used to determine the shape of the driving area of the sub-path to be driven. The shape information of the running area of the sub-route may include the following items or a part of the following items: the position of the center point of the shape of the running area of the sub-route to be driven, the length of each side of the shape of the driving area of the sub-route to be driven, The type of the shape of the driving area of the sub-route to be driven, and the position of the point used to obtain the shape of the driving area of the sub-route to be driven.

对于任意两个区域,若两个区域的形状相交,则两个区域有重叠部分。For any two regions, if the shapes of the two regions intersect, then the two regions overlap.

对于目标机器人的行驶路径的至少一个待行驶子路径中的任意一个待行驶子路径,根据该待行驶子路径的形状信息,可以确定该待行驶子路径的形状,根据至少一个已占据区域中的每一个已占据区域的形状信息,可以确定至少一个已占据区域中的每一个已占据区域的形状。For any sub-path to be driven in at least one sub-path to be driven in the driving path of the target robot, according to the shape information of the sub-path to be driven, the shape of the sub-path to be driven can be determined, and according to the shape information of the sub-path to be driven, at least one occupied area The shape information of each occupied area may determine the shape of each of the at least one occupied area.

对于目标机器人的行驶路径的至少一个待行驶子路径中的任意一个待行驶子路径,根据该待行驶子路径的形状和至少一个已占据区域中的每一个已占据区域的形状,可以确定至少一个已占据区域中是否存在具有与该待行驶子路径的行驶区域的形状相交的形状的已占据区域,若至少一个已占据区域中存在具有与该待行驶子路径的行驶区域的形状相交的形状的已占据区域,则可以确定至少一个已占据区域中存在与该待行驶子路径的行驶区域有重叠部分的已占据区域,若至少一个已占据区域中不存在具有与该待行驶子路径的行驶区域的形状相交的形状的已占据区域,则证明至少一个已占据区域中不存在与该待行驶子路径的行驶区域有重叠部分的已占据区域。For any sub-path to be driven in at least one sub-path to be driven of the travel path of the target robot, according to the shape of the sub-path to be driven and the shape of each occupied area in at least one occupied area, at least one Whether there is an occupied area with a shape intersecting with the shape of the travel area of the sub-path to be driven in the occupied area, if at least one of the occupied areas has a shape intersected with the shape of the travel area of the to-be-traveled sub-path Occupied area, then it can be determined that there is an occupied area that overlaps with the driving area of the sub-path to be driven in at least one occupied area, if there is no driving area with the sub-path to be driven in at least one occupied area If the occupied area of the shapes intersected by the shape of , it proves that there is no occupied area overlapping with the driving area of the to-be-traveled sub-path in at least one occupied area.

在本申请中,当确定至少一个已占据区域中是否存在与待行驶子路径的行驶区域有重叠部分的已占据区域时,可以仅需分别至少一个已占据区域中的每一个已占据区域的形状是否与待行驶子路径的行驶区域的形状相交,来确定至少一个已占据区域中是否存在与待行驶子路径的行驶区域有重叠部分的已占据区域,从而,可以快速地确定至少一个已占据区域中是否存在与该待行驶子路径的行驶区域有重叠部分的已占据区域。In the present application, when determining whether there is an occupied area that overlaps with the driving area of the to-be-traveled sub-route in at least one occupied area, only the shape of each occupied area in the at least one occupied area may be required Whether it intersects with the shape of the driving area of the sub-path to be driven to determine whether there is an occupied area that overlaps with the driving area of the sub-path to be driven in at least one occupied area, so that at least one occupied area can be quickly determined Whether there is an occupied area that overlaps with the driving area of the to-be-traveled sub-route.

在一些实施例中,还包括:对于确定出的任意一个目标待行驶子路径,当目标机器人行驶完该目标待行驶子路径并且存在对应该目标待行驶子路径的冲突机器人时,向对应该目标待行驶子路径的冲突机器人发送唤醒指令,其中,对应该目标待行驶子路径的冲突机器人由于该目标待行驶子路径的行驶区域和冲突机器人的其他行驶路径的相应子路径的行驶区域有重叠部分而不能够占据该相应子路径,唤醒指令用于触发对应该目标待行驶子路径的冲突机器人确定该其他行驶路径的至少一个待行驶子路径中是否存在冲突机器人能够占据的至少一个待行驶子路径。In some embodiments, it also includes: for any determined sub-path of the target to be driven, when the target robot has driven the sub-path of the target to be driven and there is a conflicting robot corresponding to the sub-path of the target to be driven, send the robot to the corresponding target sub-path. The conflicting robot of the to-be-traveled sub-path sends a wake-up command, wherein the conflicting robot corresponding to the target to-be-traveled sub-path overlaps the driving area of the target to-be-traveled sub-path with the corresponding sub-paths of other driving paths of the conflicting robot If the corresponding sub-path cannot be occupied, the wake-up instruction is used to trigger the conflicting robot corresponding to the target sub-path to determine whether there is at least one sub-path to be driven that the conflicting robot can occupy in at least one sub-path to be driven of the other driving path .

对于确定出的任意一个目标待行驶子路径,将对应该目标待行驶子路径的冲突机器人的行驶路径称之为对应该目标待行驶子路径的冲突机器人的其他行驶路径。For any determined target sub-path to be driven, the running path of the conflicting robot corresponding to the target to-be-traveled sub-path is referred to as other running paths of the conflicting robot corresponding to the target to-be-traveled sub-path.

对于确定出的任意一个目标待行驶子路径,对应该目标待行驶子路径的冲突机器人在一次确定其他行驶路径的至少一个待行驶子路径中是否存在冲突机器人能够占据的至少一个待行驶子路径中,确定该目标待行驶子路径的行驶区域和对应该目标待行驶子路径的冲突机器人的其他行驶路径的相应子路径的行驶区域有重叠部分,对应该目标待行驶子路径的冲突机器人不能够占据该相应子路径,则对应该目标待行驶子路径的冲突机器人在确定对应该目标待行驶子路径的冲突机器人不能够占据该相应子路径的时间与接收到唤醒指令的时间之间的时间段,对应该目标待行驶子路径的冲突机器人不会确定对应该目标待行驶子路径的冲突机器人的其他行驶路径的至少一个待行驶子路径中是否存在对应该目标待行驶子路径的冲突机器人能够占据的至少一个待行驶子路径。For any determined target sub-route to be driven, the conflicting robot corresponding to the target sub-path to be driven determines whether there is at least one sub-route to be driven that the conflicting robot can occupy in at least one sub-path to be driven of other driving paths , it is determined that the driving area of the target to-be-traveled sub-path overlaps with the corresponding sub-paths of the other driving paths of the conflicting robot corresponding to the target to-be-traveled sub-path, and the conflicting robot corresponding to the target to-be-traveled sub-path cannot occupy For the corresponding sub-path, the conflicting robot corresponding to the target to-be-traveled sub-path determines that the conflicting robot corresponding to the target to-be-traveled sub-path cannot occupy the corresponding sub-path and the time period between the time when the wake-up instruction is received, The conflicting robot corresponding to the target to-be-traveled sub-path will not determine whether there is a conflicting robot corresponding to the target to-be-traveled sub-path in at least one of the other driving sub-paths of the conflicting robot's to-be-traveled sub-path. At least one sub-route to be traveled.

当目标机器人行驶完该目标待行驶子路径并且存在对应该目标待行驶子路径的冲突机器人时,向对应该目标待行驶子路径的冲突机器人发送唤醒指令,对应该目标待行驶子路径的冲突机器人再次确定对应该目标待行驶子路径的冲突机器人的其他行驶路径的至少一个待行驶子路径中是否存在对应该目标待行驶子路径的冲突机器人能够占据的至少一个待行驶子路径。When the target robot completes the target sub-path to be driven and there is a conflicting robot corresponding to the target to-be-traveled sub-path, it sends a wake-up command to the conflicting robot corresponding to the target to-be-traveled sub-path, and the conflicting robot corresponding to the target to-be-traveled sub-path Determine again whether there is at least one to-be-traveled sub-path that can be occupied by the conflicting robot corresponding to the target to-be-traveled sub-path in at least one to-be-traveled sub-path of the conflicting robot's other travel paths corresponding to the target to-be-traveled sub-path.

在本申请中,当目标机器人行驶完目标待行驶子路径并且存在对应该目标待行驶子路径的冲突机器人时,向对应目标待行驶子路径的冲突机器人发送唤醒指令,触发对应目标待行驶子路径的冲突机器人确定其他行驶路径的至少一个待行驶子路径中是否存在冲突机器人能够占据的至少一个待行驶子路径,从而,及时地通知对应目标待行驶子路径的冲突机器人可以继续抢占对应该目标待行驶子路径的冲突机器人的其他行驶路径中的待行驶子路径。In this application, when the target robot completes the target to-be-traveled sub-path and there is a conflicting robot corresponding to the target to-be-traveled sub-path, a wake-up instruction is sent to the conflicting robot corresponding to the target to-be-traveled sub-path, triggering the corresponding target to-be-traveled sub-path The conflicting robot determines whether there is at least one sub-path to be driven that the conflicting robot can occupy in at least one sub-path to be driven of other driving paths, so that the conflicting robot that is in the sub-path to be driven corresponding to the target is notified in time that it can continue to seize the target to be driven. The sub-path to be driven in the other driving paths of the conflicting robot driving the sub-path.

在一些实施例中,还包括:当从目标机器人接收指示目标机器人行驶完每一个目标待行驶子路径的指令并且存在目标机器人的行驶路径的至少一个待行驶子路径时,由目标机器人确定存在的至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径。In some embodiments, it also includes: when receiving an instruction from the target robot indicating that the target robot has driven through each target sub-path to be driven and there is at least one sub-path to be driven in the travel path of the target robot, determining the existing sub-path by the target robot Whether there is at least one sub-path to be driven that the target robot can occupy in the at least one sub-path to be driven.

当目标机器人行驶完每一个目标待行驶子路径时,可以接收到目标机器人发送的指示目标机器人行驶完每一个目标待行驶子路径的指令。When the target robot finishes driving each target sub-path to be driven, it may receive an instruction from the target robot instructing the target robot to drive each target to-be-run sub-path.

当目标机器人行驶完每一个目标待行驶子路径时,若存在目标机器人的行驶路径的至少一个待行驶子路径,存在的行驶路径的至少一个待行驶子路径均在通过步骤102确定出的所有目标待行驶子路径中的最后一个目标待行驶子路径之后。When the target robot has driven each target sub-path to be driven, if there is at least one sub-path to be driven of the travel path of the target robot, at least one sub-path to be driven of the existing travel path is all within the range of all targets determined in step 102. The last target in the to-go sub-path is after the to-go sub-path.

当从目标机器人接收指示目标机器人行驶完每一个目标待行驶子路径的指令并且存在目标机器人的行驶路径的至少一个待行驶子路径时,由目标机器人确定存在的至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径。When receiving an instruction from the target robot indicating that the target robot has driven through each target sub-path to be driven and there is at least one sub-path to be driven in the travel path of the target robot, it is determined by the target robot whether there is At least one sub-path to be driven that the target robot can occupy.

由目标机器人确定存在的至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径的过程与步骤101的过程同理,由目标机器人确定存在的至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径的过程参考步骤101的过程,存在的至少一个待行驶子路径相当于步骤101中的至少一个待行驶子路径。The process of determining whether there is at least one sub-path to be driven that the target robot can occupy in the at least one sub-path to be driven by the target robot is the same as the process of step 101, and the target robot determines whether there is at least one sub-path to be driven that exists There is at least one sub-route to be driven that the target robot can occupy. Referring to the process of step 101 , the existing at least one sub-route to be driven is equivalent to the at least one sub-route to be driven in step 101 .

在本申请中,可以当从目标机器人接收指示目标机器人行驶完每一个目标待行驶子路径的指令并且存在目标机器人的行驶路径的至少一个待行驶子路径时,由目标机器人确定存在的至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径。从而,当目标机器人行驶完每一个目标待行驶子路径并且存在目标机器人的行驶路径的至少一个待行驶子路径时,目标机器人及时地继续抢占目标机器人的行驶路径中的待行驶子路径。In the present application, when receiving an instruction from the target robot indicating that the target robot has completed each target sub-path to be driven and there is at least one sub-path to be driven on the travel path of the target robot, the target robot may determine that there is at least one sub-path to be driven. Whether there is at least one sub-path to be driven that the target robot can occupy in the driving sub-path. Therefore, when the target robot finishes driving each target sub-route to be driven and there is at least one sub-path to be driven in the target robot's travel path, the target robot continues to seize the to-be-traveled sub-path in the target robot's travel path in a timely manner.

在一些实施例中,还包括:当检测到目标机器人行驶完每一个目标待行驶子路径并且存在目标机器人的行驶路径的至少一个待行驶子路径时,由目标机器人确定存在的至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径。In some embodiments, it also includes: when it is detected that the target robot has driven each target sub-path to be driven and there is at least one sub-path to be driven in the driving path of the target robot, determining the existence of at least one sub-path to be driven by the target robot Whether there is at least one sub-path to be driven that the target robot can occupy in the path.

当目标机器人行驶完每一个目标待行驶子路径时,若存在目标机器人的行驶路径的至少一个待行驶子路径,存在的行驶路径的至少一个待行驶子路径均在通过步骤102确定出的所有目标待行驶子路径中的最后一个待行驶子路径之后。When the target robot has driven each target sub-path to be driven, if there is at least one sub-path to be driven of the travel path of the target robot, at least one sub-path to be driven of the existing travel path is all within the range of all targets determined in step 102. After the last to-be-traveled subroute in the to-be-traveled subroute.

在本申请中,可以从目标机器人到达通过步骤102确定出的所有目标待行驶子路径的最后一个目标待行驶子路径的起点开始行驶的时刻起,每间隔预设时长检测目标机器人是否行驶完该最后一个目标待行驶子路径,若检测到目标机器人行驶完该最后一个目标待行驶子路径,则检测到目标机器人行驶完每一个目标待行驶子路径。In this application, from the moment when the target robot arrives at the starting point of the last target sub-path to be driven of all the target to-be-run sub-paths determined in step 102, it is possible to detect whether the target robot has driven the target robot every preset time interval. The last target sub-path to be driven, if it is detected that the target robot has driven the last target to-be-run sub-path, it is detected that the target robot has driven each target to-be-run sub-path.

当检测到目标机器人行驶完每一个目标待行驶子路径并且存在目标机器人的行驶路径的至少一个待行驶子路径时,由目标机器人确定存在的至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径。When it is detected that the target robot has driven through each target sub-path to be driven and there is at least one sub-path to be driven in the travel path of the target robot, the target robot determines whether there is a space that the target robot can occupy in the at least one sub-path to be driven that exists. At least one sub-route to be traveled.

在本申请中,可以当检测到目标机器人行驶完每一个目标待行驶子路径并且存在目标机器人的行驶路径的至少一个待行驶子路径时,由目标机器人确定存在的至少一个待行驶子路径中是否存在目标机器人能够占据的至少一个待行驶子路径。从而,当目标机器人行驶完每一个目标待行驶子路径并且存在目标机器人的行驶路径的至少一个待行驶子路径时,目标机器人及时地继续抢占目标机器人的行驶路径中的待行驶子路径。In the present application, when it is detected that the target robot has driven each target sub-path to be driven and there is at least one sub-path to be driven in the travel path of the target robot, the target robot may determine whether the existing at least one sub-path to be driven is There is at least one to-be-traveled subpath that the target robot can occupy. Therefore, when the target robot finishes driving each target sub-route to be driven and there is at least one sub-path to be driven in the target robot's travel path, the target robot continues to seize the to-be-traveled sub-path in the target robot's travel path in a timely manner.

请参考图2,其示出了本申请实施例提供的机器人控制装置的结构框图。机器人控制装置包括:第一确定单元201,第二确定单元202,控制单元203。Please refer to FIG. 2 , which shows a structural block diagram of a robot control device provided by an embodiment of the present application. The robot control device includes: a first determination unit 201 , a second determination unit 202 , and a control unit 203 .

第一确定单元201被配置为基于目标机器人的行驶路径的至少一个待行驶子路径的行驶区域和至少一个已占据区域,确定所述至少一个待行驶子路径中是否存在所述目标机器人能够占据的至少一个待行驶子路径,其中,所述至少一个已占据区域包括:被标记为由相应机器人占据的相应子路径的行驶区域和/或相应机器人在处于静止状态时占据的区域;The first determining unit 201 is configured to determine whether there is a space that the target robot can occupy in the at least one sub-path to be driven based on the driving area and at least one occupied area of at least one sub-path to be driven in the driving path of the target robot. at least one sub-route to be driven, wherein the at least one occupied area comprises: the driving area of the corresponding sub-path marked as occupied by the corresponding robot and/or the area occupied by the corresponding robot when in a stationary state;

第二确定单元202被配置为若是,从所述目标机器人能够占据的至少一个待行驶子路径中确定出至少一个目标待行驶子路径,将每一个目标待行驶子路径标记为由所述目标机器人占据;The second determination unit 202 is configured to, if yes, determine at least one target sub-path to be driven from at least one sub-path to be driven that the target robot can occupy, and mark each target sub-path to be driven as being used by the target robot occupy;

控制单元203被配置为控制所述目标机器人在所述每一个目标待行驶子路径上行驶。The control unit 203 is configured to control the target robot to drive on each target sub-route to be driven.

在一些实施例中,当确定出多个目标待行驶子路径时,所述多个目标待行驶子路径的占据长度大于最小占据长度阈值并且所述占据长度小于最大占据长度阈值,所述占据长度为所述所述多个目标待行驶子路径的长度之和。In some embodiments, when a plurality of target to-be-traveled sub-paths are determined, the occupied lengths of the multiple target to-be-traveled sub-paths are greater than the minimum occupied length threshold and the occupied length is less than the maximum occupied length threshold, the occupied length is the sum of the lengths of the multiple target sub-paths to be driven.

在一些实施例中,第一确定单元201被配置为当确定所述至少一个已占据区域中不存在与所述待行驶子路径的行驶区域有重叠部分的已占据区域时,将所述待行驶子路径标记为由所述目标机器人进行待提交占据;确定所述待行驶子路径是否被标记为由其他机器人进行待提交占据;若是,当从所述目标机器人和所述其他机器人中选择出所述目标机器人时,确定所述目标机器人能够占据所述待行驶子路径;若否,确定所述目标机器人能够占据所述待行驶子路径。In some embodiments, the first determining unit 201 is configured to, when it is determined that there is no occupied area that overlaps with the driving area of the to-be-traveled sub-route in the at least one occupied area, the to-be-traveled sub-route The sub-path is marked as being occupied by the target robot; whether the sub-path to be driven is marked as being occupied by other robots; if so, when the target robot and the other robots are selected When the target robot is specified, it is determined that the target robot can occupy the sub-route to be driven; if not, it is determined that the target robot can occupy the sub-route to be driven.

在一些实施例中,第一确定单元201被配置为基于所述待行驶子路径的行驶区域的形状信息和形状信息数据库中的所述至少一个已占据区域中的每一个已占据区域的形状信息,确定所述至少一个已占据区域中是否存在具有与已占据区域的形状相交的形状的已占据区域;若是,确定所述至少一个已占据区域中存在与所述待行驶子路径的行驶区域有重叠部分的已占据区域;若否,确定所述至少一个已占据区域中不存在与所述待行驶子路径的行驶区域有重叠部分的已占据区域。In some embodiments, the first determining unit 201 is configured to be based on the shape information of the driving area of the to-be-traveled sub-route and the shape information of each occupied area in the at least one occupied area in the shape information database , determining whether there is an occupied area having a shape intersecting with the shape of the occupied area in the at least one occupied area; An occupied area of the overlapping part; if not, it is determined that there is no occupied area overlapping with the driving area of the to-be-traveled sub-route in the at least one occupied area.

在一些实施例中,机器人控制装置还包括:In some embodiments, the robotic control device also includes:

第一响应单元,被配置为当所述目标机器人行驶完所述目标待行驶子路径并且存在对应所述目标待行驶子路径的冲突机器人时,向所述冲突机器人发送唤醒指令,其中,所述冲突机器人由于所述目标待行驶子路径的行驶区域和冲突机器人的其他行驶路径的相应子路径的行驶区域有重叠部分而不能够占据所述相应子路径,所述唤醒指令用于触发所述冲突机器人确定所述其他行驶路径的至少一个待行驶子路径中是否存在所述冲突机器人能够占据的至少一个待行驶子路径。The first response unit is configured to send a wake-up instruction to the conflicting robot when the target robot has driven the target to-be-traveled sub-path and there is a conflicting robot corresponding to the target to-be-traveled sub-path, wherein the The conflicting robot cannot occupy the corresponding sub-path because the driving area of the target to-be-traveled sub-path overlaps with the corresponding sub-path driving areas of other driving paths of the conflicting robot, and the wake-up instruction is used to trigger the conflict The robot determines whether there is at least one sub-route to be driven that can be occupied by the conflicting robot in at least one sub-route to be driven of the other driving route.

在一些实施例中,机器人控制装置还包括:In some embodiments, the robotic control device also includes:

第二响应单元,被配置为当从所述目标机器人接收指示所述目标机器人行驶完所述每一个目标待行驶子路径的指令并且存在所述行驶路径的至少一个待行驶子路径时,由所述目标机器人确定存在的至少一个待行驶子路径中是否存在所述目标机器人能够占据的至少一个待行驶子路径。The second response unit is configured to, when receiving an instruction from the target robot indicating that the target robot has traveled through each of the target sub-paths to be driven and there is at least one sub-path to be driven of the travel path, by the target robot The target robot determines whether there is at least one sub-route to be driven that the target robot can occupy in the existing at least one sub-path to be driven.

在一些实施例中,机器人控制装置还包括:In some embodiments, the robotic control device also includes:

第三响应单元,被配置为当检测到所述目标机器人行驶完每一个目标待行驶子路径并且存在所述行驶路径的至少一个待行驶子路径时,由所述目标机器人确定存在的至少一个待行驶子路径中是否存在所述目标机器人能够占据的至少一个待行驶子路径。The third response unit is configured to determine, by the target robot, that there is at least one sub-path to be driven when it is detected that the target robot has traveled through each target sub-path to be driven and there is at least one sub-path to be driven of the travel path. Whether there is at least one sub-path to be driven that the target robot can occupy in the driving sub-path.

本申请实施例的图像处理装置中的各功能模块或单元用于执行上述上述机器人控制方法的步骤,具体可以参考上述方法的相关内容。Each functional module or unit in the image processing device of the embodiment of the present application is used to execute the steps of the above-mentioned robot control method, and for details, reference may be made to relevant content of the above-mentioned method.

本申请实施例还提供了一种计算机可读存储介质,其上存储有计算机程序/指令,该计算机程序/指令被处理器执行时实现上述机器人控制方法。The embodiment of the present application also provides a computer-readable storage medium, on which a computer program/instruction is stored, and when the computer program/instruction is executed by a processor, the above robot control method is implemented.

本申请实施例还提供了一种计算机程序产品,包括计算机程序/指令,该计算机程序/指令被处理器执行时实现上述机器人控制方法。The embodiment of the present application also provides a computer program product, including a computer program/instruction, and when the computer program/instruction is executed by a processor, the above robot control method is realized.

本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本申请的其它实施方案。本申请旨在涵盖本申请的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本申请的一般性原理并包括本申请未公开的本技术领域中的公知常识或惯用技术手子路径。说明书和实施例仅被视为示例性的,本申请的真正范围和精神由下面的权利要求指出。Other embodiments of the present application will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This application is intended to cover any modification, use or adaptation of the application, which follow the general principles of the application and include common knowledge or common technical skills in the technical field not disclosed in the application. subpath. The specification and examples are to be considered exemplary only, with a true scope and spirit of the application indicated by the following claims.

应当理解的是,本申请并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本申请的范围仅由所附的权利要求来限制。It should be understood that the present application is not limited to the precise constructions which have been described above and shown in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (10)

1. A robot control method, characterized in that the method comprises:
determining whether there is at least one sub-path to be traveled that the target robot can occupy in the at least one sub-path to be traveled based on a travel area and at least one occupied area of at least one sub-path to be traveled of a travel path of the target robot, wherein the at least one occupied area includes: a travel area marked as a respective sub-path occupied by the respective robot and/or an area occupied by the respective robot when in a stationary state;
if yes, determining at least one target sub-path to be traveled from at least one sub-path to be traveled which can be occupied by the target robot, and marking each target sub-path to be traveled as being occupied by the target robot;
and controlling the target robot to run on each target sub-path to be run.
2. The method according to claim 1, characterized in that when a plurality of target sub-paths to be traveled are determined, the occupied lengths of the plurality of target sub-paths to be traveled are greater than a minimum occupied length threshold value and less than a maximum occupied length threshold value, the occupied length being the sum of the lengths of the plurality of target sub-paths to be traveled.
3. The method according to claim 1, wherein determining whether at least one to-be-traveled sub-path of the travel path of the target robot exists at least one to-be-traveled sub-path that the target robot can occupy based on the travel area and the at least one occupied area of the to-be-traveled sub-path comprises:
determining whether an occupied area having an overlapping portion with a driving area of the sub-path to be driven exists in the at least one occupied area;
if not, marking the sub-path to be traveled as occupied by the target robot to be submitted;
determining whether the sub-path to be traveled is marked as occupied by other robots for submission;
if yes, when the target robot is selected from the target robot and the other robots, determining that the target robot can occupy the sub-path to be traveled;
if not, determining that the target robot can occupy the sub-path to be traveled.
4. The method of claim 3, wherein determining whether there is an occupied zone of the at least one occupied zone that has an overlapping portion with a travel zone of the sub-path to be traveled comprises:
determining whether there is an occupied area having a shape intersecting the shape of the driving area of the to-be-driven sub route among the at least one occupied area based on the shape information of the driving area of the to-be-driven sub route and the shape information of each of the at least one occupied area in the shape information database;
if so, determining that an occupied area with an overlapping part with the driving area of the sub-path to be driven exists in the at least one occupied area;
if not, determining that the occupied area which has the overlapped part with the driving area of the sub-path to be driven does not exist in the at least one occupied area.
5. The method according to any one of claims 1-4, further comprising:
when the target robot finishes driving the target sub-path to be driven and a conflict robot corresponding to the target sub-path to be driven exists, sending a wake-up instruction to the conflict robot, wherein the conflict robot cannot occupy the corresponding sub-path due to the fact that the driving area of the target sub-path to be driven and the driving area of the corresponding sub-path of the other driving path of the conflict robot are overlapped, and the wake-up instruction is used for triggering the conflict robot to determine whether at least one sub-path to be driven, which can be occupied by the conflict robot, exists in at least one sub-path to be driven of the other driving path.
6. The method of claim 5, further comprising:
when an instruction indicating that the target robot has traveled the each target sub-path to be traveled is received from the target robot and at least one sub-path to be traveled of the travel path exists, determining, by the target robot, whether at least one sub-path to be traveled that the target robot can occupy exists among the at least one sub-path to be traveled that exists.
7. The method of claim 5, further comprising:
when it is detected that the target robot has finished driving each target sub-path to be driven and at least one sub-path to be driven of the driving path exists, determining, by the target robot, whether at least one sub-path to be driven that the target robot can occupy exists in the at least one sub-path to be driven that exists.
8. An electronic device, comprising: memory, processor and computer program stored on the memory, characterized in that the processor executes the computer program to implement the method of any of claims 1-7.
9. A computer-readable storage medium, on which a computer program/instructions is stored, characterized in that the computer program/instructions, when executed by a processor, implement the method of any one of claims 1-7.
10. A computer program product comprising computer programs/instructions, characterized in that the computer programs/instructions, when executed by a processor, implement the method of any of claims 1-7.
CN202210911177.1A 2022-07-29 2022-07-29 Robot control method, electronic device and storage medium Pending CN115357017A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202210911177.1A CN115357017A (en) 2022-07-29 2022-07-29 Robot control method, electronic device and storage medium
PCT/CN2023/093149 WO2024021758A1 (en) 2022-07-29 2023-05-10 Robot control method, electronic device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210911177.1A CN115357017A (en) 2022-07-29 2022-07-29 Robot control method, electronic device and storage medium

Publications (1)

Publication Number Publication Date
CN115357017A true CN115357017A (en) 2022-11-18

Family

ID=84032119

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210911177.1A Pending CN115357017A (en) 2022-07-29 2022-07-29 Robot control method, electronic device and storage medium

Country Status (2)

Country Link
CN (1) CN115357017A (en)
WO (1) WO2024021758A1 (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117104742A (en) * 2023-08-18 2023-11-24 北京经纬恒润科技股份有限公司 Transportation equipment moving method and device
WO2024021758A1 (en) * 2022-07-29 2024-02-01 北京旷视机器人技术有限公司 Robot control method, electronic device and storage medium

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106774305A (en) * 2016-11-30 2017-05-31 上海振华重工电气有限公司 The many automated guided vehicle path conflict digestion procedures of automated container terminal
CN109341698A (en) * 2018-11-29 2019-02-15 深圳市银星智能科技股份有限公司 A kind of routing resource and device of mobile robot
CN109991977A (en) * 2019-03-04 2019-07-09 斯坦德机器人(深圳)有限公司 Robot path planning method and device
CN110531773A (en) * 2019-09-12 2019-12-03 北京极智嘉科技有限公司 Robot path scheduling method, device, server and storage medium
CN111466835A (en) * 2020-03-31 2020-07-31 深圳市银星智能科技股份有限公司 Cleaning robot
CN111750862A (en) * 2020-06-11 2020-10-09 深圳优地科技有限公司 Multi-region-based robot path planning method, robot and terminal equipment
CN111784249A (en) * 2020-07-03 2020-10-16 上海木木聚枞机器人科技有限公司 Method for locking and unlocking scheduling driving state, server and storage medium
CN111966092A (en) * 2020-07-21 2020-11-20 北京三快在线科技有限公司 Unmanned vehicle control method and device, storage medium, electronic device and unmanned vehicle
CN112823084A (en) * 2018-12-21 2021-05-18 X开发有限责任公司 Dynamic probabilistic motion planning
CN114353820A (en) * 2022-03-18 2022-04-15 腾讯科技(深圳)有限公司 Path planning method and device, electronic equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102865877B (en) * 2012-10-08 2014-12-17 无锡普智联科高新技术有限公司 Solution for multiple mobile robot path conflict based on dense storage regions
US20220089372A1 (en) * 2015-02-26 2022-03-24 Crown Equipment Corporation Systems and methods for managing movement of materials handling vehicles
CN108268016A (en) * 2018-01-19 2018-07-10 广东美的智能机器人有限公司 The method for collision management and system of multiple mobile robot
CN109976350B (en) * 2019-04-15 2021-11-19 上海钛米机器人科技有限公司 Multi-robot scheduling method, device, server and computer readable storage medium
CN113111296A (en) * 2019-12-24 2021-07-13 浙江吉利汽车研究院有限公司 Vehicle path planning method and device, electronic equipment and storage medium
CN114675656A (en) * 2022-04-22 2022-06-28 上海快仓智能科技有限公司 Robot path planning method, device, equipment, storage medium and program product
CN114779778B (en) * 2022-04-25 2025-08-22 北京京东乾石科技有限公司 Method, device, electronic device and storage medium for controlling vehicle driving
CN115357017A (en) * 2022-07-29 2022-11-18 北京旷视机器人技术有限公司 Robot control method, electronic device and storage medium

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106774305A (en) * 2016-11-30 2017-05-31 上海振华重工电气有限公司 The many automated guided vehicle path conflict digestion procedures of automated container terminal
CN109341698A (en) * 2018-11-29 2019-02-15 深圳市银星智能科技股份有限公司 A kind of routing resource and device of mobile robot
CN112823084A (en) * 2018-12-21 2021-05-18 X开发有限责任公司 Dynamic probabilistic motion planning
CN109991977A (en) * 2019-03-04 2019-07-09 斯坦德机器人(深圳)有限公司 Robot path planning method and device
CN110531773A (en) * 2019-09-12 2019-12-03 北京极智嘉科技有限公司 Robot path scheduling method, device, server and storage medium
CN111466835A (en) * 2020-03-31 2020-07-31 深圳市银星智能科技股份有限公司 Cleaning robot
CN111750862A (en) * 2020-06-11 2020-10-09 深圳优地科技有限公司 Multi-region-based robot path planning method, robot and terminal equipment
CN111784249A (en) * 2020-07-03 2020-10-16 上海木木聚枞机器人科技有限公司 Method for locking and unlocking scheduling driving state, server and storage medium
CN111966092A (en) * 2020-07-21 2020-11-20 北京三快在线科技有限公司 Unmanned vehicle control method and device, storage medium, electronic device and unmanned vehicle
CN114353820A (en) * 2022-03-18 2022-04-15 腾讯科技(深圳)有限公司 Path planning method and device, electronic equipment and storage medium

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024021758A1 (en) * 2022-07-29 2024-02-01 北京旷视机器人技术有限公司 Robot control method, electronic device and storage medium
CN117104742A (en) * 2023-08-18 2023-11-24 北京经纬恒润科技股份有限公司 Transportation equipment moving method and device

Also Published As

Publication number Publication date
WO2024021758A1 (en) 2024-02-01

Similar Documents

Publication Publication Date Title
US10296995B2 (en) Dynamically maintaining a map of a fleet of robotic devices in an environment to facilitate robotic action
EP3837592B1 (en) Zone engine for providing context-augmented map layer
KR102204950B1 (en) Optimization of warehouse layout based on customizable goals
Sabattini et al. Technological roadmap to boost the introduction of AGVs in industrial applications
KR102813120B1 (en) Navigation route reservation for warehouse robot
JP6025289B2 (en) Linked system of automated guided vehicle and inventory management system
US20180043547A1 (en) Collaborative Inventory Monitoring
JP7531053B2 (en) Warehouse system, shuttle vehicle for warehouse system, and navigation method thereof
JP6141782B2 (en) Method for updating map information in a linked system of automated guided vehicle and inventory management system
US20220162001A1 (en) Predicting a path of material handling equipment and determining an obstacle-free path
CN111880525B (en) Robot obstacle avoidance method, device, electronic device and readable storage medium
WO2023273731A1 (en) Obstacle avoidance method and apparatus, and automatic navigation apparatus
CN113654558B (en) Navigation method and device, server, equipment, system and storage medium
CN110609546B (en) Method, system, computer device and readable storage medium for protecting pick device
CN115357017A (en) Robot control method, electronic device and storage medium
CN115108231B (en) Method and apparatus for controlling a transfer robot
CN116101939A (en) Cargo handling method, unmanned forklift and storage medium
US20220242667A1 (en) Automated Unit Load Fulfillment Methods and Systems
KR102804919B1 (en) Autonomous mobile robot using omnidirectional waypoint and its control method
KR20250000295A (en) Control method for smart logistics vehicle and control apparatus
CN115115301A (en) Scheduling method, apparatus, medium, and program product for transport apparatus
CN115345447A (en) Task management method, electronic device and storage medium
US20240288867A1 (en) System and Method for Coordinating Mobile Robots with Workers to Access Task Locations
Dubova et al. Virtual prototype of agv-based warehouse system
Zimmer et al. Automatically Guided Vehicles (AGV) in Agriculture

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information

Country or region after: China

Address after: 100096 No.125, 1st floor, building 1, Xisanqi building materials City, Haidian District, Beijing

Applicant after: Beijing Force Aggregation Robot Technology Co.,Ltd.

Address before: 100096 No.125, 1st floor, building 1, Xisanqi building materials City, Haidian District, Beijing

Applicant before: BEIJING KUANGSHI ROBOT TECHNOLOGY Co.,Ltd.

Country or region before: China

CB02 Change of applicant information
TA01 Transfer of patent application right

Effective date of registration: 20250123

Address after: No. 257, 2nd Floor, Building 9, No. 2 Huizhu Road, Kangmei Street, Liangjiang New District, Yubei District, Chongqing 401120

Applicant after: Force Aggregation (Chongqing) Robot Technology Co.,Ltd.

Country or region after: China

Address before: 100096 No.125, 1st floor, building 1, Xisanqi building materials City, Haidian District, Beijing

Applicant before: Beijing Force Aggregation Robot Technology Co.,Ltd.

Country or region before: China

TA01 Transfer of patent application right