[go: up one dir, main page]

CN110940994B - Positioning initialization method and system thereof - Google Patents

Positioning initialization method and system thereof Download PDF

Info

Publication number
CN110940994B
CN110940994B CN201811121022.8A CN201811121022A CN110940994B CN 110940994 B CN110940994 B CN 110940994B CN 201811121022 A CN201811121022 A CN 201811121022A CN 110940994 B CN110940994 B CN 110940994B
Authority
CN
China
Prior art keywords
point cloud
map
point
center point
laser
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.)
Active
Application number
CN201811121022.8A
Other languages
Chinese (zh)
Other versions
CN110940994A (en
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.)
Beijing Jingbangda Trade Co Ltd
Beijing Jingdong Qianshi Technology Co Ltd
Original Assignee
Beijing Jingdong Qianshi 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 Jingdong Qianshi Technology Co Ltd filed Critical Beijing Jingdong Qianshi Technology Co Ltd
Priority to CN201811121022.8A priority Critical patent/CN110940994B/en
Publication of CN110940994A publication Critical patent/CN110940994A/en
Application granted granted Critical
Publication of CN110940994B publication Critical patent/CN110940994B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01SRADIO DIRECTION-FINDING; RADIO NAVIGATION; DETERMINING DISTANCE OR VELOCITY BY USE OF RADIO WAVES; LOCATING OR PRESENCE-DETECTING BY USE OF THE REFLECTION OR RERADIATION OF RADIO WAVES; ANALOGOUS ARRANGEMENTS USING OTHER WAVES
    • G01S17/00Systems using the reflection or reradiation of electromagnetic waves other than radio waves, e.g. lidar systems
    • G01S17/88Lidar systems specially adapted for specific applications

Landscapes

  • Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Electromagnetism (AREA)
  • General Physics & Mathematics (AREA)
  • Radar, Positioning & Navigation (AREA)
  • Remote Sensing (AREA)
  • Traffic Control Systems (AREA)
  • Optical Radar Systems And Details Thereof (AREA)

Abstract

The present disclosure provides a positioning initialization method for positioning an initial position and an initial heading angle of an object, including: acquiring laser point clouds of the current environment of the object through a laser radar arranged on the object; dividing a plurality of blocks corresponding to a plurality of line segments obtained by dividing a predetermined moving line of an object based on a pre-constructed point cloud map, wherein different blocks correspond to different sub-map point clouds; a plurality of initial poses are formulated based on sub map point clouds corresponding to the plurality of blocks; and matching the laser point cloud with the plurality of planned initial poses to initialize the positioning of the object. The present disclosure also provides a positioning initialization system, a computer system, and a computer-readable storage medium.

Description

定位初始化方法及其系统Positioning initialization method and system

技术领域Technical Field

本公开涉及互联网技术领域,更具体地,涉及一种定位初始化方法及其系统以及一种计算机系统和计算机可读存储介质。The present disclosure relates to the field of Internet technology, and more specifically, to a positioning initialization method and system thereof, as well as a computer system and a computer-readable storage medium.

背景技术Background technique

近年来无人驾驶技术尤其是室外无人驾驶车在电商和外卖配送中占据了越来越重要的地位。激光雷达是无人驾驶车常用的比较鲁棒的定位技术。In recent years, driverless technology, especially outdoor driverless cars, has played an increasingly important role in e-commerce and food delivery. LiDAR is a relatively robust positioning technology commonly used in driverless cars.

而在实现本公开构思的过程中,发明人发现相关技术中至少存在如下问题:现有的激光雷达定位技术必须借助第三方如GPS卫星和磁罗盘才能完成定位初始化,在这种情况下,如果没有GPS信号或者GPS信号被建筑物遮挡,则会导致定位存在较大误差,而磁罗盘在室外易受干扰,因而也会导致定位存在较大误差。In the process of realizing the concept of the present disclosure, the inventors found that there are at least the following problems in the related technology: the existing lidar positioning technology must rely on a third party such as GPS satellites and magnetic compasses to complete positioning initialization. In this case, if there is no GPS signal or the GPS signal is blocked by a building, it will cause a large positioning error, and the magnetic compass is susceptible to interference outdoors, which will also cause a large positioning error.

发明内容Summary of the invention

有鉴于此,本公开提供了一种定位初始化方法及能够实现该方法的定位初始化系统以及一种计算机系统和计算机可读存储介质。In view of this, the present disclosure provides a positioning initialization method and a positioning initialization system capable of implementing the method, as well as a computer system and a computer-readable storage medium.

本公开的一个方面提供了一种定位初始化方法,用于定位对象的初始位置和初始航向角,包括:通过设置在上述对象上的激光雷达获取上述对象当前所处环境的激光点云;基于预先构建的点云地图分割出与通过划分上述对象的预定移动线路得到的多个线段对应的多个区块,其中,不同的区块对应于不同的子地图点云;基于与上述多个区块对应的子地图点云拟定多个初始位姿;以及将上述激光点云与拟定的上述多个初始位姿进行匹配,以对上述对象进行定位初始化。One aspect of the present disclosure provides a positioning initialization method for locating the initial position and initial heading angle of an object, comprising: acquiring a laser point cloud of the current environment of the object by means of a laser radar arranged on the object; segmenting a plurality of blocks corresponding to a plurality of line segments obtained by dividing a predetermined moving route of the object based on a pre-constructed point cloud map, wherein different blocks correspond to different sub-map point clouds; formulating a plurality of initial poses based on the sub-map point clouds corresponding to the plurality of blocks; and matching the laser point cloud with the plurality of proposed initial poses to perform positioning initialization on the object.

根据本公开的实施例,上述基于与上述多个区块对应的子地图点云拟定多个初始位姿,包括:基于与上述多个区块对应的子地图点云,确定每个区块的中心点;以及为每个中心点设置多个航向角,以拟定上述多个初始位姿。According to an embodiment of the present disclosure, the above-mentioned multiple initial postures are formulated based on the sub-map point clouds corresponding to the above-mentioned multiple blocks, including: determining the center point of each block based on the sub-map point clouds corresponding to the above-mentioned multiple blocks; and setting multiple heading angles for each center point to formulate the above-mentioned multiple initial postures.

根据本公开的实施例,上述基于预先构建的点云地图分割出与通过划分上述对象的预定移动线路得到的多个线段对应的多个区块,包括:获取上述点云地图以及上述预定移动线路;将上述预定移动线路分割成多个线段;确定上述多个线段中每个线段的中心点;以及基于每个中心点将上述点云地图的点云进行分割得到对应的区块。According to an embodiment of the present disclosure, the above-mentioned method of segmenting a plurality of blocks corresponding to a plurality of line segments obtained by dividing the predetermined moving route of the above-mentioned object based on a pre-constructed point cloud map includes: acquiring the above-mentioned point cloud map and the above-mentioned predetermined moving route; segmenting the above-mentioned predetermined moving route into a plurality of line segments; determining the center point of each of the above-mentioned plurality of line segments; and segmenting the point cloud of the above-mentioned point cloud map based on each center point to obtain corresponding blocks.

根据本公开的实施例,上述基于每个中心点将上述点云地图的点云进行分割得到对应的区块,包括:针对每个中心点将上述点云地图的点云中与该中心点之间的距离小于第一阈值的点分割到一个区块内。According to an embodiment of the present disclosure, the point cloud of the point cloud map is segmented based on each center point to obtain corresponding blocks, including: for each center point, the points in the point cloud of the point cloud map whose distance from the center point is less than a first threshold are segmented into a block.

根据本公开的实施例,上述针对每个中心点将上述点云地图的点云中与该中心点之间的距离小于第一阈值的点分割到一个区块内,包括:将上述点云地图的点云划分为线特征点云和面特征点云;针对每个中心点将上述线特征点云中与该中心点之间的距离小于上述第一阈值的点分割到一个区块内;以及针对每个中心点将上述面特征点云中与该中心点之间的距离小于上述第一阈值的点也分割到该区块内;上述将上述激光点云与拟定的上述多个初始位姿进行匹配,包括:将上述激光点云划分为线特征激光点云和面特征激光点云;以及分别将上述线特征激光点云和上述面特征激光点云与拟定的上述多个初始位姿进行匹配。According to an embodiment of the present disclosure, for each center point, the points in the point cloud of the point cloud map whose distance from the center point is less than a first threshold are divided into a block, including: dividing the point cloud of the point cloud map into a line feature point cloud and a surface feature point cloud; for each center point, the points in the line feature point cloud whose distance from the center point is less than the first threshold are divided into a block; and for each center point, the points in the surface feature point cloud whose distance from the center point is less than the first threshold are also divided into the block; the matching of the laser point cloud with the proposed multiple initial poses includes: dividing the laser point cloud into a line feature laser point cloud and a surface feature laser point cloud; and matching the line feature laser point cloud and the surface feature laser point cloud with the proposed multiple initial poses, respectively.

本公开的另一个方面提供了一种定位初始化系统,用于定位对象的初始位置和初始航向角,包括:获取模块,用于通过设置在上述对象上的激光雷达获取上述对象当前所处环境的激光点云;分割模块,用于基于预先构建的点云地图分割出与通过划分上述对象的预定移动线路得到的多个线段对应的多个区块,其中,不同的区块对应于不同的子地图点云;拟定模块,用于基于与上述多个区块对应的子地图点云拟定多个初始位姿;以及匹配模块,用于将上述激光点云与拟定的上述多个初始位姿进行匹配,以对上述对象进行定位初始化。Another aspect of the present disclosure provides a positioning initialization system for locating the initial position and initial heading angle of an object, including: an acquisition module, used to acquire a laser point cloud of the current environment of the object through a laser radar set on the object; a segmentation module, used to segment a plurality of blocks corresponding to a plurality of line segments obtained by dividing a predetermined moving route of the object based on a pre-constructed point cloud map, wherein different blocks correspond to different sub-map point clouds; a formulation module, used to formulate a plurality of initial poses based on the sub-map point clouds corresponding to the plurality of blocks; and a matching module, used to match the laser point cloud with the proposed plurality of initial poses to perform positioning initialization on the object.

根据本公开的实施例,上述拟定模块包括:第一确定单元,用于基于与上述多个区块对应的子地图点云,确定每个区块的中心点;以及设置单元,用于为每个中心点设置多个航向角,以拟定上述多个初始位姿。According to an embodiment of the present disclosure, the above-mentioned drafting module includes: a first determination unit, used to determine the center point of each block based on the sub-map point cloud corresponding to the above-mentioned multiple blocks; and a setting unit, used to set multiple heading angles for each center point to draft the above-mentioned multiple initial postures.

根据本公开的实施例,上述分割模块包括:获取单元,用于获取上述点云地图以及上述预定移动线路;第一分割单元,用于将上述预定移动线路分割成多个线段;第二确定单元,用于确定上述多个线段中每个线段的中心点;以及第二分割单元,用于基于每个中心点将上述点云地图的点云进行分割得到对应的区块。According to an embodiment of the present disclosure, the above-mentioned segmentation module includes: an acquisition unit, used to acquire the above-mentioned point cloud map and the above-mentioned predetermined moving route; a first segmentation unit, used to segment the above-mentioned predetermined moving route into multiple line segments; a second determination unit, used to determine the center point of each of the above-mentioned multiple line segments; and a second segmentation unit, used to segment the point cloud of the above-mentioned point cloud map based on each center point to obtain corresponding blocks.

根据本公开的实施例,上述第二分割单元还用于:针对每个中心点将上述点云地图的点云中与该中心点之间的距离小于第一阈值的点分割到一个区块内。According to an embodiment of the present disclosure, the second segmentation unit is further used to: for each center point, segment the points in the point cloud of the point cloud map whose distance from the center point is less than a first threshold into a block.

根据本公开的实施例,上述第二分割单元包括:划分子单元,用于将上述点云地图的点云划分为线特征点云和面特征点云;第一分割子单元,用于针对每个中心点将上述线特征点云中与该中心点之间的距离小于上述第一阈值的点分割到一个区块内;以及第二分割子单元,用于针对每个中心点将上述面特征点云中与该中心点之间的距离小于上述第一阈值的点也分割到该区块内;上述匹配模块包括:划分单元,用于将上述激光点云划分为线特征激光点云和面特征激光点云;以及匹配单元,用于分别将上述线特征激光点云和上述面特征激光点云与拟定的上述多个初始位姿进行匹配。According to an embodiment of the present disclosure, the above-mentioned second segmentation unit includes: a division subunit, used to divide the point cloud of the above-mentioned point cloud map into line feature point cloud and surface feature point cloud; a first segmentation subunit, used to segment the points in the above-mentioned line feature point cloud whose distance from the center point is less than the above-mentioned first threshold into a block for each center point; and a second segmentation subunit, used to segment the points in the above-mentioned surface feature point cloud whose distance from the center point is less than the above-mentioned first threshold into the block for each center point; the above-mentioned matching module includes: a division unit, used to divide the above-mentioned laser point cloud into line feature laser point cloud and surface feature laser point cloud; and a matching unit, used to respectively match the above-mentioned line feature laser point cloud and the above-mentioned surface feature laser point cloud with the above-mentioned multiple proposed initial poses.

本公开的另一方面提供了一种计算机系统,包括:一个或多个处理器;存储器,用于存储一个或多个程序,其中,当上述一个或多个程序被上述一个或多个处理器执行时,使得上述一个或多个处理器如上所述的方法。Another aspect of the present disclosure provides a computer system, including: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors perform the method described above.

本公开的另一方面提供了一种非易失性存储介质,存储有计算机可执行指令,上述指令在被执行时用于实现如上所述的方法。Another aspect of the present disclosure provides a non-volatile storage medium storing computer executable instructions, which are used to implement the above method when executed.

本公开的另一方面提供了一种计算机程序,上述计算机程序包括计算机可执行指令,上述指令在被执行时用于实现如上所述的方法。Another aspect of the present disclosure provides a computer program, wherein the computer program includes computer executable instructions, and the instructions are used to implement the above method when executed.

根据本公开的实施例,因为采用了根据对象的预定移动线路拟定多个初始位姿进行定位初始化的技术手段,所以至少部分地克服了现有的定位初始化需要借助于第三方,由于没有GPS信号或者GPS信号被遮挡或者磁罗盘受干扰等而导致定位初始化误差较大的缺陷技术问题,进而达到了无需借助于第三方,且定位初始化误差较小的技术效果。According to the embodiments of the present disclosure, since a technical means is adopted to prepare multiple initial postures according to the predetermined moving route of the object for positioning initialization, it at least partially overcomes the technical problems that the existing positioning initialization needs to rely on a third party, and the positioning initialization error is large due to the absence of GPS signal or the GPS signal is blocked or the magnetic compass is interfered with, thereby achieving the technical effect of not needing the help of a third party and with a small positioning initialization error.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

通过以下参照附图对本公开实施例的描述,本公开的上述以及其他目的、特征和优点将更为清楚,在附图中:The above and other objects, features and advantages of the present disclosure will become more apparent through the following description of the embodiments of the present disclosure with reference to the accompanying drawings, in which:

图1示意性示出了可以应用本公开的定位初始化方法及其系统的示例性系统架构;FIG1 schematically shows an exemplary system architecture to which the positioning initialization method and system of the present disclosure can be applied;

图2示意性示出了根据本公开实施例的定位初始化方法的流程图;FIG2 schematically shows a flow chart of a positioning initialization method according to an embodiment of the present disclosure;

图3示意性示出了根据本公开实施例的定位初始化方法的应用场景;FIG3 schematically shows an application scenario of a positioning initialization method according to an embodiment of the present disclosure;

图4示意性示出了根据本公开另一实施例的定位初始化方法的应用场景;FIG4 schematically shows an application scenario of a positioning initialization method according to another embodiment of the present disclosure;

图5示意性示出了根据本公开实施例的拟定初始位姿的流程图;FIG5 schematically shows a flow chart of preparing an initial posture according to an embodiment of the present disclosure;

图6示意性示出了根据本公开实施例的分割区块的示意图;FIG6 schematically shows a schematic diagram of segmenting blocks according to an embodiment of the present disclosure;

图7示意性示出了根据本公开实施例的定位初始化系统的框图;FIG7 schematically shows a block diagram of a positioning initialization system according to an embodiment of the present disclosure;

图8示意性示出了根据本公开实施例的拟定模块的框图;FIG8 schematically shows a block diagram of a proposed module according to an embodiment of the present disclosure;

图9示意性示出了根据本公开实施例的分割模块的框图;以及FIG9 schematically shows a block diagram of a segmentation module according to an embodiment of the present disclosure; and

图10示意性示出了根据本公开实施例的适于实现定位初始化方法的计算机系统的框图。FIG. 10 schematically shows a block diagram of a computer system suitable for implementing a positioning initialization method according to an embodiment of the present disclosure.

具体实施方式Detailed ways

以下,将参照附图来描述本公开的实施例。但是应该理解,这些描述只是示例性的,而并非要限制本公开的范围。在下面的详细描述中,为便于解释,阐述了许多具体的细节以提供对本公开实施例的全面理解。然而,明显地,一个或多个实施例在没有这些具体细节的情况下也可以被实施。此外,在以下说明中,省略了对公知结构和技术的描述,以避免不必要地混淆本公开的概念。Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.

在此使用的术语仅仅是为了描述具体实施例,而并非意在限制本公开。在此使用的术语“包括”、“包含”等表明了所述特征、步骤、操作和/或部件的存在,但是并不排除存在或添加一个或多个其他特征、步骤、操作或部件。The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "include", "comprising", etc. used herein indicate the existence of the features, steps, operations and/or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.

在此使用的所有术语(包括技术和科学术语)具有本领域技术人员通常所理解的含义,除非另外定义。应注意,这里使用的术语应解释为具有与本说明书的上下文相一致的含义,而不应以理想化或过于刻板的方式来解释。All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.

在使用类似于“A、B和C等中至少一个”这样的表述的情况下,一般来说应该按照本领域技术人员通常理解该表述的含义来予以解释(例如,“具有A、B和C中至少一个的系统”应包括但不限于单独具有A、单独具有B、单独具有C、具有A和B、具有A和C、具有B和C、和/或具有A、B、C的系统等)。在使用类似于“A、B或C等中至少一个”这样的表述的情况下,一般来说应该按照本领域技术人员通常理解该表述的含义来予以解释(例如,“具有A、B或C中至少一个的系统”应包括但不限于单独具有A、单独具有B、单独具有C、具有A和B、具有A和C、具有B和C、和/或具有A、B、C的系统等)。本领域技术人员还应理解,实质上任意表示两个或更多可选项目的转折连词和/或短语,无论是在说明书、权利要求书还是附图中,都应被理解为给出了包括这些项目之一、这些项目任一方、或两个项目的可能性。例如,短语“A或B”应当被理解为包括“A”或“B”、或“A和B”的可能性。In the case of using expressions such as "at least one of A, B, and C, etc.", it should generally be interpreted according to the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but not be limited to systems having A alone, B alone, C alone, A and B, A and C, B and C, and/or A, B, C, etc.). In the case of using expressions such as "at least one of A, B, or C, etc.", it should generally be interpreted according to the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, or C" should include but not be limited to systems having A alone, B alone, C alone, A and B, A and C, B and C, and/or A, B, C, etc.). Those skilled in the art should also understand that any transitional conjunctions and/or phrases that substantially represent two or more optional items, whether in the specification, claims, or drawings, should be understood to give the possibility of including one of these items, either of these items, or both items. For example, the phrase "A or B" should be understood to include the possibility of "A" or "B", or "A and B".

本公开的实施例提供了一种定位初始化方法以及能够实现该方法的定位初始化系统。该方法包括通过设置在对象上的激光雷达获取对象当前所处环境的激光点云;基于点云地图分割出与对象的预定移动线路对应的多个区块,其中,不同的区块对应于不同的子地图点云;基于与多个区块对应的子地图点云拟定多个初始位姿;以及将激光点云与拟定的多个初始位姿进行匹配,以对对象进行定位初始化。The embodiments of the present disclosure provide a positioning initialization method and a positioning initialization system capable of implementing the method. The method includes obtaining a laser point cloud of the current environment of the object through a laser radar set on the object; segmenting a plurality of blocks corresponding to the predetermined movement route of the object based on the point cloud map, wherein different blocks correspond to different sub-map point clouds; formulating a plurality of initial poses based on the sub-map point clouds corresponding to the plurality of blocks; and matching the laser point cloud with the proposed plurality of initial poses to perform positioning initialization on the object.

图1示意性示出了可以应用本公开的定位初始化方法及其系统的示例性系统架构。需要注意的是,图1所示仅为可以应用本公开实施例的系统架构的示例,以帮助本领域技术人员理解本公开的技术内容,但并不意味着本公开实施例不可以用于其他设备、系统、环境或场景。FIG1 schematically shows an exemplary system architecture to which the positioning initialization method and system of the present disclosure can be applied. It should be noted that FIG1 is only an example of a system architecture to which the present disclosure embodiment can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but does not mean that the present disclosure embodiment cannot be used in other devices, systems, environments or scenarios.

如图1所示,根据该实施例的系统架构可以包括终端设备101、102、103,网络104和服务器105以及可移动装置106(如无人驾驶车)。网络104用以在终端设备101、102、103和服务器105之间,以及终端设备101、102、103和可移动装置106,以及服务器105和可移动装置106之间提供通信链路的介质。网络104可以包括各种连接类型,例如有线和/或无线通信链路等等。As shown in FIG1 , the system architecture according to this embodiment may include terminal devices 101, 102, 103, a network 104, a server 105, and a mobile device 106 (such as an unmanned vehicle). The network 104 is used to provide a medium for communication links between the terminal devices 101, 102, 103 and the server 105, between the terminal devices 101, 102, 103 and the mobile device 106, and between the server 105 and the mobile device 106. The network 104 may include various connection types, such as wired and/or wireless communication links, etc.

用户可以使用终端设备101、102、103通过网络104与服务器105交互,以接收或发送消息等。终端设备101、102、103上可以安装有各种通讯客户端应用。The user can use the terminal devices 101, 102, 103 to interact with the server 105 through the network 104 to receive or send messages, etc. Various communication client applications can be installed on the terminal devices 101, 102, 103.

终端设备101、102、103可以是具有显示屏的各种电子设备,包括但不限于智能手机、平板电脑、膝上型便携计算机和台式计算机等等。The terminal devices 101 , 102 , and 103 may be various electronic devices with display screens, including but not limited to smart phones, tablet computers, laptop computers, desktop computers, and the like.

服务器105可以是提供各种服务的服务器,例如对用户利用终端设备101、102、103进行工作时提供支持的后台管理服务器(仅为示例)。后台管理服务器可以对接收到的用户请求等数据进行分析等处理,并将处理结果(例如根据用户请求获取或生成的网页、信息、或数据等)反馈给终端设备。The server 105 may be a server that provides various services, such as a background management server (only an example) that provides support for users to work with the terminal devices 101, 102, and 103. The background management server may analyze and process the received data such as user requests, and feed back the processing results (such as web pages, information, or data obtained or generated according to user requests) to the terminal device.

需要说明的是,本公开实施例所提供的定位初始化方法一般可以由服务器105执行。相应地,本公开实施例所提供的定位初始化系统一般可以设置于服务器105中。本公开实施例所提供的定位初始化方法也可以由不同于服务器105且能够与终端设备101、102、103和/或服务器105通信的服务器或服务器集群执行。相应地,本公开实施例所提供的定位初始化系统也可以设置于不同于服务器105且能够与终端设备101、102、103和/或服务器105通信的服务器或服务器集群中。或者,本公开实施例所提供的定位初始化方法也可以由终端设备101、102、或103执行,或者也可以由不同于终端设备101、102、或103的其他终端设备执行。相应地,本公开实施例所提供的定位初始化系统也可以设置于终端设备101、102、或103中,或设置于不同于终端设备101、102、或103的其他终端设备中。It should be noted that the positioning initialization method provided in the embodiment of the present disclosure can generally be executed by the server 105. Accordingly, the positioning initialization system provided in the embodiment of the present disclosure can generally be set in the server 105. The positioning initialization method provided in the embodiment of the present disclosure can also be executed by a server or server cluster that is different from the server 105 and can communicate with the terminal device 101, 102, 103 and/or the server 105. Accordingly, the positioning initialization system provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 105 and can communicate with the terminal device 101, 102, 103 and/or the server 105. Alternatively, the positioning initialization method provided in the embodiment of the present disclosure can also be executed by the terminal device 101, 102, or 103, or it can also be executed by other terminal devices different from the terminal device 101, 102, or 103. Accordingly, the positioning initialization system provided in the embodiment of the present disclosure can also be set in the terminal device 101, 102, or 103, or it can be set in other terminal devices different from the terminal device 101, 102, or 103.

应该理解,图1中的终端设备、网络和服务器的数目仅仅是示意性的。根据实现需要,可以具有任意数目的终端设备、网络和服务器。It should be understood that the number of terminal devices, networks and servers in Figure 1 is only illustrative. Any number of terminal devices, networks and servers may be provided according to implementation requirements.

图2示意性示出了根据本公开实施例的定位初始化方法的流程图。FIG2 schematically shows a flow chart of a positioning initialization method according to an embodiment of the present disclosure.

如图2所示,该方法,用于定位对象的初始位置和初始航向角,包括操作S201~S204。As shown in FIG. 2 , the method for locating the initial position and initial heading angle of an object includes operations S201 to S204 .

在操作S201,通过设置在对象上的激光雷达获取该对象当前所处环境的激光点云。In operation S201 , a laser point cloud of an environment in which the object is currently located is acquired by using a laser radar disposed on the object.

在本公开实施例中,对象可以包括但不限于无人驾驶车(也称为无人车),其应用领域可以包括作为无人配送车应用于电商和外卖等领域。以下将以无人车为例详细阐述本公开。In the embodiments of the present disclosure, the object may include but is not limited to an unmanned vehicle (also referred to as an unmanned vehicle), and its application fields may include being used as an unmanned delivery vehicle in the fields of e-commerce and food delivery. The present disclosure will be described in detail below using an unmanned vehicle as an example.

此外,激光雷达使用的技术是飞行时间(TOF,time of flight)。具体而言,就是根据激光遇到障碍物后的折返时间,计算目标与自己的相对距离。激光光束可以准确测量视场中物体轮廓边沿与设备间的相对距离,这些轮廓信息组成所谓的点云并绘制出3D环境地图,精度可达到厘米级别,从而可以提高测量精度。激光雷达还具有独特的优点,如极高的距离分辨率和角分辨率、速度分辨率高、测速范围广、能获得目标的多种图像、抗干扰能力强等。这使得激光雷达能精确测量目标位置(距离和角度)、运动状态(速度、振动和姿态)和形状、探测、识别、分辨和跟踪目标。In addition, the technology used by LiDAR is time of flight (TOF). Specifically, it calculates the relative distance between the target and itself based on the return time after the laser encounters an obstacle. The laser beam can accurately measure the relative distance between the edge of the object contour in the field of view and the device. These contour information constitute the so-called point cloud and draw a 3D environmental map with an accuracy of centimeters, thereby improving the measurement accuracy. LiDAR also has unique advantages, such as extremely high distance resolution and angular resolution, high speed resolution, wide speed measurement range, ability to obtain multiple images of the target, and strong anti-interference ability. This enables LiDAR to accurately measure the target position (distance and angle), motion state (speed, vibration and posture) and shape, detect, identify, distinguish and track targets.

以无人车为例,在定位初始化过程中,首先会通过激光雷达对无人车周围环境(包括树木和建筑物等)进行激光扫描,从而得到对应的激光点云。Taking unmanned vehicles as an example, during the positioning initialization process, the laser radar will first be used to perform a laser scan of the unmanned vehicle's surrounding environment (including trees and buildings, etc.) to obtain the corresponding laser point cloud.

在操作S202,基于预先构建的点云地图分割出与通过划分该对象的预定移动线路得到的多个线段对应的多个区块,其中,不同的区块对应于不同的子地图点云。In operation S202, a plurality of blocks corresponding to a plurality of line segments obtained by dividing a predetermined moving route of the object are segmented based on a pre-constructed point cloud map, wherein different blocks correspond to different sub-map point clouds.

在本公开实施例中,基于激光雷达在特定场景中定位,会预先构建场景的三维点云地图。In the disclosed embodiment, based on the positioning of the laser radar in a specific scene, a three-dimensional point cloud map of the scene is pre-constructed.

在操作S203,基于与该多个区块对应的子地图点云拟定多个初始位姿。In operation S203 , a plurality of initial poses are prepared based on the sub-map point clouds corresponding to the plurality of blocks.

在本公开实施例中,初始位姿可以包括初始位置和初始航向角。In the embodiment of the present disclosure, the initial posture may include an initial position and an initial heading angle.

以无人车为例,如图3所示,假设无人车本次承担的配送任务是将某货品从A地运送至B地,那么实施时就可以将路段AB分为多个区块,并从每个区块对应的点云中选出对应的点,进而确定各点的坐标位置,并以此作为拟定的初始位置。并且,由于AB路段没有拐点,因此对于每个初始位置而言,可以将去程对应的航向角设置为0°,将返程对应的航向角设置为180°。Take the unmanned vehicle as an example, as shown in Figure 3, assuming that the delivery task undertaken by the unmanned vehicle this time is to deliver a certain product from place A to place B, then during implementation, the road section AB can be divided into multiple blocks, and the corresponding points can be selected from the point cloud corresponding to each block, and then the coordinate position of each point can be determined, and this can be used as the proposed initial position. In addition, since there is no turning point in the AB section, for each initial position, the heading angle corresponding to the outbound trip can be set to 0°, and the heading angle corresponding to the return trip can be set to 180°.

此外,假设无人车本次承担的配送任务是将某货品从A地运送至B地,且AB路段存在拐点C,因此对于AC路段中的每个初始位置而言,可以将去程对应的航向角设置为0°,将返程对应的航向角设置为180°,而对于CB路段中的每个初始位置而言,可以将去程对应的航向角设置为C到B方向对应的角度,将返程对应的航向角设置为B到C方向对应的角度。In addition, assuming that the delivery task undertaken by the unmanned vehicle this time is to transport a certain product from place A to place B, and there is a turning point C in the AB section, therefore, for each initial position in the AC section, the heading angle corresponding to the outbound trip can be set to 0°, and the heading angle corresponding to the return trip can be set to 180°, and for each initial position in the CB section, the heading angle corresponding to the outbound trip can be set to the angle corresponding to the direction from C to B, and the heading angle corresponding to the return trip can be set to the angle corresponding to the direction from B to C.

在操作S204,将该激光点云与拟定的该多个初始位姿进行匹配,以对该对象进行定位初始化。In operation S204, the laser point cloud is matched with the proposed multiple initial poses to initialize the positioning of the object.

具体地,以无人车为例,将激光点云与每个拟定的初始位姿进行ICP匹配(即迭代最近点匹配)时,在固定迭代次数n次内,如果最终ICP增量更新小于预定阈值时认为完成了ICP迭代,则此时的位姿累积为无人车的初始位姿;相反,如国最终ICP增量更新大于该预定阈值时认为初始化失败,尝试与下一个初始位置和初始航向角进行匹配,直到满足小于阈值为止。如果都不能满足,则说明初始化失败。Specifically, taking the unmanned vehicle as an example, when the laser point cloud is matched with each proposed initial pose by ICP (i.e., iterative closest point matching), within a fixed number of iterations n, if the final ICP incremental update is less than the predetermined threshold, the ICP iteration is considered to be completed, and the pose at this time is accumulated as the initial pose of the unmanned vehicle; on the contrary, if the final ICP incremental update is greater than the predetermined threshold, the initialization is considered to have failed, and an attempt is made to match the next initial position and initial heading angle until they meet the threshold. If none of them can be met, it means that the initialization has failed.

需要说明的是,当完成定位初始化后,在初始化结果的基础上,可以使后续定位过程更加快速。It should be noted that after the positioning initialization is completed, the subsequent positioning process can be made faster based on the initialization result.

此外,本公开提供的基于点云地图的定位初始化方案,主要包括硬件层、数据层、算法层,硬件层主要包括激光雷达模块和主处理器模块;数据层主要包括点云数据、点云地图(包括线特征地图和面特征地图)、算法层主要通过全局定位初始化在点云地图的基础上完成对无人车的定位初始化。In addition, the positioning initialization solution based on the point cloud map provided by the present invention mainly includes a hardware layer, a data layer, and an algorithm layer. The hardware layer mainly includes a lidar module and a main processor module; the data layer mainly includes point cloud data, point cloud maps (including line feature maps and surface feature maps), and the algorithm layer mainly completes the positioning initialization of the unmanned vehicle based on the point cloud map through global positioning initialization.

与现有技术中利用激光雷达定位必须借助第三方如GPS卫星和磁罗盘提供的初始位姿才能完成定位初始化,导致存在较大误差相比,通过本公开实施例,因为采用了根据对象的预定移动线路拟定多个初始位姿进行定位初始化的技术手段,所以至少部分地克服了现有的定位初始化需要借助于第三方,由于没有GPS信号或者GPS信号被遮挡或者磁罗盘受干扰等而导致定位初始化误差较大的缺陷技术问题,进而达到了无需借助于第三方,且定位初始化误差较小的技术效果。Compared with the prior art that uses laser radar positioning, it must rely on the initial posture provided by a third party such as GPS satellites and magnetic compasses to complete positioning initialization, resulting in large errors. According to the embodiments of the present disclosure, because a technical means is adopted to prepare multiple initial postures according to the predetermined moving route of the object for positioning initialization, it at least partially overcomes the technical problems of the prior art that positioning initialization requires the help of a third party, and the positioning initialization error is large due to the lack of GPS signal or the GPS signal is blocked or the magnetic compass is interfered with, thereby achieving the technical effect of not requiring the help of a third party and with a small positioning initialization error.

下面参考图4~图6,结合具体实施例对图2所示的方法做进一步说明。The method shown in FIG. 2 will be further described below with reference to FIG. 4 to FIG. 6 in combination with specific embodiments.

除了图3示出的应用场景外,通常情况下无人车的预定移动线路一般都没那么规则。例如,图4示意性示出了根据本公开另一实施例的定位初始化方法的应用场景。如图4所示,AB路段弯弯曲曲,此时如果按照上述实施例所述的规则为每个初始位置设定一个或者几个初始航向角,则极有可能导致定位初始化不准确,甚至导致定位初始化失败。In addition to the application scenario shown in FIG3, the scheduled moving routes of unmanned vehicles are generally not so regular. For example, FIG4 schematically shows an application scenario of a positioning initialization method according to another embodiment of the present disclosure. As shown in FIG4, the AB section is winding. At this time, if one or several initial heading angles are set for each initial position according to the rules described in the above embodiment, it is very likely to cause inaccurate positioning initialization or even cause positioning initialization failure.

为了克服上述缺陷,图5示意性示出了根据本公开实施例的拟定初始位姿的流程图。In order to overcome the above-mentioned defects, FIG5 schematically shows a flow chart of preparing an initial posture according to an embodiment of the present disclosure.

作为一种可选的实施例,如图5所示,操作S203基于与多个区块对应的子地图点云拟定多个初始位姿包括操作S501和S502,其中:As an optional embodiment, as shown in FIG5 , operation S203 of formulating a plurality of initial poses based on the sub-map point clouds corresponding to the plurality of blocks includes operations S501 and S502, wherein:

在操作S501,基于与多个区块对应的子地图点云,确定每个区块的中心点。In operation S501 , based on sub-map point clouds corresponding to a plurality of blocks, a center point of each block is determined.

其中,确定每个区块的中心点包括但不限于将每个区块的几何中心作为对应区块的中心点。Determining the center point of each block includes but is not limited to taking the geometric center of each block as the center point of the corresponding block.

在操作S502,为每个中心点设置多个航向角,以拟定多个初始位姿。In operation S502, a plurality of heading angles are set for each center point to prepare a plurality of initial postures.

例如,遍历所有的区块,将每个区块的中心P[i]分别拟定为激光雷达的初始位置,将0°、30°、60°、90°、120°、150°、180°、210°、240°、270°、300°、330°(即每间隔30°)分别作为每个初始位置的一组初始航向角,利用初始位置和这些初始航向角进行ICP匹配,进而求出每次ICP迭代的增量。For example, all blocks are traversed, and the center P[i] of each block is set as the initial position of the lidar. 0°, 30°, 60°, 90°, 120°, 150°, 180°, 210°, 240°, 270°, 300°, and 330° (i.e., every 30°) are used as a set of initial heading angles for each initial position. The initial position and these initial heading angles are used for ICP matching, and the increment of each ICP iteration is then calculated.

通过本公开实施例,为每个中心点即每个初始位置设置多个初始航向角,能够更精确地定位对象的初始位姿。Through the embodiments of the present disclosure, a plurality of initial heading angles are set for each center point, that is, each initial position, so that the initial posture of the object can be located more accurately.

作为一种可选的实施例,基于预先构建的点云地图分割出与通过划分对象的预定移动线路得到的多个线段对应的多个区块包括:获取点云地图以及预定移动线路;将预定移动线路分割成多个线段;确定多个线段中每个线段的中心点;以及基于每个中心点将点云地图的点云进行分割得到对应的区块。As an optional embodiment, segmenting a plurality of blocks corresponding to a plurality of line segments obtained by dividing a predetermined moving route of an object based on a pre-constructed point cloud map includes: acquiring a point cloud map and a predetermined moving route; segmenting the predetermined moving route into a plurality of line segments; determining a center point of each of the plurality of line segments; and segmenting the point cloud of the point cloud map based on each center point to obtain corresponding blocks.

例如,图6示意性示出了根据本公开实施例的分割区块的示意图,如图6所示,假设点云地图中的线路L是无人车本次预定移动线路,则在区块分割时,可以将线路L按照长度k均分为m段,每段长度ΔL为平均长度=总长度/总段数,即,ΔL=k/m,m为正整数,此外,每个线段的中心点为其几何中心,如图O1,O2,O3,O4,O5,……。如图6所示,m=8,两个小黑点之间为一段,每一段上的大黑点表示该段的中心。For example, FIG6 schematically shows a schematic diagram of segmenting blocks according to an embodiment of the present disclosure. As shown in FIG6 , assuming that the route L in the point cloud map is the scheduled moving route of the unmanned vehicle this time, when segmenting the blocks, the route L can be divided into m segments according to the length k, and the length of each segment ΔL is the average length = total length / total number of segments, that is, ΔL = k / m, m is a positive integer, and in addition, the center point of each line segment is its geometric center, as shown in FIGO 1 , O 2 , O 3 , O 4 , O 5 , ... As shown in FIG6 , m = 8, a segment is formed between two small black dots, and a large black dot on each segment represents the center of the segment.

此外,在本公开实施例中,可以将每个线段的中心点作为对应区块的中心点。In addition, in the embodiment of the present disclosure, the center point of each line segment may be used as the center point of the corresponding block.

进一步,作为一种可选的实施例,基于每个中心点将点云地图的点云进行分割得到对应的区块包括:针对每个中心点将点云地图的点云中与该中心点之间的距离小于第一阈值的点分割到一个区块内。Further, as an optional embodiment, segmenting the point cloud of the point cloud map based on each center point to obtain corresponding blocks includes: for each center point, segmenting the points in the point cloud of the point cloud map whose distance from the center point is less than a first threshold into a block.

在上述实施例的基础上,在确定出线路中各线段的中心点后,再在点云地图中获取每个线段的中心点的位置坐标P[i],进而基于位置坐标将点云地图中到各中心点的距离小于第一阈值(如1)的点分割到以中心点为中心的一个区块内。例如,对于中心点O1,可以将点云地图中所有到中心点O1的距离小于第一阈值的点分割到以O1为中心的一个区块内。On the basis of the above embodiment, after determining the center point of each line segment in the route, the position coordinates P[i] of the center point of each line segment are obtained in the point cloud map, and then based on the position coordinates, the points in the point cloud map whose distance to each center point is less than a first threshold (such as 1) are segmented into a block centered on the center point. For example, for the center point O 1 , all points in the point cloud map whose distance to the center point O 1 is less than the first threshold can be segmented into a block centered on O 1 .

通过本公开实施例,基于线路中每个线段的中心点分割出对应的区块,能够更精确地定位对象的位置。Through the embodiments of the present disclosure, corresponding blocks are segmented based on the center point of each line segment in the line, so that the position of the object can be located more accurately.

进一步,作为一种可选的实施例,针对每个中心点将点云地图的点云中与该中心点之间的距离小于第一阈值的点分割到一个区块内包括:将点云地图的点云划分为线特征点云和面特征点云;针对每个中心点将线特征点云中与该中心点之间的距离小于第一阈值的点分割到一个区块内;以及针对每个中心点将面特征点云中与该中心点之间的距离小于第一阈值的点也分割到该区块内;相应地,将激光点云与拟定的多个初始位姿进行匹配包括:将激光点云划分为线特征激光点云和面特征激光点云;以及分别将线特征激光点云和面特征激光点云与拟定的多个初始位姿进行匹配。Further, as an optional embodiment, for each center point, dividing the points in the point cloud of the point cloud map whose distance from the center point is less than a first threshold into a block includes: dividing the point cloud of the point cloud map into a line feature point cloud and a surface feature point cloud; for each center point, dividing the points in the line feature point cloud whose distance from the center point is less than the first threshold into a block; and for each center point, dividing the points in the surface feature point cloud whose distance from the center point is less than the first threshold into the block; accordingly, matching the laser point cloud with multiple proposed initial poses includes: dividing the laser point cloud into a line feature laser point cloud and a surface feature laser point cloud; and matching the line feature laser point cloud and the surface feature laser point cloud with the proposed multiple initial poses respectively.

需要说明的是,地图点云可以基于特征进行分类,考虑到建筑物一般都是面结构的,而树木等都是线结构的,因此可以基于这些几何结构特征将地图点云划分为线特征点云(对应于线点云地图)、面特征点云(对应于面点云地图)。相应地,在划分区块时,可以分别对线特征点云和面特征点云进行划分。It should be noted that map point clouds can be classified based on features. Considering that buildings are generally surface structures, while trees and the like are line structures, map point clouds can be divided into line feature point clouds (corresponding to line point cloud maps) and surface feature point clouds (corresponding to surface point cloud maps) based on these geometric structure features. Accordingly, when dividing blocks, line feature point clouds and surface feature point clouds can be divided separately.

此外,与地图点云可以划分为具有不同特征的点云类似,激光雷达获取的激光点云也可以划分为线特征激光点云和面特征激光点云。具体地,可以按照曲率阈值将激光点云划分为线特征激光点云和面特征激光点云,其中,实际曲率小于曲率阈值时为面特征激光点云,实际曲率大于曲率阈值时为线特征激光点云。激光点云是用于表示对象如无人车等的周围环境的数据,包括激光雷达扫描到的每一帧数据。此处的曲率是针对曲线上某个点的切线方向角对弧长的转动率而言的,通过微分来定义,表明曲线偏离直线的程度。激光点云是由很多用三维坐标表示的点组成的,一部分点根据坐标计算出来的曲率如果很小(如接近0)就认为是面特征点,其余均为线特征点。In addition, similar to the fact that map point clouds can be divided into point clouds with different features, laser point clouds acquired by LiDAR can also be divided into line feature laser point clouds and surface feature laser point clouds. Specifically, laser point clouds can be divided into line feature laser point clouds and surface feature laser point clouds according to the curvature threshold, where the actual curvature is less than the curvature threshold for surface feature laser point clouds, and the actual curvature is greater than the curvature threshold for line feature laser point clouds. Laser point clouds are data used to represent the surrounding environment of objects such as unmanned vehicles, including each frame of data scanned by LiDAR. The curvature here refers to the rotation rate of the tangent direction angle of a point on the curve to the arc length, which is defined by differentiation, indicating the degree to which the curve deviates from a straight line. The laser point cloud is composed of many points represented by three-dimensional coordinates. If the curvature calculated based on the coordinates of some points is very small (such as close to 0), they are considered to be surface feature points, and the rest are line feature points.

在点云地图和激光点云经过上述划分之后,ICP匹配就可以是基于特征的匹配,即变为点到线的ICP匹配和点到面的ICP匹配。After the point cloud map and laser point cloud are divided as above, ICP matching can be feature-based matching, that is, it becomes point-to-line ICP matching and point-to-surface ICP matching.

通过本公开实施例,基于特征将地图点云进行分割,同时基于对应的特征将激光点云进行划分,便于分辨对象周围的树木和建筑物,从而便于对对象进行定位初始化。Through the embodiments of the present disclosure, the map point cloud is segmented based on features, and the laser point cloud is divided based on corresponding features, so as to facilitate the identification of trees and buildings around the object, thereby facilitating the initialization of positioning the object.

图7示意性示出了根据本公开实施例的定位初始化系统的框图。FIG. 7 schematically shows a block diagram of a positioning initialization system according to an embodiment of the present disclosure.

如图7所示,该定位初始化系统700包括获取模块701、分割模块702、拟定模块703和匹配模块704。As shown in FIG. 7 , the positioning initialization system 700 includes an acquisition module 701 , a segmentation module 702 , a formulation module 703 and a matching module 704 .

获取模块701,用于通过设置在对象上的激光雷达获取对象当前所处环境的激光点云;An acquisition module 701 is used to acquire a laser point cloud of the current environment of the object through a laser radar arranged on the object;

分割模块702,用于基于预先构建的点云地图分割出与通过划分对象的预定移动线路得到的多个线段对应的多个区块,其中,不同的区块对应于不同的子地图点云;A segmentation module 702 is used to segment a plurality of blocks corresponding to a plurality of line segments obtained by dividing a predetermined moving route of an object based on a pre-built point cloud map, wherein different blocks correspond to different sub-map point clouds;

拟定模块703,用于基于与多个区块对应的子地图点云拟定多个初始位姿;以及A drafting module 703 is used to draft a plurality of initial poses based on the sub-map point clouds corresponding to the plurality of blocks; and

匹配模块704,用于将激光点云与拟定的多个初始位姿进行匹配,以对对象进行定位初始化。The matching module 704 is used to match the laser point cloud with multiple proposed initial poses to initialize the positioning of the object.

与现有技术中利用激光雷达定位必须借助第三方如GPS卫星和磁罗盘提供的初始位姿才能完成定位初始化,导致存在较大误差相比,通过本公开实施例,因为采用了根据对象的预定移动线路拟定多个初始位姿进行定位初始化的技术手段,所以至少部分地克服了现有的定位初始化需要借助于第三方,由于没有GPS信号或者GPS信号被遮挡或者磁罗盘受干扰等而导致定位初始化误差较大的缺陷技术问题,进而达到了无需借助于第三方,且定位初始化误差较小的技术效果。Compared with the prior art that uses laser radar positioning, it must rely on the initial posture provided by a third party such as GPS satellites and magnetic compasses to complete positioning initialization, resulting in large errors. According to the embodiments of the present disclosure, because a technical means is adopted to prepare multiple initial postures according to the predetermined moving route of the object for positioning initialization, it at least partially overcomes the technical problems of the prior art that positioning initialization requires the help of a third party, and the positioning initialization error is large due to the lack of GPS signal or the GPS signal is blocked or the magnetic compass is interfered with, thereby achieving the technical effect of not requiring the help of a third party and with a small positioning initialization error.

作为一种可选的实施例,如图8所示,该拟定模块703包括:第一确定单元801,用于基于与该多个区块对应的子地图点云,确定每个区块的中心点;以及设置单元802,用于为每个中心点设置多个航向角,以拟定该多个初始位姿。As an optional embodiment, as shown in Figure 8, the planning module 703 includes: a first determination unit 801, used to determine the center point of each block based on the sub-map point cloud corresponding to the multiple blocks; and a setting unit 802, used to set multiple heading angles for each center point to plan the multiple initial poses.

通过本公开实施例,为每个中心点即每个初始位置设置多个初始航向角,能够更精确地定位对象的初始位姿。Through the embodiments of the present disclosure, a plurality of initial heading angles are set for each center point, that is, each initial position, so that the initial posture of the object can be located more accurately.

作为一种可选的实施例,如图9所示,该分割模块702包括:获取单元901,用于获取该点云地图以及该预定移动线路;第一分割单元902,用于将该预定移动线路分割成多个线段;第二确定单元903,用于确定该多个线段中每个线段的中心点;以及第二分割单元904,用于基于每个中心点将该点云地图的点云进行分割得到对应的区块。As an optional embodiment, as shown in Figure 9, the segmentation module 702 includes: an acquisition unit 901, used to acquire the point cloud map and the predetermined moving route; a first segmentation unit 902, used to segment the predetermined moving route into multiple line segments; a second determination unit 903, used to determine the center point of each of the multiple line segments; and a second segmentation unit 904, used to segment the point cloud of the point cloud map based on each center point to obtain corresponding blocks.

进一步,作为一种可选的实施例,该第二分割单元还用于:针对每个中心点将该点云地图的点云中与该中心点之间的距离小于第一阈值的点分割到一个区块内。Further, as an optional embodiment, the second segmentation unit is also used to: for each center point, segment the points in the point cloud of the point cloud map whose distance from the center point is less than a first threshold into a block.

通过本公开实施例,基于线路中每个线段的中心点分割出对应的区块,能够更精确地定位对象的位置。Through the embodiments of the present disclosure, corresponding blocks are segmented based on the center point of each line segment in the line, so that the position of the object can be located more accurately.

进一步,作为一种可选的实施例,该第二分割单元包括:划分子单元,用于将该点云地图的点云划分为线特征点云和面特征点云;第一分割子单元,用于针对每个中心点将该线特征点云中与该中心点之间的距离小于该第一阈值的点分割到一个区块内;以及第二分割子单元,用于针对每个中心点将该面特征点云中与该中心点之间的距离小于该第一阈值的点也分割到该区块内;该匹配模块包括:划分单元,用于将该激光点云划分为线特征激光点云和面特征激光点云;以及匹配单元,用于分别将该线特征激光点云和该面特征激光点云与拟定的该多个初始位姿进行匹配。Further, as an optional embodiment, the second segmentation unit includes: a division subunit, used to divide the point cloud of the point cloud map into a line feature point cloud and a surface feature point cloud; a first segmentation subunit, used to segment the points in the line feature point cloud whose distance from the center point is less than the first threshold into a block for each center point; and a second segmentation subunit, used to segment the points in the surface feature point cloud whose distance from the center point is less than the first threshold into the block for each center point; the matching module includes: a division unit, used to divide the laser point cloud into a line feature laser point cloud and a surface feature laser point cloud; and a matching unit, used to respectively match the line feature laser point cloud and the surface feature laser point cloud with the proposed multiple initial poses.

通过本公开实施例,基于特征将地图点云进行分割,同时基于对应的特征将激光点云进行划分,便于分辨对象周围的树木和建筑物,从而便于对对象进行定位初始化。Through the embodiments of the present disclosure, the map point cloud is segmented based on features, and the laser point cloud is divided based on corresponding features, so as to facilitate the identification of trees and buildings around the object, thereby facilitating the initialization of positioning the object.

根据本公开的实施例的模块、单元、子单元中的任意多个、或其中任意多个的至少部分功能可以在一个模块中实现。根据本公开实施例的模块、单元、子单元中的任意一个或多个可以被拆分成多个模块来实现。根据本公开实施例的模块、单元、子单元中的任意一个或多个可以至少被部分地实现为硬件电路,例如现场可编程门阵列(FPGA)、可编程逻辑阵列(PLA)、片上系统、基板上的系统、封装上的系统、专用集成电路(ASIC),或可以通过对电路进行集成或封装的任何其他的合理方式的硬件或固件来实现,或以软件、硬件以及固件三种实现方式中任意一种或以其中任意几种的适当组合来实现。或者,根据本公开实施例的模块、单元、子单元中的一个或多个可以至少被部分地实现为计算机程序模块,当该计算机程序模块被运行时,可以执行相应的功能。According to the embodiments of the present invention, any one or more of the modules, units, and sub-units, or at least part of the functions of any one of them can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules, units, and sub-units can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, units, and sub-units can be at least partially implemented as hardware circuits, such as field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), systems on chips, systems on substrates, systems on packages, application specific integrated circuits (ASICs), or can be implemented by hardware or firmware in any other reasonable way of integrating or packaging the circuit, or in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules, units, and sub-units can be at least partially implemented as computer program modules, and when the computer program modules are run, the corresponding functions can be performed.

例如,获取模块701、分割模块702、拟定模块703和匹配模块704中的任意多个可以合并在一个模块/单元/子单元中实现,或者其中的任意一个模块/单元/子单元可以被拆分成多个模块/单元/子单元。或者,这些模块/单元/子单元中的一个或多个模块/单元/子单元的至少部分功能可以与其他模块/单元/子单元的至少部分功能相结合,并在一个模块/单元/子单元中实现。根据本公开的实施例,获取模块701、分割模块702、拟定模块703和匹配模块704中的至少一个可以至少被部分地实现为硬件电路,例如现场可编程门阵列(FPGA)、可编程逻辑阵列(PLA)、片上系统、基板上的系统、封装上的系统、专用集成电路(ASIC),或可以通过对电路进行集成或封装的任何其他的合理方式等硬件或固件来实现,或以软件、硬件以及固件三种实现方式中任意一种或以其中任意几种的适当组合来实现。或者,获取模块701、分割模块702、拟定模块703和匹配模块704中的至少一个可以至少被部分地实现为计算机程序模块,当该计算机程序模块被运行时,可以执行相应的功能。For example, any multiple of the acquisition module 701, the segmentation module 702, the drafting module 703 and the matching module 704 can be combined in one module/unit/sub-unit for implementation, or any one of the modules/units/sub-units can be split into multiple modules/units/sub-units. Alternatively, at least part of the functions of one or more of these modules/units/sub-units can be combined with at least part of the functions of other modules/units/sub-units and implemented in one module/unit/sub-unit. According to an embodiment of the present disclosure, at least one of the acquisition module 701, the segmentation module 702, the drafting module 703 and the matching module 704 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or by any one of the three implementation methods of software, hardware and firmware or by a suitable combination of any of them. Alternatively, at least one of the acquisition module 701, the segmentation module 702, the formulation module 703 and the matching module 704 may be at least partially implemented as a computer program module, and when the computer program module is executed, the corresponding function may be executed.

需要说明的是,本公开的实施例中系统部分与本公开的实施例中方法部分是相对应的,系统部分的描述具体请参考方法部分,在此不再赘述。It should be noted that the system part in the embodiments of the present disclosure corresponds to the method part in the embodiments of the present disclosure. For the description of the system part, please refer to the method part, which will not be repeated here.

本公开的另一方面提供了一种计算机系统,包括:一个或多个处理器;存储器,用于存储一个或多个程序,其中,当上述一个或多个程序被上述一个或多个处理器执行时,使得上述一个或多个处理器如上所述的方法。Another aspect of the present disclosure provides a computer system, including: one or more processors; and a memory for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors perform the method described above.

本公开的另一方面提供了一种非易失性存储介质,存储有计算机可执行指令,上述指令在被执行时用于实现如上所述的方法。Another aspect of the present disclosure provides a non-volatile storage medium storing computer executable instructions, which are used to implement the above method when executed.

图10示意性示出了根据本公开实施例的适于实现定位初始化方法的计算机系统的框图。图10示出的计算机系统仅仅是一个示例,不应对本公开实施例的功能和使用范围带来任何限制。Fig. 10 schematically shows a block diagram of a computer system suitable for implementing a positioning initialization method according to an embodiment of the present disclosure. The computer system shown in Fig. 10 is only an example and should not bring any limitation to the functions and scope of use of the embodiment of the present disclosure.

如图10所示,根据本公开实施例的计算机系统1000包括处理器1001,其可以根据存储在只读存储器(ROM)1002中的程序或者从存储部分1008加载到随机访问存储器(RAM)1003中的程序而执行各种适当的动作和处理。处理器1001例如可以包括通用微处理器(例如CPU)、指令集处理器和/或相关芯片组和/或专用微处理器(例如,专用集成电路(ASIC)),等等。处理器1001还可以包括用于缓存用途的板载存储器。处理器1001可以包括用于执行根据本公开实施例的方法流程的不同动作的单一处理单元或者是多个处理单元。As shown in FIG10 , the computer system 1000 according to an embodiment of the present disclosure includes a processor 1001, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage part 1008 into a random access memory (RAM) 1003. The processor 1001 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and/or a related chipset and/or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 1001 may also include an onboard memory for caching purposes. The processor 1001 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.

在RAM 1003中,存储有系统1000操作所需的各种程序和数据。处理器1001、ROM1002以及RAM 1003通过总线1004彼此相连。处理器1001通过执行ROM 1002和/或RAM 1003中的程序来执行根据本公开实施例的方法流程的各种操作。需要注意,所述程序也可以存储在除ROM 1002和RAM 1003以外的一个或多个存储器中。处理器1001也可以通过执行存储在所述一个或多个存储器中的程序来执行根据本公开实施例的方法流程的各种操作。In RAM 1003, various programs and data required for the operation of system 1000 are stored. Processor 1001, ROM 1002 and RAM 1003 are connected to each other through bus 1004. Processor 1001 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 1002 and/or RAM 1003. It should be noted that the program can also be stored in one or more memories other than ROM 1002 and RAM 1003. Processor 1001 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.

根据本公开的实施例,系统1000还可以包括输入/输出(I/O)接口1005,输入/输出(I/O)接口1005也连接至总线1004。系统1000还可以包括连接至I/O接口1005的以下部件中的一项或多项:包括键盘、鼠标等的输入部分1006;包括诸如阴极射线管(CRT)、液晶显示器(LCD)等以及扬声器等的输出部分1007;包括硬盘等的存储部分1008;以及包括诸如LAN卡、调制解调器等的网络接口卡的通信部分1009。通信部分1009经由诸如因特网的网络执行通信处理。驱动器1010也根据需要连接至I/O接口1005。可拆卸介质1011,诸如磁盘、光盘、磁光盘、半导体存储器等等,根据需要安装在驱动器1010上,以便于从其上读出的计算机程序根据需要被安装入存储部分1008。According to an embodiment of the present disclosure, the system 1000 may further include an input/output (I/O) interface 1005, which is also connected to the bus 1004. The system 1000 may further include one or more of the following components connected to the I/O interface 1005: an input section 1006 including a keyboard, a mouse, etc.; an output section 1007 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage section 1008 including a hard disk, etc.; and a communication section 1009 including a network interface card such as a LAN card, a modem, etc. The communication section 1009 performs communication processing via a network such as the Internet. A drive 1010 is also connected to the I/O interface 1005 as needed. A removable medium 1011, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 1010 as needed, so that a computer program read therefrom is installed into the storage section 1008 as needed.

根据本公开的实施例,根据本公开实施例的方法流程可以被实现为计算机软件程序。例如,本公开的实施例包括一种计算机程序产品,其包括承载在计算机可读存储介质上的计算机程序,该计算机程序包含用于执行流程图所示的方法的程序代码。在这样的实施例中,该计算机程序可以通过通信部分1009从网络上被下载和安装,和/或从可拆卸介质1011被安装。在该计算机程序被处理器1001执行时,执行本公开实施例的系统中限定的上述功能。根据本公开的实施例,上文描述的系统、设备、装置、模块、单元等可以通过计算机程序模块来实现。According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program contains a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 1009, and/or installed from the removable medium 1011. When the computer program is executed by the processor 1001, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.

本公开还提供了一种计算机可读存储介质,该计算机可读存储介质可以是上述实施例中描述的设备/装置/系统中所包含的;也可以是单独存在,而未装配入该设备/装置/系统中。上述计算机可读介质承载有一个或者多个程序,当上述一个或者多个程序被执行时,实现根据本公开实施例的方法。The present disclosure also provides a computer-readable storage medium, which may be included in the device/apparatus/system described in the above embodiments; or may exist independently without being assembled into the device/apparatus/system. The above computer-readable medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.

根据本公开的实施例,计算机可读存储介质可以是计算机可读信号介质或者计算机可读存储介质或者是上述两者的任意组合。计算机可读存储介质例如可以是——但不限于——电、磁、光、电磁、红外线、或半导体的系统、装置或器件,或者任意以上的组合。计算机可读存储介质的更具体的例子可以包括但不限于:具有一个或多个导线的电连接、便携式计算机磁盘、硬盘、随机访问存储器(RAM)、只读存储器(ROM)、可擦式可编程只读存储器(EPROM或闪存)、光纤、便携式紧凑磁盘只读存储器(CD-ROM)、光存储器件、磁存储器件、或者上述的任意合适的组合。在本公开中,计算机可读存储介质可以是任何包含或存储程序的有形介质,该程序可以被指令执行系统、装置或者器件使用或者与其结合使用。而在本公开中,计算机可读的信号介质可以包括在基带中或者作为载波一部分传播的数据信号,其中承载了计算机可读的程序代码。这种传播的数据信号可以采用多种形式,包括但不限于电磁信号、光信号或上述的任意合适的组合。计算机可读的信号介质还可以是计算机可读存储介质以外的任何计算机可读存储介质,该计算机可读存储介质可以发送、传播或者传输用于由指令执行系统、装置或者器件使用或者与其结合使用的程序。计算机可读存储介质上包含的程序代码可以用任何适当的介质传输,包括但不限于:无线、有线、光缆、射频信号等等,或者上述的任意合适的组合。According to an embodiment of the present disclosure, a computer-readable storage medium may be a computer-readable signal medium or a computer-readable storage medium or any combination of the two. A computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in conjunction with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. The computer-readable signal medium may also be any computer-readable storage medium other than a computer-readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, optical cable, radio frequency signal, etc., or any suitable combination of the above.

例如,根据本公开的实施例,计算机可读存储介质可以包括上文描述的ROM 1002和/或RAM1003和/或ROM 1002和RAM 1003以外的一个或多个存储器。For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 1002 and/or the RAM 1003 described above and/or one or more memories other than the ROM 1002 and the RAM 1003 .

附图中的流程图和框图,图示了按照本公开各种实施例的系统、方法和计算机程序产品的可能实现的体系架构、功能和操作。在这点上,流程图或框图中的每个方框可以代表一个模块、程序段、或代码的一部分,上述模块、程序段、或代码的一部分包含一个或多个用于实现规定的逻辑功能的可执行指令。也应当注意,在有些作为替换的实现中,方框中所标注的功能也可以以不同于附图中所标注的顺序发生。例如,两个接连地表示的方框实际上可以基本并行地执行,它们有时也可以按相反的顺序执行,这依所涉及的功能而定。也要注意的是,框图或流程图中的每个方框、以及框图或流程图中的方框的组合,可以用执行规定的功能或操作的专用的基于硬件的系统来实现,或者可以用专用硬件与计算机指令的组合来实现。The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of a code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flow chart, and the combination of the boxes in the block diagram or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

本领域技术人员可以理解,本公开的各个实施例和/或权利要求中记载的特征可以进行多种组合或/或结合,即使这样的组合或结合没有明确记载于本公开中。特别地,在不脱离本公开精神和教导的情况下,本公开的各个实施例和/或权利要求中记载的特征可以进行多种组合和/或结合。所有这些组合和/或结合均落入本公开的范围。It will be appreciated by those skilled in the art that the features described in the various embodiments and/or claims of the present disclosure may be combined and/or combined in various ways, even if such combinations and/or combinations are not explicitly described in the present disclosure. In particular, the features described in the various embodiments and/or claims of the present disclosure may be combined and/or combined in various ways without departing from the spirit and teachings of the present disclosure. All of these combinations and/or combinations fall within the scope of the present disclosure.

以上对本公开的实施例进行了描述。但是,这些实施例仅仅是为了说明的目的,而并非为了限制本公开的范围。尽管在以上分别描述了各实施例,但是这并不意味着各个实施例中的措施不能有利地结合使用。本公开的范围由所附权利要求及其等同物限定。不脱离本公开的范围,本领域技术人员可以做出多种替代和修改,这些替代和修改都应落在本公开的范围之内。The embodiments of the present disclosure are described above. However, these embodiments are only for the purpose of illustration and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the various embodiments cannot be used in combination to advantage. The scope of the present disclosure is defined by the attached claims and their equivalents. Without departing from the scope of the present disclosure, those skilled in the art may make a variety of substitutions and modifications, which should all fall within the scope of the present disclosure.

Claims (8)

1.一种定位初始化方法,用于定位对象的初始位置和初始航向角,包括:1. A positioning initialization method for positioning an initial position and an initial heading angle of an object, comprising: 通过设置在所述对象上的激光雷达获取所述对象当前所处环境的激光点云;Acquire a laser point cloud of the current environment of the object by using a laser radar arranged on the object; 基于预先构建的点云地图分割出与通过划分所述对象的预定移动线路得到的多个线段对应的多个区块,其中,不同的区块对应于不同的子地图点云,所述点云地图的点云被划分为线特征点云和面特征点云;Segmenting a plurality of blocks corresponding to a plurality of line segments obtained by dividing a predetermined moving route of the object based on a pre-constructed point cloud map, wherein different blocks correspond to different sub-map point clouds, and the point cloud of the point cloud map is divided into a line feature point cloud and a surface feature point cloud; 基于与所述多个区块对应的子地图点云拟定多个初始位姿,其中,所述多个初始位姿是基于多个航向角确定的;Formulate a plurality of initial poses based on the sub-map point clouds corresponding to the plurality of blocks, wherein the plurality of initial poses are determined based on a plurality of heading angles; 将所述激光点云划分为线特征激光点云和面特征激光点云;以及Dividing the laser point cloud into a line feature laser point cloud and a surface feature laser point cloud; and 分别将所述线特征激光点云和所述面特征激光点云与拟定的所述多个初始位姿进行匹配,以对所述对象进行定位初始化;Respectively matching the line feature laser point cloud and the surface feature laser point cloud with the proposed multiple initial poses to initialize the positioning of the object; 所述基于预先构建的点云地图分割出与通过划分所述对象的预定移动线路得到的多个线段对应的多个区块,包括:The method of segmenting a plurality of blocks corresponding to a plurality of line segments obtained by dividing the predetermined moving route of the object based on the pre-built point cloud map includes: 针对每个所述线段的中心点,将所述点云地图的点云中与该中心点之间的距离小于第一阈值的点分割到一个区块内,得到所述多个线段对应的多个区块。For the center point of each line segment, points in the point cloud of the point cloud map whose distance from the center point is less than a first threshold are segmented into a block to obtain a plurality of blocks corresponding to the plurality of line segments. 2.根据权利要求1所述的方法,其中,所述基于与所述多个区块对应的子地图点云拟定多个初始位姿,包括:2. The method according to claim 1, wherein the step of formulating a plurality of initial poses based on the sub-map point clouds corresponding to the plurality of blocks comprises: 基于与所述多个区块对应的子地图点云,确定每个区块的中心点;以及Determining a center point of each block based on the sub-map point clouds corresponding to the plurality of blocks; and 为每个中心点设置多个航向角,以拟定所述多个初始位姿。A plurality of heading angles are set for each center point to formulate the plurality of initial postures. 3.根据权利要求1所述的方法,其中,所述针对每个中心点将所述点云地图的点云中与该中心点之间的距离小于第一阈值的点分割到一个区块内,包括:3. The method according to claim 1, wherein for each center point, dividing the points in the point cloud of the point cloud map whose distance from the center point is less than a first threshold into a block comprises: 将所述点云地图的点云划分为线特征点云和面特征点云;Dividing the point cloud of the point cloud map into line feature point cloud and surface feature point cloud; 针对每个中心点将所述线特征点云中与该中心点之间的距离小于所述第一阈值的点分割到一个区块内;以及For each center point, divide the points in the line feature point cloud whose distance from the center point is less than the first threshold into a block; and 针对每个中心点将所述面特征点云中与该中心点之间的距离小于所述第一阈值的点也分割到该区块内。For each center point, points in the surface feature point cloud whose distance from the center point is less than the first threshold are also segmented into the block. 4.一种定位初始化系统,用于定位对象的初始位置和初始航向角,包括:4. A positioning initialization system for locating an initial position and an initial heading angle of an object, comprising: 获取模块,用于通过设置在所述对象上的激光雷达获取所述对象当前所处环境的激光点云;An acquisition module, used for acquiring a laser point cloud of the current environment of the object through a laser radar arranged on the object; 分割模块,用于基于预先构建的点云地图分割出与通过划分所述对象的预定移动线路得到的多个线段对应的多个区块,其中,不同的区块对应于不同的子地图点云,所述点云地图的点云被划分为线特征点云和面特征点云;A segmentation module, for segmenting a plurality of blocks corresponding to a plurality of line segments obtained by segmenting a predetermined moving route of the object based on a pre-constructed point cloud map, wherein different blocks correspond to different sub-map point clouds, and the point cloud of the point cloud map is divided into a line feature point cloud and a surface feature point cloud; 拟定模块,用于基于与所述多个区块对应的子地图点云拟定多个初始位姿,其中,所述多个初始位姿是基于多个航向角确定的;A drafting module, configured to draft a plurality of initial poses based on the sub-map point clouds corresponding to the plurality of blocks, wherein the plurality of initial poses are determined based on a plurality of heading angles; 划分单元,用于将所述激光点云划分为线特征激光点云和面特征激光点云;以及a division unit, used for dividing the laser point cloud into a line feature laser point cloud and a surface feature laser point cloud; and 匹配单元,用于分别将所述线特征激光点云和所述面特征激光点云与拟定的所述多个初始位姿进行匹配;A matching unit, used for matching the line feature laser point cloud and the surface feature laser point cloud with the proposed multiple initial poses respectively; 所述分割模块,包括:针对每个所述线段的中心点,将所述点云地图的点云中与该中心点之间的距离小于第一阈值的点分割到一个区块内,得到所述多个线段对应的多个区块。The segmentation module includes: for each center point of the line segment, segmenting the points in the point cloud of the point cloud map whose distance from the center point is less than a first threshold into a block, to obtain multiple blocks corresponding to the multiple line segments. 5.根据权利要求4所述的系统,其中,所述拟定模块包括:5. The system according to claim 4, wherein the proposed module comprises: 第一确定单元,用于基于与所述多个区块对应的子地图点云,确定每个区块的中心点;以及A first determining unit, configured to determine a center point of each block based on sub-map point clouds corresponding to the plurality of blocks; and 设置单元,用于为每个中心点设置多个航向角,以拟定所述多个初始位姿。The setting unit is used to set multiple heading angles for each center point to formulate the multiple initial postures. 6.根据权利要求4所述的系统,其中,所述分割模块包括:6. The system according to claim 4, wherein the segmentation module comprises: 划分子单元,用于将所述点云地图的点云划分为线特征点云和面特征点云;A division subunit, used for dividing the point cloud of the point cloud map into a line feature point cloud and a surface feature point cloud; 第一分割子单元,用于针对每个中心点将所述线特征点云中与该中心点之间的距离小于所述第一阈值的点分割到一个区块内;以及A first segmentation subunit is used to segment, for each center point, points in the line feature point cloud whose distance from the center point is less than the first threshold into a block; and 第二分割子单元,用于针对每个中心点将所述面特征点云中与该中心点之间的距离小于所述第一阈值的点也分割到该区块内。The second segmentation subunit is used to segment, for each center point, points in the surface feature point cloud whose distance from the center point is less than the first threshold into the block. 7.一种计算机系统,包括:7. A computer system comprising: 一个或多个处理器;one or more processors; 存储器,用于存储一个或多个程序,a memory for storing one or more programs, 其中,当所述一个或多个程序被所述一个或多个处理器执行时,使得所述一个或多个处理器实现权利要求1至3中任一项所述的方法。When the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 3. 8.一种计算机可读存储介质,其上存储有可执行指令,该指令被处理器执行时使处理器实现权利要求1至3中任一项所述的方法。8. A computer-readable storage medium having executable instructions stored thereon, which, when executed by a processor, enables the processor to implement the method according to any one of claims 1 to 3.
CN201811121022.8A 2018-09-25 2018-09-25 Positioning initialization method and system thereof Active CN110940994B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811121022.8A CN110940994B (en) 2018-09-25 2018-09-25 Positioning initialization method and system thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811121022.8A CN110940994B (en) 2018-09-25 2018-09-25 Positioning initialization method and system thereof

Publications (2)

Publication Number Publication Date
CN110940994A CN110940994A (en) 2020-03-31
CN110940994B true CN110940994B (en) 2024-06-18

Family

ID=69905091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811121022.8A Active CN110940994B (en) 2018-09-25 2018-09-25 Positioning initialization method and system thereof

Country Status (1)

Country Link
CN (1) CN110940994B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112697169B (en) * 2020-12-07 2023-09-15 北京小马智行科技有限公司 Initialization method, device, processor and vehicle for vehicle positioning
CN113989451B (en) * 2021-10-28 2024-04-09 北京百度网讯科技有限公司 High-precision map construction method, device and electronic equipment
CN117906599B (en) * 2022-10-18 2025-11-14 广州视源电子科技股份有限公司 An indoor positioning method, an electronic device, and a readable storage medium.

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106052697A (en) * 2016-05-24 2016-10-26 百度在线网络技术(北京)有限公司 Driverless vehicle, driverless vehicle positioning method, driverless vehicle positioning device and driverless vehicle positioning system

Family Cites Families (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103093459B (en) * 2013-01-06 2015-12-23 中国人民解放军信息工程大学 Utilize the method that airborne LiDAR point cloud data assisted image mates
US10845452B2 (en) * 2013-05-08 2020-11-24 Cm Hk Limited Hybrid positioning method, electronic apparatus and computer-readable recording medium thereof
CN103644917B (en) * 2013-12-04 2016-01-20 重庆数字城市科技有限公司 Traverse measurement platform laser radar rotation and translation calculation method of parameters
CN103711050B (en) * 2013-12-31 2016-04-06 中交第二公路勘察设计研究院有限公司 A kind of laser radar road reorganization and expansion survey and design method
DE102014005181A1 (en) * 2014-04-03 2015-10-08 Astrium Gmbh Position and orientation of objects
CN104123730B (en) * 2014-07-31 2016-09-14 武汉大学 Remote sensing image based on roadway characteristic and laser point cloud method for registering and system
US9630319B2 (en) * 2015-03-18 2017-04-25 Irobot Corporation Localization and mapping using physical features
CN105574929A (en) * 2015-12-15 2016-05-11 电子科技大学 Single vegetation three-dimensional modeling method based on ground LiDAR point cloud data
CN106023210B (en) * 2016-05-24 2017-12-12 百度在线网络技术(北京)有限公司 Unmanned vehicle, unmanned vehicle localization method, device and system
CN108225341B (en) * 2016-12-14 2021-06-18 法法汽车(中国)有限公司 Vehicle positioning method
KR101949609B1 (en) * 2016-12-20 2019-02-19 한국과학기술원 Method and system for updating occupancy map based on super ray
CN107752927B (en) * 2017-11-17 2020-07-14 北京奇虎科技有限公司 Block adjusting method, device and equipment of cleaning robot and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106052697A (en) * 2016-05-24 2016-10-26 百度在线网络技术(北京)有限公司 Driverless vehicle, driverless vehicle positioning method, driverless vehicle positioning device and driverless vehicle positioning system

Also Published As

Publication number Publication date
CN110940994A (en) 2020-03-31

Similar Documents

Publication Publication Date Title
CN109521403B (en) Parameter calibration method, device and equipment of multi-line laser radar and readable medium
CN109270545B (en) Positioning true value verification method, device, equipment and storage medium
US10627520B2 (en) Method and apparatus for constructing reflectance map
CN113256712A (en) Positioning method, positioning device, electronic equipment and storage medium
CN111045024A (en) A vehicle tracking method and system based on light detection and ranging
CN110764111A (en) Conversion method, device, system and medium of radar coordinates and geodetic coordinates
CN111563450B (en) Data processing methods, devices, equipment and storage media
CN111045025A (en) Vehicle tracking method and system based on light detection and distance measurement
CN111045023A (en) Vehicle tracking method and system based on light detection and distance measurement
CN110940994B (en) Positioning initialization method and system thereof
CN113936046B (en) Object positioning method, device, electronic device and computer readable medium
CN110379044B (en) A method and device for motion error compensation
CN112558072B (en) Vehicle positioning method, device, system, electronic equipment and storage medium
CN110378904B (en) Method and device for segmenting point cloud data
CN111272181B (en) Method, apparatus, device and computer-readable medium for constructing a map
CN115908571A (en) A method, device, equipment and medium for updating the pose of an automatic driving vehicle
CN113534095B (en) Laser radar map construction method and robot autonomous navigation method
CN114581523A (en) Method and device for determining labeling data for monocular 3D target detection
CN110716204A (en) A kind of charging pile structure identification method and device
CN114167393A (en) Position calibration method and device for traffic radar, storage medium and electronic device
WO2022160879A1 (en) Method and apparatus for determining conversion parameters
CN115222692B (en) Method and device for identifying ground point cloud
CN110517354A (en) Method, apparatus, system and medium for three-dimensional point cloud segmentation
CN110207699B (en) Positioning method and device
CN114663605B (en) Real-time positioning map construction method, unmanned mobile device and computer program product

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20210305

Address after: Room a1905, 19 / F, building 2, No. 18, Kechuang 11th Street, Daxing District, Beijing, 100176

Applicant after: Beijing Jingdong Qianshi Technology Co.,Ltd.

Address before: 101, 1st floor, building 2, yard 20, Suzhou street, Haidian District, Beijing 100080

Applicant before: Beijing Jingbangda Trading Co.,Ltd.

Effective date of registration: 20210305

Address after: 101, 1st floor, building 2, yard 20, Suzhou street, Haidian District, Beijing 100080

Applicant after: Beijing Jingbangda Trading Co.,Ltd.

Address before: 100195 Beijing Haidian Xingshikou Road 65 West Cedar Creative Garden 4 District 11 Building East 1-4 Floor West 1-4 Floor

Applicant before: BEIJING JINGDONG SHANGKE INFORMATION TECHNOLOGY Co.,Ltd.

Applicant before: BEIJING JINGDONG CENTURY TRADING Co.,Ltd.

GR01 Patent grant
GR01 Patent grant