CN116409565A - Robot positioning method, device, dispatching equipment, medium and program product - Google Patents
Robot positioning method, device, dispatching equipment, medium and program product Download PDFInfo
- Publication number
- CN116409565A CN116409565A CN202111679672.6A CN202111679672A CN116409565A CN 116409565 A CN116409565 A CN 116409565A CN 202111679672 A CN202111679672 A CN 202111679672A CN 116409565 A CN116409565 A CN 116409565A
- Authority
- CN
- China
- Prior art keywords
- robot
- image
- pose
- team
- fixed point
- 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.)
- Granted
Links
Images
Classifications
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B65—CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
- B65G—TRANSPORT OR STORAGE DEVICES, e.g. CONVEYORS FOR LOADING OR TIPPING, SHOP CONVEYOR SYSTEMS OR PNEUMATIC TUBE CONVEYORS
- B65G1/00—Storing articles, individually or in orderly arrangement, in warehouses or magazines
- B65G1/02—Storage devices
- B65G1/04—Storage devices mechanical
- B65G1/0492—Storage devices mechanical with cars adapted to travel in storage aisles
-
- B—PERFORMING OPERATIONS; TRANSPORTING
- B65—CONVEYING; PACKING; STORING; HANDLING THIN OR FILAMENTARY MATERIAL
- B65G—TRANSPORT OR STORAGE DEVICES, e.g. CONVEYORS FOR LOADING OR TIPPING, SHOP CONVEYOR SYSTEMS OR PNEUMATIC TUBE CONVEYORS
- B65G1/00—Storing articles, individually or in orderly arrangement, in warehouses or magazines
- B65G1/02—Storage devices
- B65G1/04—Storage devices mechanical
- B65G1/137—Storage devices mechanical with arrangements or automatic control means for selecting which articles are to be removed
- B65G1/1373—Storage devices mechanical with arrangements or automatic control means for selecting which articles are to be removed for fulfilling orders in warehouses
Landscapes
- Engineering & Computer Science (AREA)
- Mechanical Engineering (AREA)
- Control Of Position, Course, Altitude, Or Attitude Of Moving Bodies (AREA)
Abstract
本公开实施例提供一种机器人定位方法、装置、调度设备、介质及程序产品,针对机器人组队拆分队伍的情况,该方法包括:获取第一机器人在分队定点采集的第一图像,以及获取第二机器人在分队定点采集的第二图像,第一机器人为原车队的队首机器人,第二机器人为队伍拆分后的新队首机器人;根据第一图像,从环境图像库中确定与第一图像匹配的第一目标图像;根据第一图像和第二图像,判断第二机器人在分队定点的第一位姿与第一机器人在分队定点的第二位姿是否一致;若第一位姿与第二位姿一致,则根据第一目标图像进行第二机器人的定位,实现了基于第一机器人的环境信息对第二机器人进行定位,减少了调度设备的数据处理量,提高了定位效率。
Embodiments of the present disclosure provide a robot positioning method, device, scheduling equipment, media, and program products. For the situation where robots form a team and split teams, the method includes: acquiring the first image collected by the first robot at a fixed point in the team, and acquiring The second image collected by the second robot at the fixed point of the team, the first robot is the team leader robot of the original team, and the second robot is the new team leader robot after the team is split; The first target image matched with an image; according to the first image and the second image, it is judged whether the first pose of the second robot at the fixed point of the team is consistent with the second pose of the first robot at the fixed point of the team; if the first pose If it is consistent with the second pose, the positioning of the second robot is performed according to the first target image, which realizes the positioning of the second robot based on the environmental information of the first robot, reduces the data processing amount of the scheduling equipment, and improves the positioning efficiency.
Description
技术领域technical field
本公开涉及仓储系统技术领域,尤其涉及一种机器人定位方法、装置、调度设备、介质及程序产品。The present disclosure relates to the technical field of warehousing systems, and in particular to a robot positioning method, device, dispatching equipment, medium and program product.
背景技术Background technique
仓储是物流过程的一个重要环节。机器人可代替人工搬运货物,在智能仓储物流中扮演着重要的角色。Warehousing is an important link in the logistics process. Robots can replace manual handling of goods and play an important role in intelligent warehousing and logistics.
为了构建仓储系统的地图或者进行机器人的导航,需要进行机器人的定位。常用的视觉定位技术为SLAM(Simultaneous Localization and Mapping,即时定位与地图构建)技术,对于SLAM而言,闭环检测是构建地图和机器人导航必不可缺的步骤。In order to build a map of the warehouse system or to navigate the robot, it is necessary to position the robot. The commonly used visual positioning technology is SLAM (Simultaneous Localization and Mapping, real-time positioning and map construction) technology. For SLAM, closed-loop detection is an indispensable step for building maps and robot navigation.
当机器人以车队形式在仓库中行走时,服务器或调度设备,需要基于车队中的各个机器人采集的图像进行机器人定位,导致服务器或调度设备存在较多的重复计算的步骤,导致服务器计算开销较大,进而导致机器人定位成本高、效率低下。When the robot is walking in the warehouse in the form of a fleet, the server or dispatching equipment needs to locate the robot based on the images collected by each robot in the fleet, resulting in many repeated calculation steps in the server or dispatching equipment, resulting in a large computing cost for the server , which leads to high cost and low efficiency of robot positioning.
发明内容Contents of the invention
本公开提供一种机器人定位方法、装置、调度设备、介质及程序产品,针对机器人车队拆分的情况,通过图像继承的方式,省略了调度设备对第二机器人在分队定点采集的图像的进行闭环检测的步骤,降低了调度设备的运算开销,进而降低了机器人定位的成本,提高了机器人定位的效率。The present disclosure provides a robot positioning method, device, dispatching equipment, media and program products, aiming at the splitting of the robot fleet, by means of image inheritance, omitting the closed-loop operation of the dispatching equipment on the images collected by the second robot at the fixed point of the team The detection step reduces the computing overhead of the scheduling equipment, thereby reducing the cost of robot positioning and improving the efficiency of robot positioning.
第一方面,本公开实施例提供了一种机器人定位方法,所述方法应用于调度设备,所述方法包括:In a first aspect, an embodiment of the present disclosure provides a robot positioning method, the method is applied to a scheduling device, and the method includes:
根据第一机器人在分队定点采集的第一图像,从环境图像库中确定与所述第一图像匹配的第一目标图像;获取第二机器人在所述分队定点采集的第二图像;根据所述第一图像和所述第二图像,判断所述第二机器人在所述分队定点的第一位姿与所述第一机器人在所述分队定点的第二位姿是否一致;若所述第一位姿与所述第二位姿一致,则根据所述第一目标图像进行所述第二机器人的定位,以更新所述环境图像库或进行所述第二机器人的导航;其中,所述第一机器人和所述第二机器人位于第一车队中,所述第一机器人为所述第一车队的队首机器人;在所述分队定点处所述第一车队拆分为第二车队和第三车队,所述第二车队的队首机器人为所述第一机器人,所述第三车队的队首机器人为所述第二机器人,所述第二车队和所述第三车队分别包括的机器人的数量至少为1个。According to the first image collected by the first robot at the fixed point of the team, determine the first target image matching the first image from the environment image library; acquire the second image collected by the second robot at the fixed point of the team; according to the The first image and the second image determine whether the first pose of the second robot at the fixed point of the team is consistent with the second pose of the first robot at the fixed point of the team; if the first If the pose is consistent with the second pose, the positioning of the second robot is performed according to the first target image, so as to update the environment image library or perform navigation of the second robot; wherein, the first A robot and the second robot are located in the first team, and the first robot is the team leader robot of the first team; at the fixed point of the team, the first team is split into the second team and the third team. For the team, the team leader robot of the second team team is the first robot, the team leader robot of the third team team is the second robot, and the robots included in the second team team and the third team team are respectively Quantity is at least 1.
可选的,所述根据第一机器人在分队定点采集的第一图像从环境图像库中,确定与所述第一图像匹配的第一目标图像,包括:Optionally, the determining the first target image matching the first image from the environment image library according to the first image collected by the first robot at a fixed point of the team includes:
基于闭环检测算法,根据所述第一图像,判断所述环境图像库中是否存在与所述第一图像匹配的环境图像;若是,则闭环检测成功,将所匹配的环境图像确定为所述第一图像的第一目标图像。Based on the closed-loop detection algorithm, according to the first image, it is judged whether there is an environmental image matching the first image in the environmental image library; if so, the closed-loop detection is successful, and the matched environmental image is determined as the first image. The first target image of an image.
可选的,若所述第一位姿与所述第二位姿不一致,所述方法还包括:Optionally, if the first pose is inconsistent with the second pose, the method further includes:
根据所述第一位姿和所述第二位姿,调整所述第二机器人的位姿;在所述第二机器人进行位姿调整的期间,获取所述第二机器人采集的至少一帧第三图像;判断是否存在至少一帧所述第三图像所对应的所述第二机器人的第三位姿与所述第一位姿一致;若存在,则根据所述第一目标图像进行所述第二机器人的定位,以更新所述环境图像库或进行所述第二机器人的导航。According to the first pose and the second pose, adjust the pose of the second robot; during the pose adjustment of the second robot, obtain at least one frame collected by the second robot Three images; judging whether there is at least one frame of the third image corresponding to the third pose of the second robot corresponding to the first pose; if so, performing the step according to the first target image The positioning of the second robot is used to update the environment image library or perform navigation of the second robot.
可选的,若所述第一位姿与所述第二位姿不一致,所述方法还包括:Optionally, if the first pose is inconsistent with the second pose, the method further includes:
根据所述第二图像,从所述环境图像库中,确定与所述第二图像匹配的第二目标图像;根据所述第二目标图像进行所述第二机器人的定位。Determining a second target image matching the second image from the environment image library according to the second image; performing positioning of the second robot according to the second target image.
可选的,所述方法还包括:Optionally, the method also includes:
当确定所述分队定点时,根据所述第二机器人在所述第三车队中的角色,确定所述第二机器人开启的传感器,其中,机器人在车队中的角色包括队首机器人、队尾机器人和队中机器人。When determining the fixed point of the team, according to the role of the second robot in the third convoy, determine the sensor that the second robot turns on, wherein the role of the robot in the convoy includes a team leader robot and a team tail robot and robots in the team.
第二方面,本公开实施例还提供了另一种机器人定位方法,所述方法应用于调度设备,所述方法包括:In the second aspect, the embodiment of the present disclosure also provides another robot positioning method, the method is applied to dispatching equipment, and the method includes:
根据第一机器人在分队定点采集的第一图像,从环境图像库中确定与所述第一图像匹配的第一目标图像;获取所述第一机器人采集所述第一图像的状态参数,并将所述第一图像和所述状态参数发送至第二机器人,以控制所述第二机器人基于所述状态参数调整所述第二机器人的状态;其中,所述状态参数包括所述第一机器人采集所述第一图像时的第一位姿;当接收到所述第二机器人反馈的位姿一致消息时,根据所述第一目标图像进行所述第二机器人的定位,以更新所述环境图像库或进行所述第二机器人的导航,其中,所述位姿一致消息为所述第二机器人确定所述第二机器人在所述分队定点的位姿与所述第一位姿一致时生成的。According to the first image collected by the first robot at the fixed point of the team, determine the first target image matching the first image from the environment image library; acquire the state parameters of the first image collected by the first robot, and The first image and the state parameters are sent to a second robot to control the second robot to adjust the state of the second robot based on the state parameters; wherein, the state parameters include The first pose of the first image; when receiving the pose consistent message fed back by the second robot, perform positioning of the second robot according to the first target image to update the environment image library or perform the navigation of the second robot, wherein the pose consistent message is generated when the second robot determines that the pose of the second robot at the fixed point of the team is consistent with the first pose .
可选的,所述状态参数还包括第一状态参数,所述第一状态参数用于描述所述第一机器人在所述分队定点采集所述第一图像时开启的传感器的位置参数;所述第一状态参数用于控制所述第二机器人开启所述第一状态参数中相应位置的传感器,以基于开启的各个传感器进行图像采集。Optionally, the state parameters further include a first state parameter, which is used to describe a position parameter of a sensor turned on by the first robot when the first image is captured at a fixed point of the team; The first state parameter is used to control the second robot to turn on the sensor at a corresponding position in the first state parameter, so as to perform image acquisition based on each turned on sensor.
第三方面,本公开实施例还提供了一种机器人定位装置,所述装置应用于调度设备,所述装置包括:In the third aspect, the embodiment of the present disclosure also provides a robot positioning device, the device is applied to dispatching equipment, and the device includes:
图像获取第一模块,用于获取第一机器人在分队定点采集的第一图像,以及获取第二机器人在所述分队定点采集的第二图像;第一确定模块,用于根据所述第一图像,从环境图像库中确定与所述第一图像匹配的第一目标图像;位姿判定模块,用于根据所述第一图像和所述第二图像,判断所述第二机器人在所述分队定点的第一位姿与所述第一机器人在所述分队定点的第二位姿是否一致;图像继承第一模块,用于若所述第一位姿与所述第二位姿一致,则根据所述第一目标图像进行所述第二机器人的定位,以更新所述环境图像库或进行所述第二机器人的导航;其中,所述第一机器人和所述第二机器人位于第一车队中,所述第一机器人为所述第一车队的队首机器人;在所述分队定点处所述第一车队拆分为第二车队和第三车队,所述第二车队的队首机器人为所述第一机器人,所述第三车队的队首机器人为所述第二机器人,所述第二车队和所述第三车队分别包括的机器人的数量至少为1个。The first image acquisition module is used to acquire the first image collected by the first robot at the fixed point of the team, and the second image collected by the second robot at the fixed point of the team; the first determination module is used to obtain the first image based on the first image , determine the first target image that matches the first image from the environment image library; the pose determination module is used to determine whether the second robot is in the team according to the first image and the second image Whether the first pose of the fixed point is consistent with the second pose of the first robot at the fixed point of the team; the image inherits the first module, and if the first pose is consistent with the second pose, then Perform positioning of the second robot according to the first target image to update the environment image library or perform navigation of the second robot; wherein the first robot and the second robot are located in a first vehicle fleet In, the first robot is the team leader robot of the first team; at the fixed point of the team, the first team is split into the second team and the third team, and the team leader robot of the second team is The first robot, the leader robot of the third team is the second robot, and the number of robots included in the second team and the third team is at least one.
第四方面,本公开实施例还提供了一种机器人定位装置,所述装置应用于调度设备,所述装置包括:In the fourth aspect, the embodiment of the present disclosure also provides a robot positioning device, the device is applied to dispatching equipment, and the device includes:
第二确定模块,用于根据第一机器人在分队定点采集的第一图像,从环境图像库中确定与所述第一图像匹配的第一目标图像;状态参数发送模块,用于获取所述第一机器人采集所述第一图像的状态参数,并将所述第一图像和所述状态参数发送至第二机器人,以控制所述第二机器人基于所述状态参数调整所述第二机器人的状态;其中,所述状态参数包括所述第一机器人采集所述第一图像时的第一位姿;图像继承第二模块,用于当接收到所述第二机器人反馈的位姿一致消息时,根据所述第一目标图像进行所述第二机器人的定位,以更新所述环境图像库或进行所述第二机器人的导航;其中,所述位姿一致消息为所述第二机器人确定所述第二机器人在所述分队定点的位姿与所述第一位姿一致时生成的。The second determining module is used to determine the first target image matching the first image from the environment image library according to the first image collected by the first robot at the fixed point of the team; the state parameter sending module is used to obtain the first target image A robot collects state parameters of the first image, and sends the first image and the state parameters to a second robot, so as to control the second robot to adjust the state of the second robot based on the state parameters ; Wherein, the state parameter includes the first pose when the first robot captures the first image; the image inherits the second module, and is used to receive the pose consistency message fed back by the second robot, Perform positioning of the second robot according to the first target image to update the environment image library or perform navigation of the second robot; wherein, the pose consistency message is for the second robot to determine the Generated by the second robot when the pose of the fixed point of the team is consistent with the first pose.
第五方面,本公开实施例还提供了一种调度设备,包括:存储器和至少一个处理器;所述存储器存储计算机执行指令;所述至少一个处理器执行所述存储器存储的计算机执行指令,使得所述至少一个处理器执行本公开任意实施例提供的机器人定位方法。In a fifth aspect, an embodiment of the present disclosure further provides a scheduling device, including: a memory and at least one processor; the memory stores computer-executable instructions; the at least one processor executes the computer-executable instructions stored in the memory, so that The at least one processor executes the robot positioning method provided in any embodiment of the present disclosure.
第六方面,本公开实施例还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机执行指令,当处理器执行所述计算机执行指令时,实现如本公开任意实施例提供的机器人定位方法。In the sixth aspect, the embodiments of the present disclosure also provide a computer-readable storage medium, where computer-executable instructions are stored in the computer-readable storage medium, and when the processor executes the computer-executable instructions, any implementation of the present disclosure can be realized. The robot positioning method provided by the example.
第七方面,本公开实施例还提供了一种计算机程序产品,包括计算机程序,所述计算机程序被处理器执行时实现如本公开任意实施例提供的机器人定位方法。In a seventh aspect, an embodiment of the present disclosure further provides a computer program product, including a computer program, and when the computer program is executed by a processor, the robot positioning method provided in any embodiment of the present disclosure is implemented.
本公开实施例提供的器人定位方法、装置、调度设备、介质及程序产品,针对组队行走的机器人车队在分队定点拆分为多个车队的情况,第一机器人为原机器人车队的队首机器人,第二机器人为拆分后新增的队首机器人,通过第一机器人和第二机器人在分队定点采集的第一图像和第二图像,判断第一机器人和第二机器人在分队定点处的位姿是否一致,若是,则可以基于第一机器人的闭环检测的结果,即通过继承第一机器人的第一目标图像的方式,进行第二机器人的定位,从而省略对第二机器人在分队定点进行闭环检测的步骤,减少了调度设备的运算开销,提高了机器人定位的效率。The robot positioning method, device, scheduling equipment, media, and program products provided by the embodiments of the present disclosure are aimed at the situation where a team of robots walking in a team is divided into multiple teams at a fixed point in the team, and the first robot is the team leader of the original robot team. The robot, the second robot is the newly added team leader robot after the split, through the first image and the second image collected by the first robot and the second robot at the fixed point of the team, judge the position of the first robot and the second robot at the fixed point of the team Whether the pose is consistent, if so, based on the result of the closed-loop detection of the first robot, that is, by inheriting the first target image of the first robot, the positioning of the second robot can be performed, thereby omitting the need to perform the positioning of the second robot at the fixed point of the team. The step of closed-loop detection reduces the computing overhead of scheduling equipment and improves the efficiency of robot positioning.
附图说明Description of drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开的实施例,并与说明书一起用于解释本公开的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosure.
图1为本公开实施例提供的机器人定位方法的一种应用场景图;FIG. 1 is an application scenario diagram of a robot positioning method provided by an embodiment of the present disclosure;
图2为本公开一个实施例提供的机器人定位方法的流程图;FIG. 2 is a flowchart of a robot positioning method provided by an embodiment of the present disclosure;
图3为本公开图2所示实施例中机器人车队拆分队伍的示意图;FIG. 3 is a schematic diagram of the splitting team of the robot fleet in the embodiment shown in FIG. 2 of the present disclosure;
图4为本公开另一个实施例提供的机器人定位方法的流程图;FIG. 4 is a flowchart of a robot positioning method provided by another embodiment of the present disclosure;
图5为本公开另一个实施例提供的机器人定位方法的流程图;FIG. 5 is a flowchart of a robot positioning method provided by another embodiment of the present disclosure;
图6为本公开一个实施例提供的机器人定位装置的结构示意图;FIG. 6 is a schematic structural diagram of a robot positioning device provided by an embodiment of the present disclosure;
图7为本公开另一个实施例提供的机器人定位装置的结构示意图;FIG. 7 is a schematic structural diagram of a robot positioning device provided by another embodiment of the present disclosure;
图8为本公开一个实施例提供的调度设备的结构示意图。Fig. 8 is a schematic structural diagram of a scheduling device provided by an embodiment of the present disclosure.
通过上述附图,已示出本公开明确的实施例,后文中将有更详细的描述。这些附图和文字描述并不是为了通过任何方式限制本公开构思的范围,而是通过参考特定实施例为本领域技术人员说明本公开的概念。By means of the above-mentioned drawings, certain embodiments of the present disclosure have been shown and will be described in more detail hereinafter. These drawings and written description are not intended to limit the scope of the disclosed concept in any way, but to illustrate the disclosed concept for those skilled in the art by referring to specific embodiments.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开相一致的所有实施方式。相反,它们仅是与如所附权利要求书中所详述的、本公开的一些方面相一致的装置和方法的例子。Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatuses and methods consistent with aspects of the present disclosure as recited in the appended claims.
下面以具体地实施例对本公开的技术方案以及本公开的技术方案如何解决上述技术问题进行详细说明。下面这几个具体的实施例可以相互结合,对于相同或相似的概念或过程可能在某些实施例中不再赘述。下面将结合附图,对本公开的实施例进行描述。The technical solution of the present disclosure and how the technical solution of the present disclosure solves the above technical problems will be described in detail below with specific embodiments. The following specific embodiments may be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. Embodiments of the present disclosure will be described below with reference to the accompanying drawings.
下面对本公开实施例的应用场景进行解释:The application scenarios of the embodiments of the present disclosure are explained below:
图1为本公开实施例提供的机器人定位方法的一种应用场景图,如图1所示,在进行仓储系统地图构建时,需要进行机器人110定位,基于视觉SLAM的定位技术的主要过程为:机器人110将传感器,如图像传感器、惯性传感器等,采集的检测图像上传至调度设备120,调度设备120基于各个时刻接收的检测图像,确定各帧检测图像对应的相机位姿,以及基于图像库对各帧检测图像进行回环检测或闭环检测,以判断机器人之前是否到达过采集该帧图像时的位置,进行机器人110的定位,进而基于回环检测结果以及各帧检测图像对应的相机位姿,对图像库中的图像进行优化处理,得到全局一致的轨迹和地图,实现仓储系统地图的构建或优化。Fig. 1 is an application scene diagram of the robot positioning method provided by the embodiment of the present disclosure. As shown in Fig. 1, when constructing a warehouse system map, a
回环检测为基于SLAM技术进行机器人定位的关键步骤,主要通过将机器人110当前采集的图像与预先存储的环境图像或地图中的各帧图像进行比对,从而判断机器人110之前是否到达过该位置,以对机器人110进行定位或对所构建的地图进行调整。Loop detection is a key step in robot positioning based on SLAM technology. It mainly compares the image currently collected by the
在一些实施例中,为了提高取放货的效率或者构建地图的效率,机器人110会以车队的形式行走,即由多个机器人110组成车队,以机器人车队的形式行走。In some embodiments, in order to improve the efficiency of picking and placing goods or building a map, the
在机器人车队中,机器人110的角色包括队首机器人、队尾机器人和队中机器人,队首机器人为机器人车队中沿行走方向的第一个机器人,队尾机器人则为机器人车队中沿行走方向的最后一个机器人,队中机器人则为位于队尾机器人和队首机器人之间的各个机器人。In the robot convoy, the roles of the
在以机器人车队的形式执行任务时,如执行构建地图、巡视、取放货等任务时,机器人车队中的各个机器人110需要基于传感器进行环境检测,进而由调度设备120或服务器,基于机器人的传感器采集的数据进行定位、避障等操作,机器人110以车队形式行走时,相较于单个机器人110的形式,调度设备120或服务器所需处理的数据量成倍增加。When performing tasks in the form of a robot fleet, such as when performing tasks such as building maps, patrolling, and picking and placing goods, each
为了减少调度设备120的数据处理任务,本公开针对机器人组队之后拆分队伍的情况,通过继承原车队队首机器人,即第一机器人的定位结果或目标图像的方式,进行拆分后新增的队首机器人,即第二机器人的定位,省略了对第二机器人采集的图像,即第二图像,进行回环检测或目标图像确定的步骤。In order to reduce the data processing tasks of the
图2为本公开一个实施例提供的机器人定位方法的流程图,如图2所示,该机器人定位方法适用于仓储系统,可以由调度设备执行。本实施例提供的机器人定位方法包括以下步骤:FIG. 2 is a flowchart of a robot positioning method provided by an embodiment of the present disclosure. As shown in FIG. 2 , the robot positioning method is applicable to a storage system and can be executed by a scheduling device. The robot positioning method provided in this embodiment includes the following steps:
步骤S201,根据第一机器人在分队定点采集的额第一图像,从环境图像库中确定与所述第一图像匹配的第一目标图像。Step S201, according to the first image collected by the first robot at the fixed point of the team, determine the first target image matching the first image from the environment image library.
其中,分队定点为第一机器人所在的第一车队进行队伍拆分的地点。环境图像库为已经建立的仓储系统的地图对应的各帧图像。第一机器人为第一车队和第二车队的队首机器人,队首机器人即为机器人所在车队在行走方向上位于最前方的机器人。Among them, the fixed point of the team is the place where the team of the first team where the first robot is located is split. The environment image library is each frame image corresponding to the map of the warehouse system that has been established. The first robot is the team leader robot of the first team and the second team, and the team leader robot is the robot that is at the forefront in the walking direction of the team where the robot is located.
在一些实施例中,第一车队在该分队定点划分为两个车队,第二车队和第三车队,第一机器人为第二车队的队首机器人,第二机器人为第三机器人车队的队首机器人。In some embodiments, the first convoy is divided into two convoys, the second convoy and the third convoy, the first robot is the leader robot of the second convoy, and the second robot is the leader of the third robot convoy. robot.
在一些实施例中,机器人所在的车队中的机器人的数量为1个时,该机器人为单独行走的机器人。In some embodiments, when the number of robots in the convoy where the robot is located is one, the robot is a robot that walks alone.
具体的,可以通过特征匹配的方式,从环境图像库中确定与第一图像匹配的特征最多或者与第一图像的相似性最高的图像,为第一图像的第一目标图像。Specifically, the image with the most features matching the first image or the image with the highest similarity to the first image may be determined from the environment image library by means of feature matching, and be the first target image of the first image.
具体的,可以根据第一图像以及第一图像对应的里程计,从环境图像库中确定与第一图像匹配的第一目标图像。其中,第一图像对应的里程计可以根据采集第一图像的第一机器人的惯性传感器、轮速计等传感器采集的数据确定。Specifically, the first target image matching the first image may be determined from the environment image library according to the first image and the odometer corresponding to the first image. Wherein, the odometer corresponding to the first image may be determined according to data collected by sensors such as an inertial sensor and a wheel speedometer of the first robot that collects the first image.
可选的,根据第一机器人在分队定点采集的第一图像,从环境图像库中确定与所述第一图像匹配的第一目标图像,包括:Optionally, according to the first image collected by the first robot at the fixed point of the team, determining the first target image matching the first image from the environment image library includes:
基于闭环检测算法,根据所述第一图像,判断所述环境图像库中是否存在与所述第一图像匹配的环境图像;若是,则闭环检测成功,将所匹配的环境图像确定为所述第一图像的第一目标图像。Based on the closed-loop detection algorithm, according to the first image, it is judged whether there is an environmental image matching the first image in the environmental image library; if so, the closed-loop detection is successful, and the matched environmental image is determined as the first image. The first target image of an image.
其中,闭环检测算法可以为任意一种进行闭环检测的算法,如BA(BundleAdjustment,光束平差法)、词袋模型、相似度计算、深度学习等算法。Among them, the closed-loop detection algorithm can be any algorithm for closed-loop detection, such as BA (Bundle Adjustment, beam adjustment method), bag-of-words model, similarity calculation, deep learning and other algorithms.
具体的,调度设备在得到第一图像之后,可以对第一图像进行特征提取,进而基于闭环检测算法以及第一图像的特征,判断环境图像库中是否存在与第一图像匹配的环境图像,若存在与第一图像匹配的环境图像,则闭环检测成功,输出与第一图像匹配的环境图像,即第一目标图像。Specifically, after the scheduling device obtains the first image, it can perform feature extraction on the first image, and then judge whether there is an environment image matching the first image in the environment image database based on the closed-loop detection algorithm and the characteristics of the first image. If there is an environment image matching the first image, the closed-loop detection is successful, and the environment image matching the first image is output, that is, the first target image.
具体的,还可以基于第一图像以及第一目标图像,即第一图像的闭环检测的结果,进行环境图像库中各帧图像的更新,以减少环境图像库的帧间误差,从而减少机器人的导航或定位误差。Specifically, based on the first image and the first target image, that is, the result of the closed-loop detection of the first image, each frame image in the environment image library can be updated to reduce the inter-frame error of the environment image library, thereby reducing the robot's Navigation or positioning errors.
步骤S202,获取第二机器人在所述分队定点采集的第二图像。Step S202, acquiring a second image collected by the second robot at a fixed point of the team.
其中,所述第一机器人和所述第二机器人位于第一车队中,所述第一机器人为所述第一车队的队首机器人;在所述分队定点处所述第一车队拆分为第二车队和第三车队,所述第二车队的队首机器人为所述第一机器人,所述第三车队的队首机器人为所述第二机器人,所述第二车队和所述第三车队分别包括的机器人的数量至少为1个。Wherein, the first robot and the second robot are located in the first team, and the first robot is the first robot of the first team; at the fixed point of the team, the first team is split into the first team The second team and the third team, the team leader robot of the second team is the first robot, the team leader robot of the third team is the second robot, the second team and the third team The number of robots included respectively is at least 1.
在一些实施例中,第二机器人可以为第一车队中除去第一机器人的任意一个机器人,如队尾机器人或队中机器人。In some embodiments, the second robot may be any robot in the first fleet except the first robot, such as a team tail robot or a team robot.
在一些实施例中,本公开提及的各个机器人,包括第一机器人和第二机器人,均为相同的机器人,机器人的类型、尺寸等参数均相同,机器人上各个视觉传感器设置的位置和数量均相同。In some embodiments, each robot mentioned in the present disclosure, including the first robot and the second robot, is the same robot, the parameters such as the type and size of the robot are the same, and the positions and numbers of the visual sensors on the robot are the same. same.
具体的,分队定点为第一机器人和第二机器人所在的第一车队拆分的位置点,第一车队的队首机器人为第一机器人。当第一机器人和第二机器人以第一车队的形式行走至分队定点时,第一车队被拆分为两个车队,第二车队和第三车队,第二车队的队首机器人为第一机器人,第二车队的队首机器人为第二机器人,第二车队和第三车队在分队定点处的行走方向不同。Specifically, the fixed point of the team is the split position of the first team where the first robot and the second robot are located, and the leader robot of the first team is the first robot. When the first robot and the second robot walk to the fixed point of the team in the form of the first team, the first team is split into two teams, the second team and the third team, and the leader robot of the second team is the first robot , the leader robot of the second team is the second robot, and the walking direction of the second team and the third team at the fixed point of the team are different.
示例性的,图3为本公开图2所示实施例中机器人车队拆分队伍的示意图,如图3所示,以第一车队包括3个机器人,即机器人301至机器人303,为例,在第一车队中,机器人301为队首机器人,机器人302为队中机器人,机器人303为队尾机器人,当第一车队的队首机器人,即机器人301,到达下一十字路口C1时,第一车队的队尾机器人,即机器人303需要脱离原来的第一车队,向十字路口C1左侧的道路r1行走,机器人301和机器人302在该十字路口C1则继续直行,即沿道路r2行走,图3中采用虚线框表示第一车队在分队定点队伍拆分后的各个机器人,该十字路口即为一个分队定点,机器人301为一个第一机器人,机器人303为一个第二机器人。Exemplarily, FIG. 3 is a schematic diagram of the splitting team of the robot fleet in the embodiment shown in FIG. 2 of the present disclosure. As shown in FIG. In the first convoy, the
在一些实施例中,机器人的各个侧面上可以设置至少一个视觉传感器,如激光传感器、图像传感器等,以采集机器人外部环境的图像。如机器人底盘的各个侧面上可以设置至少一个视觉传感器,视觉传感器还可以设置在机器人的暂存货架或取放货装置上。视觉传感器可以分为前视传感器、后视传感器和侧视传感器,其中,前视传感器用于采集行走方向上机器人前方的环境的图像,后视传感器用于采集行走方向上机器人后方的环境的图像,侧视传感器则用于采集行走方向上机器人左侧或右侧的环境的图像。In some embodiments, at least one vision sensor, such as a laser sensor, an image sensor, etc., may be provided on each side of the robot to collect images of the external environment of the robot. For example, at least one visual sensor can be arranged on each side of the robot chassis, and the visual sensor can also be arranged on the temporary storage shelf or the pick-and-place device of the robot. Vision sensors can be divided into front-view sensors, rear-view sensors, and side-view sensors. Among them, the front-view sensor is used to collect images of the environment in front of the robot in the walking direction, and the rear-view sensor is used to collect images of the environment behind the robot in the walking direction. , and the side-view sensor is used to collect images of the environment on the left or right side of the robot in the walking direction.
在一些实施例中,机器人以机器人车队的形式或单独行走时,机器人可以开启其上设置的各个视觉传感器,如上述前视传感器、后视传感器和侧视传感器。In some embodiments, when the robot is walking in the form of a robot convoy or alone, the robot can turn on various vision sensors provided on it, such as the above-mentioned front-view sensor, rear-view sensor and side-view sensor.
具体的,机器人在以机器人车队的形式行走时,或者机器人在机器人车队中的角色更新时,可以根据机器人在机器人车队中的角色,确定机器人所需开启的传感器。机器人在车队中的角色包括队首机器人、队中机器人和队尾机器人,或者可以仅包括队首机器人和队中机器人。Specifically, when the robot is walking in the form of a robot convoy, or when the role of the robot in the robot convoy is updated, the sensors to be turned on by the robot can be determined according to the role of the robot in the robot convoy. The roles of the robots in the fleet include the leader robot, the team robot and the team tail robot, or may include only the team leader robot and the team robot.
在一些实施例中,机器人车队中的队首机器人开启的传感器可以为前视传感器和各个侧视传感器,队中机器人开启的传感器可以为各个侧视传感器,队尾机器人开启的传感器可以为后视传感器和各个侧视传感器。In some embodiments, the sensors opened by the team leader robot in the robot fleet can be forward-looking sensors and various side-view sensors, the sensors opened by the robots in the team can be various side-view sensors, and the sensors opened by the team-tail robots can be rear-view sensors. sensors and various side view sensors.
在一些实施例中,机器人车队的队首机器人开启的传感器可以为前视传感器和各个侧视传感器,队中机器人和队尾机器人开启的传感器可以为后视传感器和各个侧视传感器。In some embodiments, the sensors activated by the robot at the head of the team can be forward-looking sensors and various side-view sensors, and the sensors activated by the robots in the team and the robots at the end of the team can be rear-view sensors and various side-view sensors.
具体的,以车队或机器人车队形式行走的机器人,可以机器人所开启的传感器可以按照设定周期采集机器人外部环境的图像。调度设备针对每个机器人上传的外部环境的图像,进行特征提取、图像匹配、里程计计算等步骤,进行机器人的定位,或地图的重建。Specifically, for a robot walking in the form of a convoy or a robot convoy, the sensors turned on by the robot can collect images of the external environment of the robot according to a set cycle. The dispatching device performs steps such as feature extraction, image matching, and odometer calculation for the images of the external environment uploaded by each robot, and performs robot positioning or map reconstruction.
在第一车队中,由于沿第一车队的行走方向第一机器人位于第二机器人前方,故第一机器人较第二机器人先到达分队定点。当第一机器人到达该分队定点时,基于第一机器人开启的传感器在该分队定点,采集第一图像,并将第一图像上传至调度设备;调度设备基于该第一图像进行第一机器人的定位;进而当第二机器人到达该分队定点时,基于第二机器人开启的传感器在该分队定点,采集第二图像,并将第二图像上传至调度设备。In the first team, since the first robot is located in front of the second robot along the walking direction of the first team, the first robot arrives at the detachment point before the second robot. When the first robot arrives at the fixed point of the team, based on the sensor opened by the first robot at the fixed point of the team, the first image is collected, and the first image is uploaded to the dispatching device; the dispatching device performs positioning of the first robot based on the first image ; And then when the second robot arrives at the fixed point of the team, based on the sensor opened by the second robot at the fixed point of the team, the second image is collected, and the second image is uploaded to the dispatching device.
具体的,可以通过机器人(第一机器人或第二机器人)上设置的惯性传感器、陀螺仪、轮速计等设备,确定机器人上传的图像对应的位置,从而得到机器人在分队定点采集的图像,即得到第一图像或第二图像。Specifically, the position corresponding to the image uploaded by the robot can be determined through the inertial sensor, gyroscope, wheel speedometer and other equipment set on the robot (the first robot or the second robot), so as to obtain the image collected by the robot at the fixed point of the team, namely Get the first image or the second image.
步骤S203,根据所述第一图像和所述第二图像,判断所述第二机器人在所述分队定点的第一位姿与所述第一机器人在所述分队定点的第二位姿是否一致。Step S203, according to the first image and the second image, determine whether the first pose of the second robot at the fixed point of the team is consistent with the second pose of the first robot at the fixed point of the team .
其中,第一位姿为第一机器人在分队定点采集第一图像时的位姿,第二位姿则为第二机器人在分队定点采集第二图像时的位姿。Among them, the first pose is the pose of the first robot when it collects the first image at the fixed point of the team, and the second pose is the pose of the second robot when it collects the second image at the fixed point of the team.
具体的,可以通过提取第一图像和第二图像的图像特征,基于图像特征匹配的方式,判断第二机器人在分队定点的第一位姿与第一机器人在分队定点的第二位姿是否一致。若第一图像与第二图像的图像特征匹配或图像的相似度大于预设值,则确定第一位姿和第二位姿一致。Specifically, by extracting the image features of the first image and the second image, and based on image feature matching, it is possible to judge whether the first pose of the second robot at the fixed point of the team is consistent with the second pose of the first robot at the fixed point of the team . If the image features of the first image and the second image match or the similarity of the images is greater than a preset value, it is determined that the first pose is consistent with the second pose.
具体的,可以基于第一图像和第二图像中同一关键区域的图像特征,判断第一位姿和第二位姿是否一致。Specifically, based on image features of the same key region in the first image and the second image, it may be determined whether the first pose is consistent with the second pose.
步骤S204,若所述第一位姿与所述第二位姿一致,则根据所述第一目标图像进行所述第二机器人的定位,以更新所述环境图像库或进行所述第二机器人的导航。Step S204, if the first pose is consistent with the second pose, perform positioning of the second robot according to the first target image, so as to update the environment image library or perform positioning of the second robot navigation.
具体的,若第一位姿和第二位姿一致,则可以确定第一机器人与第二机器人在到达该分队定点时的朝向一致,则可以直接基于第一机器人的定位结果或回环检测的结果,即第一目标图像进行第二机器人的定位,从而省略调度设备在环境图像库中查找与第二图像匹配的第二目标图像的过程,减少调度设备的运算开销。Specifically, if the first pose and the second pose are consistent, it can be determined that the orientation of the first robot and the second robot are consistent when they arrive at the fixed point of the team, and then it can be directly based on the positioning result of the first robot or the result of loop closure detection , that is, the first target image performs positioning of the second robot, thereby omitting the process of the scheduling device searching for the second target image matching the second image in the environment image database, and reducing the computing overhead of the scheduling device.
本公开实施例提供的机器人定位方法,针对组队行走的机器人车队在分队定点拆分为多个车队的情况,第一机器人为原机器人车队的队首机器人,第二机器人为拆分后新增的队首机器人,通过第一机器人和第二机器人在分队定点采集的第一图像和第二图像,判断第一机器人和第二机器人在分队定点处的位姿是否一致,若是,则可以基于第一机器人的闭环检测的结果,即通过继承第一机器人的第一目标图像的方式,进行第二机器人的定位,从而省略对第二机器人在分队定点进行闭环检测的步骤,减少了调度设备的运算开销,提高了机器人定位的效率。The robot positioning method provided by the embodiments of the present disclosure is aimed at the situation that the team of robots walking in a team is split into multiple teams at the fixed point of the team. The head robot of the team judges whether the poses of the first robot and the second robot at the fixed point of the team are consistent through the first image and the second image collected by the first robot and the second robot at the fixed point of the team. If so, it can be based on the first The result of the closed-loop detection of a robot is to carry out the positioning of the second robot by inheriting the first target image of the first robot, thereby omitting the step of closed-loop detection of the second robot at the fixed point of the team, and reducing the calculation of the dispatching equipment Overhead, improving the efficiency of robot positioning.
在一些实施例中,第二机器人在到达分队定点时,会减小行走速度,以进行队伍拆分,如换向。若第一位姿与第二位姿不一致,则第二机器人无法基于第一机器人的定位结果,即第一目标图像进行第二机器人的定位。In some embodiments, when the second robot reaches the fixed point of the team, it will reduce the walking speed to split the team, such as changing directions. If the first pose is inconsistent with the second pose, the second robot cannot perform positioning of the second robot based on the positioning result of the first robot, that is, the first target image.
可选的,若所述第一位姿与所述第二位姿不一致,所述方法还包括:Optionally, if the first pose is inconsistent with the second pose, the method further includes:
根据所述第二图像,从所述环境图像库中确定与所述第二图像匹配的第二目标图像;根据所述第二目标图像进行所述第二机器人的定位。Determining a second target image matching the second image from the environment image library according to the second image; performing positioning of the second robot according to the second target image.
具体的,若第一位姿与第二位姿不一致,则表明第二机器人达到分队定点时的位姿与第一机器人达到该分队定点时的位姿不同,则可以根据第二机器人在分队定点采集的第二图像,从环境图像库中确定与第二图像匹配的第二目标图像,具体方式与步骤S201相似,仅将第一图像替换为第二图像即可。进而根据第二目标图像进行第二机器人的定位,以进行第二机器人的导航,以及基于第二图像和第二目标图像,或者基于第二图像的闭环检测的结果,进行环境图像库中各帧图像的更新,以减少环境图像库的帧间误差,从而减少机器人的导航或定位误差。Specifically, if the first pose is inconsistent with the second pose, it indicates that the pose of the second robot when it reaches the fixed point of the team is different from that of the first robot when it reaches the fixed point of the team. For the collected second image, determine the second target image matching the second image from the environment image library, the specific method is similar to step S201, only the first image is replaced with the second image. Further, according to the second target image, the positioning of the second robot is performed to perform the navigation of the second robot, and based on the second image and the second target image, or based on the result of the closed-loop detection of the second image, each frame in the environment image library is The image is updated to reduce the frame-to-frame error of the environment image library, thereby reducing the robot's navigation or positioning error.
在一些实施例中,当第二机器人行走至分队定点时,第二机器人以及沿行走方向位于第二机器人后方的各个机器人可以暂停行走,直至接收到调度设备发送的行走控制指令。In some embodiments, when the second robot walks to the fixed point of the team, the second robot and the robots behind the second robot along the walking direction may stop walking until receiving a walking control instruction sent by the dispatching device.
具体的,当第一位姿与第二位姿不一致时,还可以调整第二机器人在分队定点的位姿,并获取第二机器人在该分队定点调整位姿时采集的一帧或多帧第三图像,若至少一帧第三图像对应的第二机器人的第三位姿与第一位姿一致,则基于第一目标图像进行第二机器人的定位,并基于定位结果生成第二机器人的行走控制指令,以控制第二机器人沿设定方向进行行走,以到达第二机器人的目的地或下一路径节点。Specifically, when the first pose is inconsistent with the second pose, the pose of the second robot at the fixed point of the team can also be adjusted, and one or more frames collected by the second robot when the pose is adjusted at the fixed point of the team can be obtained. Three images, if the third pose of the second robot corresponding to at least one frame of the third image is consistent with the first pose, the positioning of the second robot is performed based on the first target image, and the walking of the second robot is generated based on the positioning result The control instruction is used to control the second robot to walk along the set direction to reach the destination of the second robot or the next path node.
图4为本公开另一个实施例提供的机器人定位方法的流程图,本实施例本实施例提供的机器人定位方法是在图2所示实施例的基础上,在步骤S203之后,增加第一位姿和第二位姿不一致的情况以及在获取第二图像之前增加确定第二机器人开启的传感器的步骤,如图4所示,本实施例提供的机器人定位方法可以包括以下步骤:Fig. 4 is a flowchart of a robot positioning method provided by another embodiment of the present disclosure. The robot positioning method provided in this embodiment is based on the embodiment shown in Fig. 2, after step S203, the first digit is added Inconsistency between the second pose and the second pose and adding the step of determining the sensor turned on by the second robot before acquiring the second image, as shown in Figure 4, the robot positioning method provided in this embodiment may include the following steps:
步骤S401,获取第一机器人在分队定点采集的第一图像。Step S401, acquiring the first image collected by the first robot at the fixed point of the team.
具体的,可以基于在行走至分队定点时第一机器人开启的传感器,如前视传感器和各个侧视传感器,采集的数据,得到第一图像。Specifically, the first image can be obtained based on the data collected by the sensors turned on by the first robot when walking to the fixed point of the team, such as the front-view sensor and each side-view sensor.
步骤S402,根据所述第一图像,从环境图像库中确定与所述第一图像匹配的第一目标图像。Step S402, according to the first image, determine a first target image matching the first image from an environment image library.
步骤S403,当确定所述分队定点时,根据所述第二机器人在所述第三车队中的角色,确定所述第二机器人开启的传感器。Step S403, when determining the fixed point of the team, according to the role of the second robot in the third convoy, determine the sensor activated by the second robot.
其中,机器人在车队中的角色包括队首机器人、队尾机器人和队中机器人。Among them, the roles of robots in the team include the team leader robot, team tail robot and team robot.
由于在分队定点处,第二机器人在车队中的角色由原来的第一车队中的队尾机器人或队中机器人,变为第三车队中的队首机器人,故需要重新确定第二机器人开启的传感器,具体可以根据第二机器人在第三车队中的角色,即队首机器人,确定第二机器人开启的传感器,如前视传感器和各个侧视传感器。Since the role of the second robot in the team is changed from the tail robot or the team robot in the first team to the team leader robot in the third team at the fixed point of the team, it is necessary to re-determine the second robot’s activation status. For the sensor, specifically, according to the role of the second robot in the third team, that is, the leader robot, the sensors activated by the second robot, such as the front-view sensor and each side-view sensor, can be determined.
具体的,当每个机器人在车队中的角色发送变化时,可以基于机器人的新的角色,确定机器人开启的传感器。Specifically, when the role of each robot in the convoy is changed, the sensors to be turned on by the robot may be determined based on the new role of the robot.
示例性的,机器人车队中的队首机器人开启的传感器可以为前视传感器和各个侧视传感器,队中机器人开启的传感器可以为各个侧视传感器,队尾机器人开启的传感器可以为后视传感器和各个侧视传感器。或者,机器人车队中的队首机器人开启的传感器可以为前视传感器和各个侧视传感器,队中机器人和队尾机器人开启的传感器可以为各个侧视传感器。Exemplarily, the sensors opened by the team leader robot in the robot fleet can be forward-looking sensors and various side-view sensors, the sensors opened by the robots in the team can be various side-view sensors, and the sensors opened by the team-tail robots can be rear-view sensors and Individual side view sensors. Alternatively, the sensors activated by the team leader robot in the robot convoy may be front-view sensors and each side-view sensor, and the sensors activated by the team robots and team-tail robots may be various side-view sensors.
步骤S404,基于所述第二机器人开启的传感器,获取第二机器人在所述分队定点采集的第二图像。Step S404, based on the sensor turned on by the second robot, acquire a second image collected by the second robot at a fixed point of the team.
具体的,当第二机器人行走至分队定点时,可以基于第二机器人开启的传感器,如前视传感器和各个侧视传感器,获取第二机器人在该分队定点的第二图像。Specifically, when the second robot walks to the fixed point of the team, the second image of the second robot at the fixed point of the team can be acquired based on the sensors activated by the second robot, such as the front-view sensor and each side-view sensor.
步骤S405,根据所述第一图像和所述第二图像,判断所述第二机器人在所述分队定点的第一位姿与所述第一机器人在所述分队定点的第二位姿是否一致。Step S405, according to the first image and the second image, determine whether the first pose of the second robot at the fixed point of the team is consistent with the second pose of the first robot at the fixed point of the team .
具体的,由于第一机器人和第二机器人在分队定点处的角色相同,均为队首机器人,则可以通过第一图像和第二图像的特征比对,判断第一机器人和第二机器人在分队定点处的位姿,即第一位姿和第二位姿,是否一致。Specifically, since the first robot and the second robot have the same role at the fixed point of the team, and both are team leader robots, it can be judged that the first robot and the second robot are in the team by comparing the features of the first image and the second image. Whether the pose at the fixed point, that is, the first pose and the second pose, are consistent.
具体的,可以按照图像对应的传感器,依次判断第一机器人和第二机器人的各个传感器在分队定点采集的图像,即第一图像和第二图像,即依次比对I1i和I2i,根据比对结果,判断第一位姿和第二位姿是否一致。Specifically, according to the sensors corresponding to the images, the images collected by the sensors of the first robot and the second robot at fixed points in the team can be sequentially judged, that is, the first image and the second image, that is, sequentially comparing I 1i and I 2i , and according to the comparison For the result, judge whether the first pose is consistent with the second pose.
其中,i=1,2,…,n,n为队首机器人开启的传感器的总数量,I1i为第一机器人的第i个开启的传感器采集的第一图像,I2i为第二机器人的第i个开启的传感器采集的第二图像。Among them, i=1, 2,..., n, n is the total number of sensors turned on by the team leader robot, I 1i is the first image collected by the i-th turned-on sensor of the first robot, and I 2i is the image of the second robot The second image captured by the i-th turned-on sensor.
具体的,若I1i和I2i,i=1,2,…,n,均匹配,则确定第一位姿与第二位姿一致。或者,若至少m个传感器采集的第一图像和第二图像均匹配,则确定第一位姿与第二位姿一致。其中,m为小于n的正整数。Specifically, if I 1i and I 2i , i=1, 2, . . . , n, all match, it is determined that the first pose is consistent with the second pose. Alternatively, if the first image and the second image collected by at least m sensors match, it is determined that the first pose is consistent with the second pose. Wherein, m is a positive integer smaller than n.
具体的,可以根据第一机器人对应的各个第一图像,确定第一机器人在分队定点处的第一位姿,以及基于第二机器人对应的各个第二图像,确定第二机器人在分队定点处的第二位姿。进而判断第一位姿和第二位姿是否一致,如第一位姿和第二位姿的位姿差值是否小于预设差值,若是,则确定第一位姿和第二位姿一致。其中,位姿差值可以采用朝向角的差值以及与分队定点的距离的差值两个参数表示。Specifically, the first pose of the first robot at the fixed point of the team can be determined according to the first images corresponding to the first robot, and the position of the second robot at the fixed point of the team can be determined based on the second images corresponding to the second robot. second pose. Then judge whether the first pose is consistent with the second pose, such as whether the pose difference between the first pose and the second pose is less than the preset difference, if so, determine that the first pose is consistent with the second pose . Among them, the pose difference can be represented by two parameters, the difference of the heading angle and the difference of the distance from the fixed point of the team.
步骤S406,若所述第一位姿与所述第二位姿一致,则根据所述第一目标图像进行所述第二机器人的定位,以更新所述环境图像库或进行所述第二机器人的导航。Step S406, if the first pose is consistent with the second pose, perform positioning of the second robot according to the first target image, so as to update the environment image library or perform positioning of the second robot navigation.
进一步地,若第一位姿与第二位姿的位姿差值过大,如与分队定点的距离的差值大于第一差值,或朝向角的差值大于第二差值,则根据第二图像从环境图像库中确定与第二图像匹配的第二目标图像;根据第二目标图像进行第二机器人的定位。Further, if the pose difference between the first pose and the second pose is too large, such as the difference between the distance from the fixed point of the team is greater than the first difference, or the difference between the orientation angle is greater than the second difference, then according to The second image determines a second target image matching the second image from the environment image library; and performs positioning of the second robot according to the second target image.
步骤S407,若所述第一位姿与所述第二位姿不一致,则根据所述第一位姿和所述第二位姿,调整所述第二机器人的位姿。Step S407, if the first pose is inconsistent with the second pose, adjust the pose of the second robot according to the first pose and the second pose.
具体的,当第一位姿和第二位姿不一致时,可以基于第一位姿和第二位姿的位姿差值,生成第二机器人的位姿调整指令,以基于位姿调整指令调整第二机器人的位置和朝向,以改变第二机器人在分队定点的位姿。Specifically, when the first pose and the second pose are inconsistent, a pose adjustment command of the second robot can be generated based on the pose difference between the first pose and the second pose, so as to adjust The position and orientation of the second robot to change the pose of the second robot at the fixed point of the team.
具体的,还可以根据第一图像和第二图像相应的点的图像坐标的差值,生成第二机器人的位姿调整指令,以基于姿调整指令调整第二机器人的位姿。Specifically, a pose adjustment instruction of the second robot may also be generated according to the difference in image coordinates of corresponding points in the first image and the second image, so as to adjust the pose of the second robot based on the pose adjustment instruction.
进一步地,当第二位姿与第一位姿不一致时,获取第二机器人或第三车队中的各个机器人所执行的任务的类型以及任务优先级,当第二机器人或第三车队中的各个机器人所执行的任务的类型以及任务优先级满足预设条件时,则根据第一位姿和第二位姿,生成第二机器人的位姿调整指令。若第二机器人或第三车队中的各个机器人所执行的任务的类型以及任务优先级不满足预设条件,则根据第二图像从环境图像库中确定与第二图像匹配的第二目标图像,根据所第二目标图像进行第二机器人的定位。Further, when the second pose is inconsistent with the first pose, the type and task priority of the tasks performed by the second robot or each robot in the third fleet are obtained, and when each of the second robot or the third fleet When the type of task performed by the robot and the priority of the task meet the preset conditions, a pose adjustment instruction of the second robot is generated according to the first pose and the second pose. If the type of tasks performed by the second robot or each robot in the third fleet and the task priority do not meet the preset conditions, then determine a second target image matching the second image from the environment image library according to the second image, Positioning of the second robot is performed according to the second target image.
示例性的,预设条件可以为任务的类型为设定类型,且任务优先级低于预设优先级。Exemplarily, the preset condition may be that the type of the task is a set type, and the priority of the task is lower than the preset priority.
步骤S408,在所述第二机器人进行位姿调整的期间,获取所述第二机器人采集的至少一帧第三图像。Step S408, acquiring at least one frame of a third image captured by the second robot while the second robot is performing pose adjustment.
具体的,获取第三图像的具体方式与第二图像相似,仅获取的时间不同,在此不再赘述。Specifically, the specific manner of acquiring the third image is similar to that of the second image, and only the acquisition time is different, which will not be repeated here.
步骤S409,判断是否存在至少一帧所述第三图像所对应的所述第二机器人的第三位姿与所述第一位姿一致。Step S409, judging whether the third pose of the second robot corresponding to at least one frame of the third image is consistent with the first pose.
具体的,可以对第三图像进行特征提取,基于第三图像对应的特征,确定各帧第三图像对应的第二机器人的第三位姿,进而判断各个第三位姿中是否存在与第一位姿一致的位姿。Specifically, feature extraction can be performed on the third image, and based on the features corresponding to the third image, the third pose of the second robot corresponding to each frame of the third image is determined, and then it is judged whether there is a third pose that is different from the first robot in each third pose. A consistent pose.
步骤S410,若存在,则根据所述第一目标图像进行所述第二机器人的定位,以更新所述环境图像库或进行所述第二机器人的导航。Step S410, if it exists, perform positioning of the second robot according to the first target image, so as to update the environment image library or perform navigation of the second robot.
具体的,若存在至少一个第三图像对应的第三位姿与第一位姿一致,则可以基于第一机器人的第一目标图像对第二机器人进行定位,即第二机器人继承第一机器人的回环检测或定位的结果,从而无需从包括较多帧图像的环境图像库中查找与第二图像匹配的目标图像,节省调度设备的计算资源,提高第二机器人在分队定点的定位效率。Specifically, if there is at least one third pose corresponding to the third image that is consistent with the first pose, the second robot can be positioned based on the first target image of the first robot, that is, the second robot inherits the position of the first robot. The results of loopback detection or positioning eliminate the need to search for a target image that matches the second image from an environment image library that includes many frames of images, saving computing resources for dispatching equipment and improving the positioning efficiency of the second robot at the fixed point of the team.
进一步地,若不存在第三图像对应的第三位姿与第一位姿一致,则根据第二图像或第三图像,从环境图像库中确定与第二图像或第三图像匹配的第二目标图像;根据第二目标图像进行所述第二机器人的定位。Further, if there is no third pose corresponding to the third image that is consistent with the first pose, then according to the second image or the third image, determine the second pose that matches the second image or the third image from the environment image library. target image; performing positioning of the second robot according to the second target image.
在本实施例中,针对组队行走的机器人车队在分队定点拆分为多个车队的情况,基于第二机器人在新的队伍,即第一车队拆分后得到的第三车队中的角色,自动控制第二机器人开启的传感器,进而基于该开启的传感器在分队定点采集的第二图像以及原队首机器人第一机器人在该分队定点采集的第一图像,判断第二机器人与第一机器人在该分队定点采集图像的位姿是否一致,若一致,则由第二机器人继承第一机器人的匹配结果或回环检测结果,基于第一机器人的第一目标图像进行第二机器人的定位;若不一致,则调整第二机器人在分队定点处的位姿,得到第二机器人在分队定点处采集的新的图像,即第三图像,从而判断该第三图像对应的第二机器人的位姿是否与第一图像对应的第一机器人的位姿一致,若一致,则由第二机器人继承第一机器人的匹配结果或回环检测结果,基于第一机器人的第一目标图像进行第二机器人的定位,实现了分队定点处相同位姿、相同角色的机器人的图像匹配结果的继承,减少了调度设备的数据处理量,提高了机器人定位的效率。In this embodiment, for the situation that the team of robots walking in teams is divided into multiple teams at fixed points, based on the role of the second robot in the new team, that is, the third team obtained after the split of the first team, Automatically control the sensor opened by the second robot, and then based on the second image collected by the opened sensor at the fixed point of the team and the first image collected by the first robot of the original team at the fixed point of the team, it is judged that the second robot is in the same position as the first robot. Whether the poses and poses of the team’s fixed-point acquisition images are consistent, if they are consistent, the second robot will inherit the matching results or loop-back detection results of the first robot, and perform positioning of the second robot based on the first target image of the first robot; if they are not consistent, Then adjust the pose of the second robot at the fixed point of the team to obtain a new image collected by the second robot at the fixed point of the team, that is, the third image, so as to judge whether the pose of the second robot corresponding to the third image is consistent with the first The poses and poses of the first robot corresponding to the image are consistent. If they are consistent, the second robot will inherit the matching result or loop detection result of the first robot, and locate the second robot based on the first target image of the first robot. The inheritance of image matching results of robots with the same pose and role at a fixed point reduces the amount of data processing of scheduling equipment and improves the efficiency of robot positioning.
图5为本公开另一个实施例提供的机器人定位方法的流程图,本实施例提供的机器人定位方法由调度设备执行,如图5所示,本实施例提供的机器人定位方法包括以下步骤:FIG. 5 is a flowchart of a robot positioning method provided in another embodiment of the present disclosure. The robot positioning method provided in this embodiment is executed by a scheduling device. As shown in FIG. 5 , the robot positioning method provided in this embodiment includes the following steps:
步骤S501,根据第一机器人在分队定点采集的第一图像,从环境图像库中确定与所述第一图像匹配的第一目标图像。Step S501, according to the first image collected by the first robot at the fixed point of the team, determine the first target image matching the first image from the environment image library.
步骤S502,获取所述第一机器人采集第一图像的状态参数,并将所述第一图像和状态参数发送至第二机器人,以控制所述第二机器人基于所述状态参数调整所述第二机器人的状态。Step S502, obtaining the state parameters of the first image collected by the first robot, and sending the first image and state parameters to the second robot, so as to control the second robot to adjust the second robot based on the state parameters. The state of the robot.
其中,所述状态参数包括所述第一机器人采集所述第一图像时的第一位姿。Wherein, the state parameter includes a first pose of the first robot when capturing the first image.
具体的,第一机器人可以在分队定点采集第一图像之后,将采集第一图像时的状态参数以及第一图像发送至调度设备。调度设备则将该状态参数和第一图像发送至第二机器人,从而第二机器人基于该状态参数调整第二机器人在分队定点的位姿,进行第二图像的采集,并判断所采集第二图与第一图像是否匹配,如相似度大于预设值,若是,则确定第二机器人在分队定点的位姿与第一机器人的第一位姿一致,生成位姿一致消息。Specifically, after the team collects the first image at a fixed point, the first robot may send the state parameters when the first image is collected and the first image to the dispatching device. The dispatching device sends the state parameters and the first image to the second robot, so that the second robot adjusts the posture of the second robot at the fixed point of the team based on the state parameters, collects the second image, and judges the collected second image Whether it matches with the first image, if the similarity is greater than the preset value, if so, determine that the pose of the second robot at the fixed point of the team is consistent with the first pose of the first robot, and generate a pose consistent message.
具体的,第二机器人可以判断第二机器人在分队定点采集的第二图像与第一图像是否匹配;若匹配,则确定第二机器人在分队定点当前的位姿与第一位姿一致;若不匹配,则微调第二机器人的位姿,或者基于当前的位姿与第一位姿的位姿差值调整第二机器人的位姿,并在第二机器人调整位姿的期间采集新的图像,判断新的图像中是否存在与第一图像匹配的图像,若是,则确定第二机器人的位姿与第一位姿一致。Specifically, the second robot can judge whether the second image collected by the second robot at the fixed point of the team matches the first image; if they match, then determine that the current pose of the second robot at the fixed point of the team is consistent with the first pose; if not match, then fine-tune the pose of the second robot, or adjust the pose of the second robot based on the pose difference between the current pose and the first pose, and collect new images during the pose adjustment of the second robot, Determine whether there is an image matching the first image in the new image, and if so, determine that the pose of the second robot is consistent with the first pose.
可选的,所述状态参数还包括第一状态参数,所述第一状态参数用于描述所述第一机器人在所述分队定点采集所述第一图像时开启的传感器的位置参数;所述第一状态参数用于控制所述第二机器人开启所述第一状态参数中相应位置的传感器,以基于开启的各个传感器进行图像采集。Optionally, the state parameters further include a first state parameter, which is used to describe a position parameter of a sensor turned on by the first robot when the first image is captured at a fixed point of the team; The first state parameter is used to control the second robot to turn on the sensor at a corresponding position in the first state parameter, so as to perform image acquisition based on each turned on sensor.
具体的,当第二机器人行走至分队定点时,可以基于状态参数中的第一状态参数,开启第二机器人的传感器,以使第二机器人与第一机器人在分队定点开启的传感器一致,如均为前视传感器和各个侧视传感器;进而基于所开启的各个传感器进行第二图像的采集。Specifically, when the second robot walks to the fixed point of the team, the sensor of the second robot can be turned on based on the first state parameter among the state parameters, so that the second robot is consistent with the sensor turned on by the first robot at the fixed point of the team. It is the front-view sensor and each side-view sensor; and then the acquisition of the second image is performed based on each sensor that is turned on.
步骤S503,当接收到所述第二机器人反馈的位姿一致消息时,根据所述第一目标图像进行所述第二机器人的定位,以更新所述环境图像库或进行所述第二机器人的导航。Step S503, when receiving the pose consistent message fed back by the second robot, perform positioning of the second robot according to the first target image, so as to update the environment image library or perform positioning of the second robot navigation.
其中,所述位姿一致消息为所述第二机器人确定所述第二机器人在所述分队定点的位姿与所述第一位姿一致时生成的。Wherein, the pose consistency message is generated when the second robot determines that the pose of the second robot at the fixed point of the team is consistent with the first pose.
具体的,当第二机器人通过图像特征匹配的方式,确定第二机器人在分队定点采集的图像与第一图像匹配或相似度大于预设值时,确定第二机器人在分队定点的位姿与第一位姿一致,则生成位姿一致消息,并将位姿一致消息发送至调度设备。调度设备在接收到第二机器人反馈的位姿一致消息之后,直接基于第一机器人的定位结果第一目标图像进行第二机器人的定位,从而省略了从环境图像库中查找与第二图像匹配的图像的过程,即省略了第二图像的闭环检测的过程,减少了调度设备的计算量,提高了第二机器人在分队定点的定位效率。Specifically, when the second robot determines that the image collected by the second robot at the fixed point of the team matches the first image or the similarity is greater than a preset value by means of image feature matching, it is determined that the pose of the second robot at the fixed point of the team is consistent with the first image. If a pose is consistent, generate a pose consistent message, and send the pose consistent message to the scheduling device. After the dispatching device receives the pose consistent message fed back by the second robot, it directly performs the positioning of the second robot based on the first target image of the positioning result of the first robot, thereby omitting the need to search the environment image library for matching with the second image. The process of the image, that is, the process of omitting the closed-loop detection of the second image, reduces the calculation amount of the scheduling equipment, and improves the positioning efficiency of the second robot at the fixed point of the team.
在本实施例中,针对组队行走的机器人车队在分队定点拆分为多个车队的情况,第一机器人为原机器人车队的队首机器人,第二机器人为拆分后新增的队首机器人,基于第一机器人在分队定点采集该第一图像时的状态参数,控制第二机器人在分队定点以相同的状态参数进行第二图像的采集,进而由第二机器人判断第一图像和第二图像的图像特征是否匹配,即判断第一机器人和第二机器人在分队定点的位姿是否一致,若一致,则将位姿一致消息反馈至调度设备,调度设备则直接基于第一目标图像进行第二机器人的定位,从而省略对第二机器人在分队定点进行闭环检测或图像匹配的步骤,减少了调度设备的运算开销,提高了机器人定位的效率。In this embodiment, for the situation where the robot convoy walking in teams is split into multiple convoys at fixed points, the first robot is the leader robot of the original robot convoy, and the second robot is the newly added leader robot after the split. , based on the state parameters of the first robot when collecting the first image at the fixed point of the team, the second robot is controlled to collect the second image with the same state parameters at the fixed point of the team, and then the second robot judges the first image and the second image Whether the image features match, that is, to judge whether the poses of the first robot and the second robot at the fixed point of the team are consistent. Robot positioning, thereby omitting the steps of closed-loop detection or image matching for the second robot at the fixed point of the team, reducing the computing overhead of the dispatching equipment, and improving the efficiency of robot positioning.
图6为本公开一个实施例提供的机器人定位装置的结构示意图,如图6所示,该机器人定位装置应用于调度设备,该装置包括:第一确定模块610、图像获取模块620、位姿判定模块630和图像继承第一模块640。FIG. 6 is a schematic structural diagram of a robot positioning device provided by an embodiment of the present disclosure. As shown in FIG. The
其中,第一确定模块610,用于根据第一机器人在分队定点采集的所述第一图像,从环境图像库中确定与所述第一图像匹配的第一目标图像;图像获取模块620,用于获取第二机器人在所述分队定点采集的第二图像;位姿判定模块630,用于根据所述第一图像和所述第二图像,判断所述第二机器人在所述分队定点的第一位姿与所述第一机器人在所述分队定点的第二位姿是否一致;图像继承第一模块640,用于若所述第一位姿与所述第二位姿一致,则根据所述第一目标图像进行所述第二机器人的定位,以更新所述环境图像库或进行所述第二机器人的导航;其中,所述第一机器人和所述第二机器人位于第一车队中,所述第一机器人为所述第一车队的队首机器人;在所述分队定点处所述第一车队拆分为第二车队和第三车队,所述第二车队的队首机器人为所述第一机器人,所述第三车队的队首机器人为所述第二机器人,所述第二车队和所述第三车队分别包括的机器人的数量至少为1个。Wherein, the
可选的,第一确定模块610,具体用于:Optionally, the first determining
基于闭环检测算法,根据所述第一图像,判断所述环境图像库中是否存在与所述第一图像匹配的环境图像;若所述环境图像库存在与所述第一图像匹配的环境图像,则闭环检测成功,将所匹配的环境图像确定为所述第一图像的第一目标图像。Based on the closed-loop detection algorithm, according to the first image, it is judged whether there is an environmental image matching the first image in the environmental image library; if there is an environmental image matching the first image in the environmental image library, Then the closed loop detection is successful, and the matched environment image is determined as the first target image of the first image.
可选的,所述装置还包括:Optionally, the device also includes:
位姿调整模块,用于若所述第一位姿与所述第二位姿不一致,根据所述第一位姿和所述第二位姿,调整所述第二机器人的位姿;第三图像获取模块,用于在所述第二机器人进行位姿调整的期间,获取所述第二机器人采集的至少一帧第三图像;位姿一致判断模块,用于判断是否存在至少一帧所述第三图像对应的所述第二机器人的第三位姿与所述第一位姿一致;图像继承第三模块,用于若存在至少一帧所述第三图像所对应的所述第二机器人的第三位姿与所述第一位姿一致,则根据所述第一目标图像进行所述第二机器人的定位,以更新所述环境图像库或进行所述第二机器人的导航。a pose adjustment module, configured to adjust the pose of the second robot according to the first pose and the second pose if the first pose is inconsistent with the second pose; the third The image acquisition module is used to acquire at least one frame of the third image collected by the second robot during the pose adjustment of the second robot; the pose consistency judgment module is used to judge whether there is at least one frame of the The third pose of the second robot corresponding to the third image is consistent with the first pose; the image inherits the third module, and is used for if there is at least one frame of the second robot corresponding to the third image If the third pose of the object is consistent with the first pose, the positioning of the second robot is performed according to the first target image, so as to update the environment image library or perform navigation of the second robot.
可选的,所述装置还包括:Optionally, the device also includes:
第二目标图像确定模块,用于若所述第一位姿与所述第二位姿不一致,根据所述第二图像,从所述环境图像库中确定与所述第二图像匹配的第二目标图像;第二机器人定位模块,用于根据所述第二目标图像进行所述第二机器人的定位。A second target image determining module, configured to determine a second object matching the second image from the environment image library according to the second image if the first pose is inconsistent with the second pose. Target image; a second robot positioning module, configured to perform positioning of the second robot according to the second target image.
可选的,所述装置还包括:Optionally, the device also includes:
传感器开启模块,用于当确定所述分队定点时,根据所述第二机器人在所述第三车队中的角色,确定所述第二机器人开启的传感器,其中,机器人在车队中的角色包括队首机器人、队尾机器人和队中机器人。A sensor activation module, configured to determine the sensor activated by the second robot according to the role of the second robot in the third convoy when determining the fixed point of the team, wherein the role of the robot in the convoy includes team Robots at the head of the team, robots at the end of the team, and robots in the team.
本公开实施例所提供的机器人定位装置可执行本公开图2或图4对应的实施例所提供的机器人定位方法,具备执行方法相应的功能模块和有益效果。The robot positioning device provided in the embodiment of the present disclosure can execute the robot positioning method provided in the embodiment corresponding to FIG. 2 or FIG. 4 of the present disclosure, and has corresponding functional modules and beneficial effects for executing the method.
图7为本公开另一个实施例提供的机器人定位装置的结构示意图,如图7所示,该机器人定位装置应用于调度设备,该装置包括:第二确定模块710、状态参数发送模块720和图像继承第二模块730。FIG. 7 is a schematic structural diagram of a robot positioning device provided by another embodiment of the present disclosure. As shown in FIG. Inherit the
其中,第二确定模块710,用于根据第一机器人在分队定点采集的第一图像,从环境图像库中确定与所述第一图像匹配的第一目标图像;状态参数发送模块720,用于获取所述第一机器人采集所述第一图像的状态参数,并将所述第一图像和所述状态参数发送至第二机器人,以控制所述第二机器人基于所述状态参数调整所述第二机器人的状态;其中,所述状态参数包括所述第一机器人采集所述第一图像时的第一位姿;图像继承第二模块730,用于当接收到所述第二机器人反馈的位姿一致消息时,根据所述第一目标图像进行所述第二机器人的定位,以更新所述环境图像库或进行所述第二机器人的导航;其中,所述位姿一致消息为所述第二机器人确定所述第二机器人在所述分队定点的位姿与所述第一位姿一致时生成的。Among them, the
可选的,第二确定模块710,具体用于:Optionally, the
基于闭环检测算法,根据所述第一图像,判断所述环境图像库中是否存在与所述第一图像匹配的环境图像;若所述环境图像库存在与所述第一图像匹配的环境图像,则闭环检测成功,将所匹配的环境图像确定为所述第一图像的第一目标图像。Based on the closed-loop detection algorithm, according to the first image, it is judged whether there is an environmental image matching the first image in the environmental image library; if there is an environmental image matching the first image in the environmental image library, Then the closed loop detection is successful, and the matched environment image is determined as the first target image of the first image.
可选的,所述状态参数还包括第一状态参数,所述第一状态参数用于描述所述第一机器人在所述分队定点采集所述第一图像时开启的传感器的位置参数;所述第一状态参数用于控制所述第二机器人开启所述第一状态参数中相应位置的传感器,以基于开启的各个传感器进行图像采集。Optionally, the state parameters further include a first state parameter, which is used to describe a position parameter of a sensor turned on by the first robot when the first image is captured at a fixed point of the team; The first state parameter is used to control the second robot to turn on the sensor at a corresponding position in the first state parameter, so as to perform image acquisition based on each turned on sensor.
本公开实施例所提供的机器人定位装置可执行本公开图5对应的实施例所提供的机器人定位方法,具备执行方法相应的功能模块和有益效果。The robot positioning device provided in the embodiment of the present disclosure can execute the robot positioning method provided in the embodiment corresponding to FIG. 5 of the present disclosure, and has corresponding functional modules and beneficial effects for executing the method.
图8为本公开一个实施例提供的调度设备的结构示意图,如图8所示,该调度设备包括:存储器810,处理器820以及计算机程序。FIG. 8 is a schematic structural diagram of a scheduling device provided by an embodiment of the present disclosure. As shown in FIG. 8 , the scheduling device includes: a
其中,计算机程序存储在存储器810中,并被配置为由处理器820执行以实现本公开图2、图4和图5所对应的实施例中任一实施例提供的机器人定位方法。Wherein, the computer program is stored in the
其中,存储器810和处理器820通过总线830连接。Wherein, the
相关说明可以对应参见图2、图4和图5的步骤所对应的相关描述和效果进行理解,此处不做过多赘述。Relevant descriptions can be understood by referring to the relevant descriptions and effects corresponding to the steps in FIG. 2 , FIG. 4 , and FIG. 5 , and details are not repeated here.
本公开实施例提供一种仓储系统,该仓储系统包括:图8对应的实施例提供的调度设备和机器人。An embodiment of the present disclosure provides a storage system, and the storage system includes: the scheduling device and the robot provided in the embodiment corresponding to FIG. 8 .
在一些实施例中,该仓储系统还包括存储货架,以存放货物或料箱。In some embodiments, the storage system further includes storage shelves for storing goods or material boxes.
在一些实施例中,该仓储系统还包括操作台以及卸料机、提升机、运输线等中转装置。机器人用于将货物或料箱搬运至操作台或与操作台连接的中转装置,以完成该操作台对应的订单。In some embodiments, the storage system further includes an operation platform and transfer devices such as an unloader, an elevator, and a transportation line. The robot is used to transport the goods or material boxes to the operation platform or the transfer device connected with the operation platform to complete the order corresponding to the operation platform.
本公开一个实施例提供一种计算机可读存储介质,其上存储有计算机程序,计算机程序被处理器执行以实现本公开图2、图4和图5所对应的实施例中任一实施例提供的机器人定位方法。An embodiment of the present disclosure provides a computer-readable storage medium on which a computer program is stored, and the computer program is executed by a processor to implement any of the embodiments corresponding to FIG. 2 , FIG. 4 and FIG. 5 of the present disclosure. robot localization method.
其中,计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。Among them, the computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device and the like.
本公开还提供一种程序产品,该程序产品包括可执行计算机程序,该可执行计算机程序存储在可读存储介质中。调度设备或仓储系统的至少一个处理器可以从可读存储介质读取该计算机程序,至少一个处理器执行该计算机程序使得机器人定位装置实施上述各种实施方式提供的机器人定位方法。The present disclosure also provides a program product including an executable computer program stored in a readable storage medium. At least one processor of the scheduling device or the storage system can read the computer program from the readable storage medium, and the at least one processor executes the computer program to make the robot positioning device implement the robot positioning method provided in the above-mentioned various embodiments.
在本公开所提供的几个实施例中,应该理解到,所揭露的设备和方法,可以通过其它的方式实现。例如,以上所描述的设备实施例仅仅是示意性的,例如,所述模块的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个模块可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或模块的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in the present disclosure, it should be understood that the disclosed devices and methods may be implemented in other ways. For example, the device embodiments described above are only illustrative. For example, the division of the modules is only a logical function division. In actual implementation, there may be other division methods, for example, multiple modules can be combined or integrated. to another system, or some features may be ignored, or not implemented. In another point, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or modules may be in electrical, mechanical or other forms.
所述作为分离部件说明的模块可以是或者也可以不是物理上分开的,作为模块显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部模块来实现本实施例方案的目的。The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the modules can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
另外,在本公开各个实施例中的各功能模块可以集成在一个处理单元中,也可以是各个模块单独物理存在,也可以两个或两个以上模块集成在一个单元中。上述模块成的单元既可以采用硬件的形式实现,也可以采用硬件加软件功能单元的形式实现。In addition, each functional module in each embodiment of the present disclosure may be integrated into one processing unit, each module may exist separately physically, or two or more modules may be integrated into one unit. The units formed by the above modules can be implemented in the form of hardware, or in the form of hardware plus software functional units.
上述以软件功能模块的形式实现的集成的模块,可以存储在一个计算机可读取存储介质中。上述软件功能模块存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)或处理器(英文:processor)执行本公开各个实施例所述方法的部分步骤。The above-mentioned integrated modules implemented in the form of software function modules can be stored in a computer-readable storage medium. The above-mentioned software function modules are stored in a storage medium, and include several instructions to enable a computer device (which may be a personal computer, server, or network device, etc.) or a processor (English: processor) to execute the functions described in various embodiments of the present disclosure. part of the method.
应理解,上述处理器可以是中央处理单元(Central Processing Unit,简称CPU),还可以是其他通用处理器、数字信号处理器(Digital Signal Processor,简称DSP)、专用集成电路(Application Specific Integrated Circuit,简称ASIC)等。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本公开所公开的方法的步骤可以直接体现为硬件处理器执行完成,或者用处理器中的硬件及软件模块组合执行完成。It should be understood that the above-mentioned processor may be a central processing unit (Central Processing Unit, referred to as CPU), and may also be other general-purpose processors, a digital signal processor (Digital Signal Processor, referred to as DSP), an application specific integrated circuit (Application Specific Integrated Circuit, referred to as ASIC) and so on. A general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like. The steps of the method disclosed in conjunction with the present disclosure may be directly implemented by a hardware processor, or implemented by a combination of hardware and software modules in the processor.
存储器可能包含高速RAM存储器,也可能还包括非易失性存储NVM,例如至少一个磁盘存储器,还可以为U盘、移动硬盘、只读存储器、磁盘或光盘等。The storage may include a high-speed RAM memory, and may also include a non-volatile storage NVM, such as at least one disk storage, and may also be a U disk, a mobile hard disk, a read-only memory, a magnetic disk, or an optical disk.
总线可以是工业标准体系结构(Industry Standard Architecture,简称ISA)总线、外部设备互连(Peripheral Component,简称PCI)总线或扩展工业标准体系结构(Extended Industry Standard Architecture,简称EISA)总线等。总线可以分为地址总线、数据总线、控制总线等。为便于表示,本公开附图中的总线并不限定仅有一根总线或一种类型的总线。The bus may be an Industry Standard Architecture (Industry Standard Architecture, ISA for short) bus, a Peripheral Component Interconnect (PCI for short) bus, or an Extended Industry Standard Architecture (EISA for short) bus. The bus can be divided into address bus, data bus, control bus and so on. For ease of representation, the buses in the drawings of the present disclosure are not limited to only one bus or one type of bus.
上述存储介质可以是由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。存储介质可以是通用或专用计算机能够存取的任何可用介质。The above-mentioned storage medium can be realized by any type of volatile or non-volatile storage device or their combination, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable In addition to programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于专用集成电路(Application Specific Integrated Circuits,简称ASIC)中。当然,处理器和存储介质也可以作为分立组件存在于电子设备或主控设备中。An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be a component of the processor. The processor and the storage medium may be located in application specific integrated circuits (Application Specific Integrated Circuits, ASIC for short). Of course, the processor and the storage medium can also exist in the electronic device or the main control device as discrete components.
本领域普通技术人员可以理解:实现上述各方法实施例的全部或部分步骤可以通过程序指令相关的硬件来完成。前述的程序可以存储于一计算机可读取存储介质中。该程序在执行时,执行包括上述各方法实施例的步骤;而前述的存储介质包括:ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。Those of ordinary skill in the art can understand that all or part of the steps for implementing the above method embodiments can be completed by program instructions and related hardware. The aforementioned program can be stored in a computer-readable storage medium. When the program is executed, it executes the steps including the above-mentioned method embodiments; and the aforementioned storage medium includes: ROM, RAM, magnetic disk or optical disk and other various media that can store program codes.
最后应说明的是:以上各实施例仅用以说明本公开的技术方案,而非对其限制;尽管参照前述各实施例对本公开进行了详细的说明,本领域的普通技术人员应当理解:其依然可以对前述各实施例所记载的技术方案进行修改,或者对其中部分或者全部技术特征进行等同替换;而这些修改或者替换,并不使相应技术方案的本质脱离本公开各实施例技术方案的范围。Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present disclosure, not to limit them; although the present disclosure has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that: It is still possible to modify the technical solutions described in the foregoing embodiments, or perform equivalent replacements for some or all of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the technical solutions of the various embodiments of the present disclosure. scope.
Claims (12)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111679672.6A CN116409565B (en) | 2021-12-31 | Robot localization methods, devices, scheduling equipment, media and program products |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202111679672.6A CN116409565B (en) | 2021-12-31 | Robot localization methods, devices, scheduling equipment, media and program products |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN116409565A true CN116409565A (en) | 2023-07-11 |
| CN116409565B CN116409565B (en) | 2026-02-13 |
Family
ID=
Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103900583A (en) * | 2012-12-25 | 2014-07-02 | 联想(北京)有限公司 | Device and method used for real-time positioning and map building |
| US20190375590A1 (en) * | 2018-06-08 | 2019-12-12 | Attabotics Inc. | Storage and Retrieval Systems Performing Internal Sortation by Orchestrated Navigation of Storage Grid Robots to Workstation Intake Points |
| CN111660290A (en) * | 2019-03-05 | 2020-09-15 | 波音公司 | Automatic calibration for robotic optical sensors |
| CN111745636A (en) * | 2019-05-15 | 2020-10-09 | 北京京东尚科信息技术有限公司 | Robot control method and control system, storage medium and electronic device |
| CN112097758A (en) * | 2019-06-18 | 2020-12-18 | 阿里巴巴集团控股有限公司 | Positioning method, device, robot positioning method and robot |
| CN112462769A (en) * | 2020-11-25 | 2021-03-09 | 深圳市优必选科技股份有限公司 | Robot positioning method and device, computer readable storage medium and robot |
| CN112462784A (en) * | 2020-12-03 | 2021-03-09 | 上海擎朗智能科技有限公司 | Robot pose determination method, device, equipment and medium |
| CN112634606A (en) * | 2020-12-21 | 2021-04-09 | 重庆交通大学 | Truck formation transportation scheduling method, scheduling system, medium and data processing terminal |
| CN112621753A (en) * | 2020-12-09 | 2021-04-09 | 浙江大华技术股份有限公司 | Robot positioning method, electronic device, and storage medium |
Patent Citations (9)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103900583A (en) * | 2012-12-25 | 2014-07-02 | 联想(北京)有限公司 | Device and method used for real-time positioning and map building |
| US20190375590A1 (en) * | 2018-06-08 | 2019-12-12 | Attabotics Inc. | Storage and Retrieval Systems Performing Internal Sortation by Orchestrated Navigation of Storage Grid Robots to Workstation Intake Points |
| CN111660290A (en) * | 2019-03-05 | 2020-09-15 | 波音公司 | Automatic calibration for robotic optical sensors |
| CN111745636A (en) * | 2019-05-15 | 2020-10-09 | 北京京东尚科信息技术有限公司 | Robot control method and control system, storage medium and electronic device |
| CN112097758A (en) * | 2019-06-18 | 2020-12-18 | 阿里巴巴集团控股有限公司 | Positioning method, device, robot positioning method and robot |
| CN112462769A (en) * | 2020-11-25 | 2021-03-09 | 深圳市优必选科技股份有限公司 | Robot positioning method and device, computer readable storage medium and robot |
| CN112462784A (en) * | 2020-12-03 | 2021-03-09 | 上海擎朗智能科技有限公司 | Robot pose determination method, device, equipment and medium |
| CN112621753A (en) * | 2020-12-09 | 2021-04-09 | 浙江大华技术股份有限公司 | Robot positioning method, electronic device, and storage medium |
| CN112634606A (en) * | 2020-12-21 | 2021-04-09 | 重庆交通大学 | Truck formation transportation scheduling method, scheduling system, medium and data processing terminal |
Non-Patent Citations (1)
| Title |
|---|
| 詹文强;陈绪兵;陈凯;王盛兴;余良伟;韩桂荣;: "基于深度相机的机器人室内定位技术研究", 信息通信, no. 01, 15 January 2016 (2016-01-15) * |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN113256716B (en) | A kind of robot control method and robot | |
| US11713977B2 (en) | Information processing apparatus, information processing method, and medium | |
| CN110587597B (en) | SLAM closed loop detection method and detection system based on laser radar | |
| CN112356027B (en) | Agricultural and forestry robot obstacle avoidance method, device, computer equipment and storage medium | |
| CN110246182A (en) | Vision-based global map positioning method, device, storage medium and device | |
| CN111986261B (en) | Vehicle positioning method and device, electronic equipment and storage medium | |
| US20210082145A1 (en) | Hybrid Metric-Topological Camera-Based Localization | |
| CN108885470A (en) | A task execution method, mobile device, system and storage medium | |
| CN113387099B (en) | Map construction method, device, equipment, storage system and storage medium | |
| WO2023015566A1 (en) | Control method, control device, movable platform, and storage medium | |
| US20240036586A1 (en) | Method for adding one or more anchor points to a map of an environment | |
| KR102892772B1 (en) | Method and apparatus for optimization of slam using point-line features | |
| CN111604898B (en) | Livestock retrieval method, robot, terminal equipment and storage medium | |
| CN117456508A (en) | A multi-obstacle target tracking method, system, equipment and medium in an outdoor environment | |
| WO2020019117A1 (en) | Localization method and apparatus, electronic device, and readable storage medium | |
| CN114859370A (en) | Positioning method and apparatus, computer apparatus, and computer-readable storage medium | |
| CN107450586B (en) | Method and system for adjusting air route and unmanned aerial vehicle system | |
| CN119759083A (en) | A UAV autonomous target search system and method based on large language model | |
| JP2021099384A (en) | Information processing apparatus, information processing method, and program | |
| CN114332627B (en) | Robot positioning, devices, scheduling equipment, storage media and program products | |
| CN116409565A (en) | Robot positioning method, device, dispatching equipment, medium and program product | |
| WO2022227632A1 (en) | Image-based trajectory planning method and motion control method, and mobile machine using same | |
| CN116409565B (en) | Robot localization methods, devices, scheduling equipment, media and program products | |
| CN114648598B (en) | Global map construction method and device | |
| KR102623536B1 (en) | Control system of autonomous driving mobility |
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 | ||
| GR01 | Patent grant |