[go: up one dir, main page]

WO2019080679A1 - Method and device for constructing structure map for mobile robot - Google Patents

Method and device for constructing structure map for mobile robot

Info

Publication number
WO2019080679A1
WO2019080679A1 PCT/CN2018/106797 CN2018106797W WO2019080679A1 WO 2019080679 A1 WO2019080679 A1 WO 2019080679A1 CN 2018106797 W CN2018106797 W CN 2018106797W WO 2019080679 A1 WO2019080679 A1 WO 2019080679A1
Authority
WO
WIPO (PCT)
Prior art keywords
pose
node
nodes
mobile robot
map
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.)
Ceased
Application number
PCT/CN2018/106797
Other languages
French (fr)
Chinese (zh)
Inventor
陆祎
白静
李宇翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shanghai Slamtec Co Ltd
Original Assignee
Shanghai Slamtec 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 Shanghai Slamtec Co Ltd filed Critical Shanghai Slamtec Co Ltd
Publication of WO2019080679A1 publication Critical patent/WO2019080679A1/en
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/38Electronic maps specially adapted for navigation; Updating thereof
    • G01C21/3863Structures of map data
    • GPHYSICS
    • G01MEASURING; TESTING
    • G01CMEASURING DISTANCES, LEVELS OR BEARINGS; SURVEYING; NAVIGATION; GYROSCOPIC INSTRUMENTS; PHOTOGRAMMETRY OR VIDEOGRAMMETRY
    • G01C21/00Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00
    • G01C21/26Navigation; Navigational instruments not provided for in groups G01C1/00 - G01C19/00 specially adapted for navigation in a road network
    • G01C21/34Route searching; Route guidance
    • G01C21/3407Route searching; Route guidance specially adapted for specific applications
    • G01C21/343Calculating itineraries

Definitions

  • the present application relates to the field of computer technology, and in particular, to a technology for constructing a structure map of a mobile robot.
  • a method for a mobile robot to construct a structure map includes:
  • a structural map is constructed based on the interconnection relationship between the nodes.
  • the constructing the structure map based on the interconnection relationship between the nodes comprises:
  • interconnection relationship refers to that the mobile robot performs linear motion between the nodes without blocking of an obstacle
  • the interconnection relationship between the node and other nodes is stored in each node;
  • a structure map is constructed based on the interconnection relationship.
  • the method further includes:
  • determining an optimal path to the target pose includes:
  • the acquiring the sample pose of the mobile robot comprises:
  • the preset condition includes at least one of the following:
  • the preset sampling time interval is reached
  • the preset sampling distance threshold is reached.
  • an apparatus for a mobile robot to construct a structure map comprising:
  • a first device configured to acquire a sampling pose of the mobile robot
  • a second device configured to generate, on the map, a node corresponding to the sampled pose based on the sampled pose
  • a third device configured to construct a structural map based on the interconnection relationship between the nodes.
  • the third device comprises:
  • a first unit configured to detect whether there is an interconnection relationship between the nodes, where the interconnection relationship refers to that the mobile robot performs linear motion between the nodes without obstruction of an obstacle;
  • a second unit configured to store, in each node, an interconnection relationship between the node and other nodes when the interconnection relationship exists;
  • the third unit is configured to construct a structure map based on the interconnection relationship.
  • An optimal path to the target pose is determined according to the interconnection relationship between the nodes on the structure map.
  • the first device is used to:
  • the preset condition includes at least one of the following:
  • the preset sampling time interval is reached
  • the preset sampling distance threshold is reached.
  • the present application Compared with the prior art, the present application generates a sampling pose of a mobile robot, and then generates a node corresponding to the sampled pose on the map based on the sampled pose, and further based on the interconnection relationship between the nodes. Build a structure map. Structured maps constructed this way can be more easily used for path planning.
  • FIG. 1 shows a flow chart of a method for a mobile robot to construct a structure map in accordance with an aspect of the present application
  • FIG. 2 is a schematic diagram showing a mobile robot construction structure map according to a preferred embodiment of the present application
  • FIG. 3 shows a schematic diagram of a path planning for a mobile robot in accordance with a preferred embodiment of the present application
  • FIG. 4 shows a schematic diagram of an apparatus for a mobile robot building structure map in accordance with another aspect of the present application.
  • the terminal, the device of the service network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • processors CPUs
  • input/output interfaces network interfaces
  • memory volatile and non-volatile memory
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory, such as read only memory (ROM) or flash memory (flashRAM), in a computer readable medium.
  • RAM random access memory
  • ROM read only memory
  • flashRAM flash memory
  • Memory is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology.
  • the information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage,
  • computer readable media does not include non-transitory computer readable media, such as modulated data signals and carrier waves.
  • FIG. 1 illustrates a method for a mobile robot to construct a structure map, in accordance with an aspect of the present application, wherein the method includes:
  • S13 constructs a structure map based on the interconnection relationship between the nodes.
  • the sampling pose of the mobile robot is acquired, where the pose is used to represent the position information of the mobile robot, and the sample pose is in the motion process of the mobile robot.
  • the pose of the mobile robot is sampled, and in this way, a large number of sample poses of the mobile robot during the motion can be acquired, so as to form a basis for constructing the structure map.
  • the S11 comprises: acquiring a sampling pose of the mobile robot when a preset condition is met.
  • the preset condition includes at least one of the following: reaching a preset sampling time interval; reaching a preset sampling distance threshold.
  • a sampling time interval may be set. After the sampling time interval is reached, the posture of the mobile robot is sampled to obtain a sampling pose, or a sampling distance threshold may be set, that is, After the mobile robot moves the preset distance, the pose of the mobile robot is sampled to obtain a sample pose.
  • the preset condition is only an example, and other existing or future preset conditions may be included in the scope of protection of the present application, and are hereby incorporated by reference. this.
  • the node corresponding to the sample pose is generated on the map based on the sample pose.
  • the node corresponding to the sampled pose is generated on the map corresponding to the sampled pose, that is, there are many nodes on the structure map for corresponding to the mobile robot.
  • the sampling pose generated during the movement can visually present the corresponding sampling pose on the map, which is convenient for path planning.
  • a structure map is constructed based on the interconnection relationship between the nodes.
  • the interconnection relationship is used to indicate that nodes can be reached through a certain path, that is, if two nodes can be reached through a certain path, then there is an interconnection relationship between the two nodes.
  • the certain path represents a path that can be reached directly or indirectly, in such a way as to form a map structure similar to a mesh.
  • the step S13 includes: S131 (not shown) detecting whether there is an interconnection relationship between the nodes, wherein the interconnection relationship refers to the mobile robot performing a straight line between the nodes There is no obstacle blocking of the motion; S132 (not shown) stores the interconnection relationship between the node and other nodes in each node when the interconnection relationship exists; S133 (not shown) is based on the mutual Connect relationships and build structural maps.
  • the step S131 it is detected whether the nodes can directly arrive, that is, whether the nodes are free from obstacles between the nodes, and can be directly reached.
  • the map can be advanced in advance. The obstacles are identified, and then the nodes are connected by two or two. When the obstacles are not passed, it is determined that the two nodes have a mutual connection relationship.
  • the interconnection relationship between the node and other nodes is stored in each node, for example, there are three nodes, and when the node 1 can If you reach node 2 and node 3 directly, node 2 and node 3 will be stored at node 1. Correspondingly, node 2 and node 3 will also store node 1. That is, this way stores the neighbor nodes of the node at each node to form a set of neighbor nodes.
  • a structure map is constructed based on the interconnection relationship.
  • a preferred embodiment of a mobile robot building structure map is shown, in which, as shown, a corresponding node is first generated in the map by pose sampling, in this embodiment A is listed. , B, C, D, E five nodes, wherein there is a mutual connection between the A node and the B node, which can be directly reached, and there is a mutual connection between the C node and the B node, the D node, and the E node, and the D node There is an interconnection relationship with the E node, and the nodes having the interconnection relationship are connected to form a structure map as shown in FIG. 2. Among them, other nodes in which the interconnection relationship exists are stored correspondingly at each node.
  • the method further includes: S14 (not shown) acquiring a current pose and a target pose of the mobile robot; S15 (not shown) according to the current pose and the target pose The positional relationship of the nodes on the structure map determines an optimal path to the target pose.
  • the mobile robot can perform path planning according to the structural map.
  • the current pose and the target pose of the mobile robot are acquired, so as to perform path planning according to the current pose and the target pose.
  • the current pose and the target pose are mapped to corresponding positions in the structure map, and according to the position and the position of the node on the structure map. Relationship, determining the optimal path to the target pose.
  • the step S15 includes: determining a corresponding current node and a destination node on the structure map according to the current pose and the target pose; and interconnecting nodes according to the structure map Relationship, determining the optimal path to the target pose.
  • the node where the current pose is located is the current node
  • the node corresponding to the target pose is the destination node, and then according to each The connection relationship between the nodes determines the optimal path, for example, searching for the qualified path in the structure map by the shortest path search algorithm.
  • the current pose and the target pose do not exactly correspond to the node position in the structure map
  • the current pose and the target pose are mapped to the node closest to them.
  • the optimal path is selected. As shown in FIG. 3, the current pose is closer to the node D, and the destination pose is closer to the node B, then the current node is determined to be the node D, and the destination node is the node B.
  • the mobile robot can be controlled to correspond to the node D first, and the destination pose first corresponds to the node B, and then the optimal path is selected, for example, first to the node D and then to the node C, and then to the node B. Purpose pose.
  • the present application Compared with the prior art, the present application generates a sampling pose of a mobile robot, and then generates a node corresponding to the sampled pose on the map based on the sampled pose, and further based on the interconnection relationship between the nodes. Build a structure map. Structured maps constructed this way can be more easily used for path planning.
  • FIG. 4 shows an apparatus 1 for a mobile robot building structure map according to another aspect of the present application, wherein the apparatus 1 comprises:
  • a first device configured to acquire a sampling pose of the mobile robot
  • a second device configured to generate, on the map, a node corresponding to the sampled pose based on the sampled pose
  • a third device configured to construct a structural map based on the interconnection relationship between the nodes.
  • the first device of the device 1 acquires a sampling pose of the mobile robot, where the pose is used to represent position information of the mobile robot, and the sample pose is motion of the mobile robot In the process, the pose of the mobile robot is sampled, and in this way, a large number of sample poses of the mobile robot during the motion can be acquired, so as to form a basis for constructing the structure map.
  • the device 1 comprises a device that controls the mobile robot or the mobile robot itself.
  • the first device is configured to acquire a sampling pose of the mobile robot when the preset condition is met.
  • the preset condition includes at least one of the following: reaching a preset sampling time interval; reaching a preset sampling distance threshold.
  • a sampling time interval may be set.
  • the first device samples the posture of the mobile robot to obtain a sampling pose, or may also set a sampling distance.
  • the threshold that is, after the mobile robot moves a preset distance, samples the pose of the mobile robot to obtain a sample pose.
  • the preset condition is only an example, and other existing or future preset conditions may be included in the scope of protection of the present application, and are hereby incorporated by reference. this.
  • the second device generates a node corresponding to the sample pose based on the sample pose based on the sample pose.
  • the first device after acquiring the sampled pose, the first device generates a node corresponding to the sampled pose in a position corresponding to the sampled pose on the map, that is, there are many nodes on the structure map. It is used to correspond to the sampling pose generated by the mobile robot during the movement process, so that the corresponding sampling pose can be visually presented on the map, which is convenient for path planning.
  • the third device constructs a structural map based on the interconnection relationship between the nodes.
  • the interconnection relationship is used to indicate that nodes can be reached through a certain path, that is, if two nodes can be reached through a certain path, then there is an interconnection relationship between the two nodes.
  • the certain path represents a path that can be reached directly or indirectly, in such a way as to form a map structure similar to a mesh.
  • the third device comprises: a first unit (not shown) for detecting whether there is an interconnection relationship between the nodes, wherein the interconnection relationship refers to the mobile robot in the The linear motion between the nodes does not block the obstacle; the second unit (not shown) is used to store the interconnection relationship between the node and other nodes in each node when the interconnection relationship exists. a third unit (not shown) for constructing a structural map based on the interconnection relationship.
  • the first unit of the third device detects whether the nodes can reach directly, that is, whether the nodes are free from obstacles between the nodes, and can arrive directly, specifically, in the map.
  • the obstacles can be identified in advance, and then the nodes are connected in pairs. When the obstacles are not passed, it is determined that the two nodes have a mutual connection relationship.
  • the second unit stores the interconnection relationship between the node and other nodes in each node when there is the interconnection relationship, for example, there are three nodes, and when the node 1 can directly reach Nodes 2 and 3 will store nodes 2 and 3 at node 1, and correspondingly nodes 2 and 3 will also store node 1. That is, this way stores the neighbor nodes of the node at each node to form a set of neighbor nodes.
  • the third unit constructs a structural map based on the interconnection relationship.
  • a preferred embodiment of a mobile robot building structure map is shown, in which, as shown, a corresponding node is first generated in the map by pose sampling, in this embodiment A is listed. , B, C, D, E five nodes, wherein there is a mutual connection between the A node and the B node, which can be directly reached, and there is a mutual connection between the C node and the B node, the D node, and the E node, and the D node There is an interconnection relationship with the E node, and the nodes having the interconnection relationship are connected to form a structure map as shown in FIG. 2. Among them, other nodes in which the interconnection relationship exists are stored correspondingly at each node.
  • the method further includes: a fourth device (not shown) for acquiring a current pose and a target pose of the mobile robot; and a fifth device (not shown) for The current pose and the positional relationship between the target pose and the nodes on the structure map determine an optimal path to the target pose.
  • a fourth device for acquiring a current pose and a target pose of the mobile robot
  • a fifth device for The current pose and the positional relationship between the target pose and the nodes on the structure map determine an optimal path to the target pose.
  • the mobile robot can perform path planning according to the structural map.
  • the fourth device acquires a current pose and a target pose of the mobile robot, so as to perform path planning according to the current pose and the target pose.
  • the fifth device maps the current pose and the target pose to corresponding positions in the structure map, and according to the positional relationship with the node on the structure map, Determine the optimal path to the target pose.
  • the fifth device is configured to: determine, according to the current pose and the target pose, a corresponding current node and a destination node on the structure map; according to the structure between the nodes on the map The interconnection relationship determines an optimal path to the target pose.
  • the node where the current pose is located is the current node
  • the node corresponding to the target pose is the destination node, and then according to each The connection relationship between the nodes determines the optimal path, for example, searching for the qualified path in the structure map by the shortest path search algorithm.
  • the current pose and the target pose do not exactly correspond to the node position in the structure map
  • the current pose and the target pose are mapped to the node closest to them.
  • the optimal path is selected. As shown in FIG. 3, the current pose is closer to the node D, and the destination pose is closer to the node B, then the current node is determined to be the node D, and the destination node is the node B.
  • the mobile robot can be controlled to correspond to the node D first, and the destination pose first corresponds to the node B, and then the optimal path is selected, for example, first to the node D and then to the node C, and then to the node B. Purpose pose.
  • the present application Compared with the prior art, the present application generates a sampling pose of a mobile robot, and then generates a node corresponding to the sampled pose on the map based on the sampled pose, and further based on the interconnection relationship between the nodes. Build a structure map. Structured maps constructed this way can be more easily used for path planning.

Landscapes

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

Abstract

A method and device for constructing a structure map for a mobile robot. The method for constructing a structure map for a mobile robot comprises: obtaining sampling poses of a mobile robot (S11); generating nodes corresponding to the sampling poses in a map, based on the sampling poses (S12); and constructing a structure map, based on a connection relationship among the nodes (S13). The structure map constructed by using the method is more convenient for path planning.

Description

移动机器人构建结构地图的方法与设备Method and device for constructing structural map of mobile robot 技术领域Technical field

本申请涉及计算机技术领域,尤其涉及一种移动机器人构建结构地图的技术。The present application relates to the field of computer technology, and in particular, to a technology for constructing a structure map of a mobile robot.

背景技术Background technique

目前,移动机器人的使用越来越普遍,主要包括家庭服务类和商场导购类机器人,而对于周围环境地图的构建是其实现移动服务的关键,现有的移动机器人构建的环境地图存在与真实情况不符的问题,而且不能方便的进行路径规划。At present, the use of mobile robots is more and more common, mainly including home service classes and shopping malls, and the construction of surrounding environment maps is the key to realizing mobile services. The existence and real situation of existing mobile robots Inconsistent problems, and the path planning is not convenient.

发明内容Summary of the invention

本申请的目的是提供一种用于移动机器人构建结构地图的方法与设备。It is an object of the present application to provide a method and apparatus for a mobile robot to construct a structural map.

根据本申请的一个方面,提供了一种用于移动机器人构建结构地图的方法,其中,该方法包括:According to an aspect of the present application, a method for a mobile robot to construct a structure map is provided, wherein the method includes:

获取移动机器人的采样位姿;Obtaining the sampling pose of the mobile robot;

基于所述采样位姿在地图上生成所述采样位姿对应的节点;Generating a node corresponding to the sampled pose on the map based on the sampled pose;

基于所述节点之间的相互连接关系,构建结构地图。A structural map is constructed based on the interconnection relationship between the nodes.

进一步地,其中,所述基于所述节点之间的相互连接关系,构建结构地图包括:Further, wherein the constructing the structure map based on the interconnection relationship between the nodes comprises:

检测所述节点之间是否存在相互连接关系,其中,所述相互连接关系是指所述移动机器人在所述节点之间进行直线运动不会存在障碍物的阻挡;Detecting whether there is an interconnection relationship between the nodes, wherein the interconnection relationship refers to that the mobile robot performs linear motion between the nodes without blocking of an obstacle;

当存在所述相互连接关系,在每个节点存储该节点与其他节点之间的相互连接关系;When the interconnection relationship exists, the interconnection relationship between the node and other nodes is stored in each node;

基于所述相互连接关系,构建结构地图。A structure map is constructed based on the interconnection relationship.

进一步地,其中,所述方法还包括:Further, the method further includes:

获取所述移动机器人的当前位姿及目的位姿;Obtaining a current pose and a target pose of the mobile robot;

根据所述当前位姿以及所述目的位姿与所述结构地图上的节点的位置关 系,确定到达所述目的位姿的最优路径。And determining an optimal path to the target pose according to the current pose and the positional relationship between the target pose and the node on the structure map.

进一步地,其中,所述根据所述当前位姿以及所述目的位姿与所述结构地图上的节点的位置关系,确定到达所述目的位姿的最优路径包括:Further, the determining, according to the current pose and the positional relationship between the target pose and the node on the structure map, determining an optimal path to the target pose includes:

根据所述当前位姿以及所述目的位姿在所述结构地图上确定对应的当前节点及目的节点;Determining a corresponding current node and a destination node on the structure map according to the current pose and the target pose;

根据所述结构地图上节点之间的相互连接关系,确定到达所述目的位姿的最优路径。Determining an optimal path to the target pose according to the interconnection relationship between the nodes on the structure map.

进一步地,其中,所述获取移动机器人的采样位姿包括:Further, wherein the acquiring the sample pose of the mobile robot comprises:

当满足预设条件,获取移动机器人的采样位姿;Obtaining a sampling pose of the mobile robot when the preset condition is met;

其中,所述预设条件包括以下至少任一项:The preset condition includes at least one of the following:

达到预设采样时间间隔;The preset sampling time interval is reached;

达到预设采样距离阈值。The preset sampling distance threshold is reached.

根据本申请的另一个方面,还提供了一种用于移动机器人构建结构地图的设备,其中,该设备包括:According to another aspect of the present application, there is also provided an apparatus for a mobile robot to construct a structure map, wherein the apparatus comprises:

第一装置,用于获取移动机器人的采样位姿;a first device, configured to acquire a sampling pose of the mobile robot;

第二装置,用于基于所述采样位姿在地图上生成所述采样位姿对应的节点;a second device, configured to generate, on the map, a node corresponding to the sampled pose based on the sampled pose;

第三装置,用于基于所述节点之间的相互连接关系,构建结构地图。And a third device, configured to construct a structural map based on the interconnection relationship between the nodes.

进一步地,其中,其中,所述第三装置包括:Further, wherein the third device comprises:

第一单元,用于检测所述节点之间是否存在相互连接关系,其中,所述相互连接关系是指所述移动机器人在所述节点之间进行直线运动不会存在障碍物的阻挡;a first unit, configured to detect whether there is an interconnection relationship between the nodes, where the interconnection relationship refers to that the mobile robot performs linear motion between the nodes without obstruction of an obstacle;

第二单元,用于当存在所述相互连接关系,在每个节点存储该节点与其他节点之间的相互连接关系;a second unit, configured to store, in each node, an interconnection relationship between the node and other nodes when the interconnection relationship exists;

第三单元,用于基于所述相互连接关系,构建结构地图。The third unit is configured to construct a structure map based on the interconnection relationship.

进一步地,其中,所述第五装置用于:Further, wherein the fifth device is used to:

根据所述当前位姿以及所述目的位姿在所述结构地图上确定对应的当前节点及目的节点;Determining a corresponding current node and a destination node on the structure map according to the current pose and the target pose;

根据所述结构地图上节点之间的相互连接关系,确定到达所述目的位姿 的最优路径。An optimal path to the target pose is determined according to the interconnection relationship between the nodes on the structure map.

进一步地,其中,所述第一装置用于:Further, wherein the first device is used to:

当满足预设条件,获取移动机器人的采样位姿;Obtaining a sampling pose of the mobile robot when the preset condition is met;

其中,所述预设条件包括以下至少任一项:The preset condition includes at least one of the following:

达到预设采样时间间隔;The preset sampling time interval is reached;

达到预设采样距离阈值。The preset sampling distance threshold is reached.

与现有技术相比,本申请通过获取移动机器人的采样位姿,然后基于所述采样位姿在地图上生成所述采样位姿对应的节点,进而基于所述节点之间的相互连接关系,构建结构地图。这种方式构建的结构地图能够更方便的用于路径规划。Compared with the prior art, the present application generates a sampling pose of a mobile robot, and then generates a node corresponding to the sampled pose on the map based on the sampled pose, and further based on the interconnection relationship between the nodes. Build a structure map. Structured maps constructed this way can be more easily used for path planning.

附图说明DRAWINGS

通过阅读参照以下附图所作的对非限制性实施例所作的详细描述,本发明的其它特征、目的和优点将会变得更明显:Other features, objects, and advantages of the present invention will become more apparent from the Detailed Description of Description

图1示出根据本申请一个方面的一种用于移动机器人构建结构地图的方法流程图;1 shows a flow chart of a method for a mobile robot to construct a structure map in accordance with an aspect of the present application;

图2示出根据本申请一个优选实施例的一种移动机器人构建结构地图的示意图;2 is a schematic diagram showing a mobile robot construction structure map according to a preferred embodiment of the present application;

图3示出根据本申请一个优选实施例的一种用于移动机器人路径规划的示意图;3 shows a schematic diagram of a path planning for a mobile robot in accordance with a preferred embodiment of the present application;

图4示出根据本申请另一个方面的一种用于移动机器人构建结构地图的设备示意图。4 shows a schematic diagram of an apparatus for a mobile robot building structure map in accordance with another aspect of the present application.

附图中相同或相似的附图标记代表相同或相似的部件。The same or similar reference numerals in the drawings denote the same or similar components.

具体实施方式Detailed ways

下面结合附图对本发明作进一步详细描述。The invention is further described in detail below with reference to the accompanying drawings.

在本申请一个典型的配置中,终端、服务网络的设备和可信方均包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。In a typical configuration of the present application, the terminal, the device of the service network, and the trusted party each include one or more processors (CPUs), input/output interfaces, network interfaces, and memory.

内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器 (RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flashRAM)。内存是计算机可读介质的示例。The memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory, such as read only memory (ROM) or flash memory (flashRAM), in a computer readable medium. Memory is an example of a computer readable medium.

计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非暂存电脑可读媒体(transitory media),如调制的数据信号和载波。Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, A magnetic tape cartridge, magnetic tape storage or other magnetic storage device or any other non-transportable medium that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-transitory computer readable media, such as modulated data signals and carrier waves.

为更进一步阐述本申请所采取的技术手段及取得的效果,下面结合附图及较佳实施例,对本申请的技术方案,进行清楚和完整的描述。The technical solutions of the present application will be clearly and completely described in the following with reference to the accompanying drawings and preferred embodiments.

图1示出根据本申请一个方面的一种用于移动机器人构建结构地图的方法,其中,所述方法包括:1 illustrates a method for a mobile robot to construct a structure map, in accordance with an aspect of the present application, wherein the method includes:

S11获取移动机器人的采样位姿;S11 obtains a sampling pose of the mobile robot;

S12基于所述采样位姿在地图上生成所述采样位姿对应的节点;S12: generating, according to the sampled pose, a node corresponding to the sampled pose on a map;

S13基于所述节点之间的相互连接关系,构建结构地图。S13 constructs a structure map based on the interconnection relationship between the nodes.

在该实施例中,在所述步骤S11中,获取移动机器人的采样位姿,在此,所述位姿用于表示所述移动机器人的位置信息,所述采样位姿是在移动机器人运动过程中进行对该移动机器人的位姿进行采样获得的,通过这样的方式能够获取移动机器人在运动过程中的大量的采样位姿,以为构建结构地图做基础。In this embodiment, in the step S11, the sampling pose of the mobile robot is acquired, where the pose is used to represent the position information of the mobile robot, and the sample pose is in the motion process of the mobile robot. In this way, the pose of the mobile robot is sampled, and in this way, a large number of sample poses of the mobile robot during the motion can be acquired, so as to form a basis for constructing the structure map.

优选地,其中,所述S11包括:当满足预设条件,获取移动机器人的采样位姿。在此,所述预设条件包括以下至少任一项:达到预设采样时间间隔;达到预设采样距离阈值。Preferably, wherein the S11 comprises: acquiring a sampling pose of the mobile robot when a preset condition is met. Here, the preset condition includes at least one of the following: reaching a preset sampling time interval; reaching a preset sampling distance threshold.

也即在移动机器人运动过程中,可以设置采样时间间隔,当达到该采样 时间间隔后,对所述移动机器人的位姿进行采样,获得采样位姿,或者还可以设置采样距离阈值,即当所述移动机器人运动了预设距离后,对所述移动机器人的位姿进行采样,获得采样位姿。在此,所述预设条件仅为举例,其他现有的或者今后可能出现的预设条件如适用于本申请,也应包含在本申请的保护范围内,在此,以引用的方式包含于此。That is, during the movement of the mobile robot, a sampling time interval may be set. After the sampling time interval is reached, the posture of the mobile robot is sampled to obtain a sampling pose, or a sampling distance threshold may be set, that is, After the mobile robot moves the preset distance, the pose of the mobile robot is sampled to obtain a sample pose. Here, the preset condition is only an example, and other existing or future preset conditions may be included in the scope of protection of the present application, and are hereby incorporated by reference. this.

继续在该实施例中,在所述步骤S12中,基于所述采样位姿在地图上生成所述采样位姿对应的节点。在该实施例中,在获取到采样位姿后,在地图上对应采样位姿的地方生成所述采样位姿对应的节点,也即在该结构地图上会存在很多节点,用以对应移动机器人在运动过程中所产生的采样位姿,这样可以直观的在地图上呈现出对应的采样位姿,便于进行路径规划。Continuing in this embodiment, in the step S12, the node corresponding to the sample pose is generated on the map based on the sample pose. In this embodiment, after the sampling pose is acquired, the node corresponding to the sampled pose is generated on the map corresponding to the sampled pose, that is, there are many nodes on the structure map for corresponding to the mobile robot. The sampling pose generated during the movement can visually present the corresponding sampling pose on the map, which is convenient for path planning.

继续在该实施例中,在所述步骤S13中,基于所述节点之间的相互连接关系,构建结构地图。在此,所述相互连接关系用以表示节点之间通过一定的路径可以到达,也即如果两个节点之间通过一定的路径能够到达的话,那么该两个节点之间存在相互连接关系,在此,所述一定的路径代表可以直接到达或者间接到达的路径,通过这种方式从而形成一个类似于网状的地图结构形式。Continuing in this embodiment, in the step S13, a structure map is constructed based on the interconnection relationship between the nodes. Here, the interconnection relationship is used to indicate that nodes can be reached through a certain path, that is, if two nodes can be reached through a certain path, then there is an interconnection relationship between the two nodes. Thus, the certain path represents a path that can be reached directly or indirectly, in such a way as to form a map structure similar to a mesh.

优选地,其中,所述步骤S13包括:S131(未示出)检测所述节点之间是否存在相互连接关系,其中,所述相互连接关系是指所述移动机器人在所述节点之间进行直线运动不会存在障碍物的阻挡;S132(未示出)当存在所述相互连接关系,在每个节点存储该节点与其他节点之间的相互连接关系;S133(未示出)基于所述相互连接关系,构建结构地图。Preferably, the step S13 includes: S131 (not shown) detecting whether there is an interconnection relationship between the nodes, wherein the interconnection relationship refers to the mobile robot performing a straight line between the nodes There is no obstacle blocking of the motion; S132 (not shown) stores the interconnection relationship between the node and other nodes in each node when the interconnection relationship exists; S133 (not shown) is based on the mutual Connect relationships and build structural maps.

在该实施例中,在所述步骤S131中,检测所述节点之间是否能够直接到达,也即所述节点两两之间是否无障碍物,可以直接到达,具体地,在地图中可以提前标识出障碍物,然后节点之间进行两两连接,当不经过障碍物时,确定该两个节点存在相互连接关系。In this embodiment, in the step S131, it is detected whether the nodes can directly arrive, that is, whether the nodes are free from obstacles between the nodes, and can be directly reached. Specifically, the map can be advanced in advance. The obstacles are identified, and then the nodes are connected by two or two. When the obstacles are not passed, it is determined that the two nodes have a mutual connection relationship.

继续在该实施例中,在所述步骤S132中,当存在所述相互连接关系,在每个节点存储该节点与其他节点之间的相互连接关系,例如,有三个节点,当1号节点能够直接到达2号节点和3号节点,则在该1号节点处会存储2号节点和3号节点,相应地,2号节点和3号节点也会存储该1号节点。也 即,这种方式会在每个节点处将该节点的邻居节点进行存储,形成邻居节点集合。Continuing in this embodiment, in the step S132, when the interconnection relationship exists, the interconnection relationship between the node and other nodes is stored in each node, for example, there are three nodes, and when the node 1 can If you reach node 2 and node 3 directly, node 2 and node 3 will be stored at node 1. Correspondingly, node 2 and node 3 will also store node 1. That is, this way stores the neighbor nodes of the node at each node to form a set of neighbor nodes.

继续在该实施例中,在所述步骤S133中,基于所述相互连接关系,构建结构地图。Continuing in this embodiment, in the step S133, a structure map is constructed based on the interconnection relationship.

如图2,示出一种移动机器人构建结构地图的优选实施例,在该实施中,如图所示,首先通过位姿采样,在地图中生成相应的节点,在该实施例中列举了A、B、C、D、E五个节点,其中,A节点和B节点之间存在相互连接关系,可以直接到达,C节点和B节点、D节点、E节点之间存在相互连接关系,D节点和E节点之间存在相互连接关系,将存在相互连接关系的节点进行连接,则构成如图2所示的结构地图。其中,在每个节点处会相应地存储有存在相互连接关系的其他节点。2, a preferred embodiment of a mobile robot building structure map is shown, in which, as shown, a corresponding node is first generated in the map by pose sampling, in this embodiment A is listed. , B, C, D, E five nodes, wherein there is a mutual connection between the A node and the B node, which can be directly reached, and there is a mutual connection between the C node and the B node, the D node, and the E node, and the D node There is an interconnection relationship with the E node, and the nodes having the interconnection relationship are connected to form a structure map as shown in FIG. 2. Among them, other nodes in which the interconnection relationship exists are stored correspondingly at each node.

优选地,其中,所述方法还包括:S14(未示出)获取所述移动机器人的当前位姿及目的位姿;S15(未示出)根据所述当前位姿以及所述目的位姿与所述结构地图上的节点的位置关系,确定到达所述目的位姿的最优路径。Preferably, the method further includes: S14 (not shown) acquiring a current pose and a target pose of the mobile robot; S15 (not shown) according to the current pose and the target pose The positional relationship of the nodes on the structure map determines an optimal path to the target pose.

在该实施例中,当结构地图构建好了之后,所述移动机器人可以根据该结构地图进行路径规划。在所述步骤S14中,获取所述移动机器人的当前位姿及目的位姿,以便于根据所述当前位姿及目的位姿进行路径规划。In this embodiment, after the structural map is constructed, the mobile robot can perform path planning according to the structural map. In the step S14, the current pose and the target pose of the mobile robot are acquired, so as to perform path planning according to the current pose and the target pose.

继续在该实施例中,在所述步骤S15中,将所述当前位姿以及所述目的位姿对应到结构地图中的相应位置,并根据该位置与与所述结构地图上的节点的位置关系,确定到达所述目的位姿的最优路径。Continuing in this embodiment, in the step S15, the current pose and the target pose are mapped to corresponding positions in the structure map, and according to the position and the position of the node on the structure map. Relationship, determining the optimal path to the target pose.

优选地,其中,所述步骤S15包括:根据所述当前位姿以及所述目的位姿在所述结构地图上确定对应的当前节点及目的节点;根据所述结构地图上节点之间的相互连接关系,确定到达所述目的位姿的最优路径。Preferably, the step S15 includes: determining a corresponding current node and a destination node on the structure map according to the current pose and the target pose; and interconnecting nodes according to the structure map Relationship, determining the optimal path to the target pose.

若所述当前位姿以及所述目的位姿正好对应到该结构地图中的节点的位置,在确定当前位姿所在的节点为当前节点,而目的位姿对应的节点为目的节点,再根据各个节点之间的连接关系,确定最优路径,例如,通过最短路径搜索算法在该结构地图中搜索出符合条件的路径。If the current pose and the target pose correspond to the position of the node in the structure map, determine that the node where the current pose is located is the current node, and the node corresponding to the target pose is the destination node, and then according to each The connection relationship between the nodes determines the optimal path, for example, searching for the qualified path in the structure map by the shortest path search algorithm.

例如,在图2所示的地图中,若当前位姿在B节点处,目的位姿在E节点处,则由于从B节点到达E节点的路径有:B-C-E及B-C-D-E两种,因此 可以选取较短的路径,先到C节点再到E节点即可。For example, in the map shown in FIG. 2, if the current pose is at the B node and the destination pose is at the E node, since the path from the Node B to the E node is: BCE and BCDE, it is possible to select For short paths, go to the C node and then to the E node.

在另一个实施例中,当所述当前位姿以及所述目的位姿不会正好对应到结构地图中的节点位置,则将该当前位姿以及所述目的位姿对应到距离它们最近的节点处,然后再选取最优路径,如图3所示,当前位姿距离节点D较近,而目的位姿距离节点B较近,则确定当前节点为节点D,而目的节点为节点B,因此,可以控制所述移动机器人先对应到节点D处,而目的位姿先对应到节点B处,然后再选出最优路径,例如,先到节点D再到节点C,然后到节点B最后达到目的位姿。In another embodiment, when the current pose and the target pose do not exactly correspond to the node position in the structure map, the current pose and the target pose are mapped to the node closest to them. Then, the optimal path is selected. As shown in FIG. 3, the current pose is closer to the node D, and the destination pose is closer to the node B, then the current node is determined to be the node D, and the destination node is the node B. The mobile robot can be controlled to correspond to the node D first, and the destination pose first corresponds to the node B, and then the optimal path is selected, for example, first to the node D and then to the node C, and then to the node B. Purpose pose.

与现有技术相比,本申请通过获取移动机器人的采样位姿,然后基于所述采样位姿在地图上生成所述采样位姿对应的节点,进而基于所述节点之间的相互连接关系,构建结构地图。这种方式构建的结构地图能够更方便的用于路径规划。Compared with the prior art, the present application generates a sampling pose of a mobile robot, and then generates a node corresponding to the sampled pose on the map based on the sampled pose, and further based on the interconnection relationship between the nodes. Build a structure map. Structured maps constructed this way can be more easily used for path planning.

图4示出根据本申请另一个方面的一种用于移动机器人构建结构地图的设备1,其中,所述设备1包括:4 shows an apparatus 1 for a mobile robot building structure map according to another aspect of the present application, wherein the apparatus 1 comprises:

第一装置,用于获取移动机器人的采样位姿;a first device, configured to acquire a sampling pose of the mobile robot;

第二装置,用于基于所述采样位姿在地图上生成所述采样位姿对应的节点;a second device, configured to generate, on the map, a node corresponding to the sampled pose based on the sampled pose;

第三装置,用于基于所述节点之间的相互连接关系,构建结构地图。And a third device, configured to construct a structural map based on the interconnection relationship between the nodes.

在该实施例中,所述设备1的第一装置获取移动机器人的采样位姿,在此,所述位姿用于表示所述移动机器人的位置信息,所述采样位姿是在移动机器人运动过程中进行对该移动机器人的位姿进行采样获得的,通过这样的方式能够获取移动机器人在运动过程中的大量的采样位姿,以为构建结构地图做基础。在此,所述设备1包括控制所述移动机器人的设备或者是所述移动机器人本身。In this embodiment, the first device of the device 1 acquires a sampling pose of the mobile robot, where the pose is used to represent position information of the mobile robot, and the sample pose is motion of the mobile robot In the process, the pose of the mobile robot is sampled, and in this way, a large number of sample poses of the mobile robot during the motion can be acquired, so as to form a basis for constructing the structure map. Here, the device 1 comprises a device that controls the mobile robot or the mobile robot itself.

优选地,其中,所述第一装置用于:当满足预设条件,获取移动机器人的采样位姿。在此,所述预设条件包括以下至少任一项:达到预设采样时间间隔;达到预设采样距离阈值。Preferably, wherein the first device is configured to acquire a sampling pose of the mobile robot when the preset condition is met. Here, the preset condition includes at least one of the following: reaching a preset sampling time interval; reaching a preset sampling distance threshold.

也即在移动机器人运动过程中,可以设置采样时间间隔,当达到该采样时间间隔后,所述第一装置对所述移动机器人的位姿进行采样,获得采样位 姿,或者还可以设置采样距离阈值,即当所述移动机器人运动了预设距离后,对所述移动机器人的位姿进行采样,获得采样位姿。在此,所述预设条件仅为举例,其他现有的或者今后可能出现的预设条件如适用于本申请,也应包含在本申请的保护范围内,在此,以引用的方式包含于此。That is, during the movement of the mobile robot, a sampling time interval may be set. After the sampling time interval is reached, the first device samples the posture of the mobile robot to obtain a sampling pose, or may also set a sampling distance. The threshold, that is, after the mobile robot moves a preset distance, samples the pose of the mobile robot to obtain a sample pose. Here, the preset condition is only an example, and other existing or future preset conditions may be included in the scope of protection of the present application, and are hereby incorporated by reference. this.

继续在该实施例中,所述第二装置基于所述采样位姿在地图上生成所述采样位姿对应的节点。在该实施例中,所述第一装置在获取到采样位姿后,在地图上对应采样位姿的地方生成所述采样位姿对应的节点,也即在该结构地图上会存在很多节点,用以对应移动机器人在运动过程中所产生的采样位姿,这样可以直观的在地图上呈现出对应的采样位姿,便于进行路径规划。Continuing in this embodiment, the second device generates a node corresponding to the sample pose based on the sample pose based on the sample pose. In this embodiment, after acquiring the sampled pose, the first device generates a node corresponding to the sampled pose in a position corresponding to the sampled pose on the map, that is, there are many nodes on the structure map. It is used to correspond to the sampling pose generated by the mobile robot during the movement process, so that the corresponding sampling pose can be visually presented on the map, which is convenient for path planning.

继续在该实施例中,所述第三装置基于所述节点之间的相互连接关系,构建结构地图。在此,所述相互连接关系用以表示节点之间通过一定的路径可以到达,也即如果两个节点之间通过一定的路径能够到达的话,那么该两个节点之间存在相互连接关系,在此,所述一定的路径代表可以直接到达或者间接到达的路径,通过这种方式从而形成一个类似于网状的地图结构形式。Continuing in this embodiment, the third device constructs a structural map based on the interconnection relationship between the nodes. Here, the interconnection relationship is used to indicate that nodes can be reached through a certain path, that is, if two nodes can be reached through a certain path, then there is an interconnection relationship between the two nodes. Thus, the certain path represents a path that can be reached directly or indirectly, in such a way as to form a map structure similar to a mesh.

优选地,其中,所述第三装置包括:第一单元(未示出),用于检测所述节点之间是否存在相互连接关系,其中,所述相互连接关系是指所述移动机器人在所述节点之间进行直线运动不会存在障碍物的阻挡;第二单元(未示出),用于当存在所述相互连接关系,在每个节点存储该节点与其他节点之间的相互连接关系;第三单元(未示出),用于基于所述相互连接关系,构建结构地图。Preferably, wherein the third device comprises: a first unit (not shown) for detecting whether there is an interconnection relationship between the nodes, wherein the interconnection relationship refers to the mobile robot in the The linear motion between the nodes does not block the obstacle; the second unit (not shown) is used to store the interconnection relationship between the node and other nodes in each node when the interconnection relationship exists. a third unit (not shown) for constructing a structural map based on the interconnection relationship.

在该实施例中,所述第三装置的第一单元检测所述节点之间是否能够直接到达,也即所述节点两两之间是否无障碍物,可以直接到达,具体地,在地图中可以提前标识出障碍物,然后节点之间进行两两连接,当不经过障碍物时,确定该两个节点存在相互连接关系。In this embodiment, the first unit of the third device detects whether the nodes can reach directly, that is, whether the nodes are free from obstacles between the nodes, and can arrive directly, specifically, in the map. The obstacles can be identified in advance, and then the nodes are connected in pairs. When the obstacles are not passed, it is determined that the two nodes have a mutual connection relationship.

继续在该实施例中,所述第二单元当存在所述相互连接关系,在每个节点存储该节点与其他节点之间的相互连接关系,例如,有三个节点,当1号节点能够直接到达2号节点和3号节点,则在该1号节点处会存储2号节点和3号节点,相应地,2号节点和3号节点也会存储该1号节点。也即,这种方式会在每个节点处将该节点的邻居节点进行存储,形成邻居节点集合。Continuing in this embodiment, the second unit stores the interconnection relationship between the node and other nodes in each node when there is the interconnection relationship, for example, there are three nodes, and when the node 1 can directly reach Nodes 2 and 3 will store nodes 2 and 3 at node 1, and correspondingly nodes 2 and 3 will also store node 1. That is, this way stores the neighbor nodes of the node at each node to form a set of neighbor nodes.

继续在该实施例中,所述第三单元基于所述相互连接关系,构建结构地图。Continuing in this embodiment, the third unit constructs a structural map based on the interconnection relationship.

如图2,示出一种移动机器人构建结构地图的优选实施例,在该实施中,如图所示,首先通过位姿采样,在地图中生成相应的节点,在该实施例中列举了A、B、C、D、E五个节点,其中,A节点和B节点之间存在相互连接关系,可以直接到达,C节点和B节点、D节点、E节点之间存在相互连接关系,D节点和E节点之间存在相互连接关系,将存在相互连接关系的节点进行连接,则构成如图2所示的结构地图。其中,在每个节点处会相应地存储有存在相互连接关系的其他节点。2, a preferred embodiment of a mobile robot building structure map is shown, in which, as shown, a corresponding node is first generated in the map by pose sampling, in this embodiment A is listed. , B, C, D, E five nodes, wherein there is a mutual connection between the A node and the B node, which can be directly reached, and there is a mutual connection between the C node and the B node, the D node, and the E node, and the D node There is an interconnection relationship with the E node, and the nodes having the interconnection relationship are connected to form a structure map as shown in FIG. 2. Among them, other nodes in which the interconnection relationship exists are stored correspondingly at each node.

优选地,其中,所述方法还包括:第四装置(未示出),用于获取所述移动机器人的当前位姿及目的位姿;第五装置(未示出),用于根据所述当前位姿以及所述目的位姿与所述结构地图上的节点的位置关系,确定到达所述目的位姿的最优路径。Preferably, the method further includes: a fourth device (not shown) for acquiring a current pose and a target pose of the mobile robot; and a fifth device (not shown) for The current pose and the positional relationship between the target pose and the nodes on the structure map determine an optimal path to the target pose.

在该实施例中,当结构地图构建好了之后,所述移动机器人可以根据该结构地图进行路径规划。所述第四装置获取所述移动机器人的当前位姿及目的位姿,以便于根据所述当前位姿及目的位姿进行路径规划。In this embodiment, after the structural map is constructed, the mobile robot can perform path planning according to the structural map. The fourth device acquires a current pose and a target pose of the mobile robot, so as to perform path planning according to the current pose and the target pose.

继续在该实施例中,所述第五装置将所述当前位姿以及所述目的位姿对应到结构地图中的相应位置,并根据该位置与与所述结构地图上的节点的位置关系,确定到达所述目的位姿的最优路径。Continuing in this embodiment, the fifth device maps the current pose and the target pose to corresponding positions in the structure map, and according to the positional relationship with the node on the structure map, Determine the optimal path to the target pose.

优选地,其中,所述第五装置用于:根据所述当前位姿以及所述目的位姿在所述结构地图上确定对应的当前节点及目的节点;根据所述结构地图上节点之间的相互连接关系,确定到达所述目的位姿的最优路径。Preferably, the fifth device is configured to: determine, according to the current pose and the target pose, a corresponding current node and a destination node on the structure map; according to the structure between the nodes on the map The interconnection relationship determines an optimal path to the target pose.

若所述当前位姿以及所述目的位姿正好对应到该结构地图中的节点的位置,在确定当前位姿所在的节点为当前节点,而目的位姿对应的节点为目的节点,再根据各个节点之间的连接关系,确定最优路径,例如,通过最短路径搜索算法在该结构地图中搜索出符合条件的路径。If the current pose and the target pose correspond to the position of the node in the structure map, determine that the node where the current pose is located is the current node, and the node corresponding to the target pose is the destination node, and then according to each The connection relationship between the nodes determines the optimal path, for example, searching for the qualified path in the structure map by the shortest path search algorithm.

例如,在图2所示的地图中,若当前位姿在B节点处,目的位姿在E节点处,则由于从B节点到达E节点的路径有:B-C-E及B-C-D-E两种,因此可以选取较短的路径,先到C节点再到E节点即可。For example, in the map shown in FIG. 2, if the current pose is at the B node and the destination pose is at the E node, since the path from the Node B to the E node is: BCE and BCDE, it is possible to select For short paths, go to the C node and then to the E node.

在另一个实施例中,当所述当前位姿以及所述目的位姿不会正好对应到结构地图中的节点位置,则将该当前位姿以及所述目的位姿对应到距离它们最近的节点处,然后再选取最优路径,如图3所示,当前位姿距离节点D较近,而目的位姿距离节点B较近,则确定当前节点为节点D,而目的节点为节点B,因此,可以控制所述移动机器人先对应到节点D处,而目的位姿先对应到节点B处,然后再选出最优路径,例如,先到节点D再到节点C,然后到节点B最后达到目的位姿。In another embodiment, when the current pose and the target pose do not exactly correspond to the node position in the structure map, the current pose and the target pose are mapped to the node closest to them. Then, the optimal path is selected. As shown in FIG. 3, the current pose is closer to the node D, and the destination pose is closer to the node B, then the current node is determined to be the node D, and the destination node is the node B. The mobile robot can be controlled to correspond to the node D first, and the destination pose first corresponds to the node B, and then the optimal path is selected, for example, first to the node D and then to the node C, and then to the node B. Purpose pose.

与现有技术相比,本申请通过获取移动机器人的采样位姿,然后基于所述采样位姿在地图上生成所述采样位姿对应的节点,进而基于所述节点之间的相互连接关系,构建结构地图。这种方式构建的结构地图能够更方便的用于路径规划。Compared with the prior art, the present application generates a sampling pose of a mobile robot, and then generates a node corresponding to the sampled pose on the map based on the sampled pose, and further based on the interconnection relationship between the nodes. Build a structure map. Structured maps constructed this way can be more easily used for path planning.

对于本领域技术人员而言,显然本发明不限于上述示范性实施例的细节,而且在不背离本发明的精神或基本特征的情况下,能够以其他的具体形式实现本发明。因此,无论从哪一点来看,均应将实施例看作是示范性的,而且是非限制性的,本发明的范围由所附权利要求而不是上述说明限定,因此旨在将落在权利要求的等同要件的含义和范围内的所有变化涵括在本发明内。不应将权利要求中的任何附图标记视为限制所涉及的权利要求。此外,显然“包括”一词不排除其他单元或步骤,单数不排除复数。装置权利要求中陈述的多个单元或装置也可以由一个单元或装置通过软件或者硬件来实现。第一,第二等词语用来表示名称,而并不表示任何特定的顺序。It is apparent to those skilled in the art that the present invention is not limited to the details of the above-described exemplary embodiments, and the present invention can be embodied in other specific forms without departing from the spirit or essential characteristics of the invention. Therefore, the present embodiments are to be considered as illustrative and not restrictive, and the scope of the invention is defined by the appended claims instead All changes in the meaning and scope of equivalent elements are included in the present invention. Any reference signs in the claims should not be construed as limiting the claim. In addition, it is to be understood that the word "comprising" does not exclude other elements or steps. A plurality of units or devices recited in the device claims may also be implemented by a unit or device by software or hardware. The first, second, etc. words are used to denote names and do not denote any particular order.

Claims (10)

一种用于移动机器人构建结构地图的方法,其中,该方法包括:A method for a mobile robot to construct a structural map, wherein the method comprises: 获取移动机器人的采样位姿;Obtaining the sampling pose of the mobile robot; 基于所述采样位姿在地图上生成所述采样位姿对应的节点;Generating a node corresponding to the sampled pose on the map based on the sampled pose; 基于所述节点之间的相互连接关系,构建结构地图。A structural map is constructed based on the interconnection relationship between the nodes. 根据权利要求1所述的方法,其中,所述基于所述节点之间的相互连接关系,构建结构地图包括:The method of claim 1, wherein the constructing the structure map based on the interconnection relationship between the nodes comprises: 检测所述节点之间是否存在相互连接关系,其中,所述相互连接关系是指所述移动机器人在所述节点之间进行直线运动不会存在障碍物的阻挡;Detecting whether there is an interconnection relationship between the nodes, wherein the interconnection relationship refers to that the mobile robot performs linear motion between the nodes without blocking of an obstacle; 当存在所述相互连接关系,在每个节点存储该节点与其他节点之间的相互连接关系;When the interconnection relationship exists, the interconnection relationship between the node and other nodes is stored in each node; 基于所述相互连接关系,构建结构地图。A structure map is constructed based on the interconnection relationship. 根据权利要求1或2所述的方法,其中,所述方法还包括:The method of claim 1 or 2, wherein the method further comprises: 获取所述移动机器人的当前位姿及目的位姿;Obtaining a current pose and a target pose of the mobile robot; 根据所述当前位姿以及所述目的位姿与所述结构地图上的节点的位置关系,确定到达所述目的位姿的最优路径。And determining an optimal path to the target pose according to the current pose and the positional relationship between the target pose and the node on the structure map. 根据权利要求3所述的方法,其中,所述根据所述当前位姿以及所述目的位姿与所述结构地图上的节点的位置关系,确定到达所述目的位姿的最优路径包括:The method according to claim 3, wherein the determining the optimal path to the target pose according to the current pose and the positional relationship between the target pose and the node on the structure map comprises: 根据所述当前位姿以及所述目的位姿在所述结构地图上确定对应的当前节点及目的节点;Determining a corresponding current node and a destination node on the structure map according to the current pose and the target pose; 根据所述结构地图上节点之间的相互连接关系,确定到达所述目的位姿的最优路径。Determining an optimal path to the target pose according to the interconnection relationship between the nodes on the structure map. 根据权利要求1至4中任一项所述的方法,其中,所述获取移动机器人的采样位姿包括:The method according to any one of claims 1 to 4, wherein the acquiring the sample pose of the mobile robot comprises: 当满足预设条件,获取移动机器人的采样位姿;Obtaining a sampling pose of the mobile robot when the preset condition is met; 其中,所述预设条件包括以下至少任一项:The preset condition includes at least one of the following: 达到预设采样时间间隔;The preset sampling time interval is reached; 达到预设采样距离阈值。The preset sampling distance threshold is reached. 一种用于移动机器人构建结构地图的设备,其中,该设备包括:An apparatus for a mobile robot to construct a structural map, wherein the apparatus comprises: 第一装置,用于获取移动机器人的采样位姿;a first device, configured to acquire a sampling pose of the mobile robot; 第二装置,用于基于所述采样位姿在地图上生成所述采样位姿对应的节点;a second device, configured to generate, on the map, a node corresponding to the sampled pose based on the sampled pose; 第三装置,用于基于所述节点之间的相互连接关系,构建结构地图。And a third device, configured to construct a structural map based on the interconnection relationship between the nodes. 根据权利要求6所述的设备,其中,所述第三装置包括:The apparatus of claim 6 wherein said third means comprises: 第一单元,用于检测所述节点之间是否存在相互连接关系,其中,所述相互连接关系是指所述移动机器人在所述节点之间进行直线运动不会存在障碍物的阻挡;a first unit, configured to detect whether there is an interconnection relationship between the nodes, where the interconnection relationship refers to that the mobile robot performs linear motion between the nodes without obstruction of an obstacle; 第二单元,用于当存在所述相互连接关系,在每个节点存储该节点与其他节点之间的相互连接关系;a second unit, configured to store, in each node, an interconnection relationship between the node and other nodes when the interconnection relationship exists; 第三单元,用于基于所述相互连接关系,构建结构地图。The third unit is configured to construct a structure map based on the interconnection relationship. 根据权利要求6或7所述的设备,其中,所述设备还包括:The device according to claim 6 or 7, wherein the device further comprises: 第四装置,用于获取所述移动机器人的当前位姿及目的位姿;a fourth device, configured to acquire a current pose and a target pose of the mobile robot; 第五装置,用于根据所述当前位姿以及所述目的位姿与所述结构地图上的节点的位置关系,确定到达所述目的位姿的最优路径。And a fifth device, configured to determine an optimal path to the target pose according to the current pose and the positional relationship between the target pose and the node on the structure map. 根据权利要求8所述的设备,其中,所述第五装置用于:The apparatus of claim 8 wherein said fifth means is for: 根据所述当前位姿以及所述目的位姿在所述结构地图上确定对应的当前节点及目的节点;Determining a corresponding current node and a destination node on the structure map according to the current pose and the target pose; 根据所述结构地图上节点之间的相互连接关系,确定到达所述目的位姿的最优路径。Determining an optimal path to the target pose according to the interconnection relationship between the nodes on the structure map. 根据权利要求6至9中任一项所述的设备,其中,所述第一装置用于:Apparatus according to any one of claims 6 to 9 wherein said first means is for: 当满足预设条件,获取移动机器人的采样位姿;Obtaining a sampling pose of the mobile robot when the preset condition is met; 其中,所述预设条件包括以下至少任一项:The preset condition includes at least one of the following: 达到预设采样时间间隔;The preset sampling time interval is reached; 达到预设采样距离阈值。The preset sampling distance threshold is reached.
PCT/CN2018/106797 2017-10-25 2018-09-20 Method and device for constructing structure map for mobile robot Ceased WO2019080679A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201711006120.2A CN107806881A (en) 2017-10-25 2017-10-25 Mobile robot builds the method and apparatus of structure map
CN201711006120.2 2017-10-25

Publications (1)

Publication Number Publication Date
WO2019080679A1 true WO2019080679A1 (en) 2019-05-02

Family

ID=61592351

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/106797 Ceased WO2019080679A1 (en) 2017-10-25 2018-09-20 Method and device for constructing structure map for mobile robot

Country Status (2)

Country Link
CN (1) CN107806881A (en)
WO (1) WO2019080679A1 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110319832A (en) * 2019-07-05 2019-10-11 北京海益同展信息科技有限公司 Robot localization method, apparatus, electronic equipment and medium
US20210004015A1 (en) * 2019-07-05 2021-01-07 Lg Electronics Inc. Moving robot and control method thereof
CN113483749A (en) * 2021-07-06 2021-10-08 京东城市(北京)数字科技有限公司 Road network construction method and device, navigation equipment and robot
US11674809B2 (en) 2019-07-05 2023-06-13 Lg Electronics Inc. Moving robot and control method thereof
US11700989B2 (en) 2019-07-11 2023-07-18 Lg Electronics Inc. Mobile robot using artificial intelligence and controlling method thereof
US11774982B2 (en) 2019-07-11 2023-10-03 Lg Electronics Inc. Moving robot and control method thereof
US12093053B2 (en) 2019-07-16 2024-09-17 Lg Electronics Inc. Mobile robot and control method thereof

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107806881A (en) * 2017-10-25 2018-03-16 上海思岚科技有限公司 Mobile robot builds the method and apparatus of structure map

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120121161A1 (en) * 2010-09-24 2012-05-17 Evolution Robotics, Inc. Systems and methods for vslam optimization
CN105115497A (en) * 2015-09-17 2015-12-02 南京大学 A reliable indoor mobile robot precise navigation and positioning system and method
CN105487535A (en) * 2014-10-09 2016-04-13 东北大学 Mobile robot indoor environment exploration system and control method based on ROS
CN105841704A (en) * 2016-04-13 2016-08-10 京信通信系统(广州)有限公司 Determination method and device of moving path
CN106197421A (en) * 2016-06-24 2016-12-07 北京工业大学 A kind of forward position impact point for moving robot autonomous exploration generates method
CN106643721A (en) * 2016-10-11 2017-05-10 北京工业大学 Construction method of environmental topological map
CN107121142A (en) * 2016-12-30 2017-09-01 深圳市杉川机器人有限公司 The topological map creation method and air navigation aid of mobile robot
CN107806881A (en) * 2017-10-25 2018-03-16 上海思岚科技有限公司 Mobile robot builds the method and apparatus of structure map

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120121161A1 (en) * 2010-09-24 2012-05-17 Evolution Robotics, Inc. Systems and methods for vslam optimization
CN105487535A (en) * 2014-10-09 2016-04-13 东北大学 Mobile robot indoor environment exploration system and control method based on ROS
CN105115497A (en) * 2015-09-17 2015-12-02 南京大学 A reliable indoor mobile robot precise navigation and positioning system and method
CN105841704A (en) * 2016-04-13 2016-08-10 京信通信系统(广州)有限公司 Determination method and device of moving path
CN106197421A (en) * 2016-06-24 2016-12-07 北京工业大学 A kind of forward position impact point for moving robot autonomous exploration generates method
CN106643721A (en) * 2016-10-11 2017-05-10 北京工业大学 Construction method of environmental topological map
CN107121142A (en) * 2016-12-30 2017-09-01 深圳市杉川机器人有限公司 The topological map creation method and air navigation aid of mobile robot
CN107806881A (en) * 2017-10-25 2018-03-16 上海思岚科技有限公司 Mobile robot builds the method and apparatus of structure map

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110319832A (en) * 2019-07-05 2019-10-11 北京海益同展信息科技有限公司 Robot localization method, apparatus, electronic equipment and medium
US20210004015A1 (en) * 2019-07-05 2021-01-07 Lg Electronics Inc. Moving robot and control method thereof
US11674809B2 (en) 2019-07-05 2023-06-13 Lg Electronics Inc. Moving robot and control method thereof
US11774976B2 (en) * 2019-07-05 2023-10-03 Lg Electronics Inc. Moving robot and control method thereof
CN110319832B (en) * 2019-07-05 2024-05-17 京东科技信息技术有限公司 Robot positioning method, device, electronic equipment and medium
US11700989B2 (en) 2019-07-11 2023-07-18 Lg Electronics Inc. Mobile robot using artificial intelligence and controlling method thereof
US11774982B2 (en) 2019-07-11 2023-10-03 Lg Electronics Inc. Moving robot and control method thereof
US12093053B2 (en) 2019-07-16 2024-09-17 Lg Electronics Inc. Mobile robot and control method thereof
CN113483749A (en) * 2021-07-06 2021-10-08 京东城市(北京)数字科技有限公司 Road network construction method and device, navigation equipment and robot

Also Published As

Publication number Publication date
CN107806881A (en) 2018-03-16

Similar Documents

Publication Publication Date Title
WO2019080679A1 (en) Method and device for constructing structure map for mobile robot
US11647481B2 (en) IP address geo-position detection based on landmark sequencing
CN104833365B (en) A kind of Forecasting Methodology and device in customer objective place
US10747634B2 (en) System and method for utilizing machine-readable codes for testing a communication network
CN107807641B (en) Method for mobile robot obstacle avoidance
CN107817796B (en) Method and equipment for moving mobile robot in obstacle pasting mode
CN105051569A (en) Location determination for emergency services in wireless networks
US10972862B2 (en) Visitor insights based on hyper-locating places-of-interest
TW201528732A (en) Method and device for identifying proxy IP address
CN111678527B (en) Path network graph generation method and device, electronic equipment and storage medium
CN115561731B (en) Pose optimization method, point cloud map establishment method, computer device and medium
US10984039B2 (en) Hierarchical map visualizations of geo-enriched data
CN114646314A (en) System for generating an indication of a traversable path
WO2023226819A1 (en) Data matching method and apparatus, readable medium, and electronic device
CN114964204A (en) Map construction method, map use method, apparatus, equipment and storage medium
WO2018023937A1 (en) Method and device for identifying wireless access point
WO2019080681A1 (en) Method and system for controlling mobile robot to perform mapping
KR20200134807A (en) System and method for indoor positioning based on image
CN103581352B (en) The method and system of geo-location service is realized in fixed network client
WO2017076048A1 (en) Method and device for displaying surrounding information and mobile terminal
WO2017024762A1 (en) Method and equipment for distinguishing homonymic wireless access points
US10629039B1 (en) Electronic monitoring system with geographic location
CN111398961B (en) Method and apparatus for detecting obstacles
CN115524067A (en) VOCs (volatile organic compounds) non-tissue leakage alarm tracing method and device, electronic equipment and medium
CN106603709B (en) Network-based space positioning system and its positioning method

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18869588

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18869588

Country of ref document: EP

Kind code of ref document: A1