Techniques for path planning for non-circular mobile robots
By generating a 3D cost map and using a greedy search algorithm, the challenge of path planning for non-circular mobile robots in obstacle environments is solved, and fast, high-precision collision-free path planning and orientation optimization are achieved, which is suitable for real-time applications.
Patent Information
- Application Number
- CN202410215833.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-30
- Filing Date
- 2024-02-27
- Publication Date
- 2024-08-30
AI Technical Summary
Existing path planning algorithms are difficult to effectively plan collision-free, directional optimization and stress reduction paths for non-circular mobile robots in environments with obstacles, and the computational workload is large, making them unsuitable for real-time path planning.
By generating a 3D cost map, a greedy search algorithm (such as A* or D*-Lite) is used to iteratively select consecutive positions to minimize the cumulative cost value, taking into account the robot orientation and stress values, and output the optimized planning path.
It achieves faster and higher-precision execution of collision-free path planning for non-circular mobile robots, supports real-time path planning, optimizes robot orientation, and reduces computing resource consumption.
Smart Images

Figure CN118565473A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to path control for navigation of mobile robots. In particular, the present invention relates to methods for path planning of a mobile non-circular robot in an environment with obstacles (such as furniture, laboratory equipment, walls, tables, etc.), and also to computing devices, systems and computer program products for such path planning. Background Art
[0002] Robot navigation is usually solved using graph search algorithms (e.g., Dijkstra, A*). Most state-of-the-art navigation planners use heuristics such as A* or D* as described in [2] to reduce the overall planning time. To represent non-circular vehicles, some methods construct a 3D cost map of the environment by projecting the actual footprint into a 2D grid. [4] uses a pre-computed 3D map and a lattice planner to plan a dynamically feasible path for a non-holonomic constrained robot in a highly cluttered environment. However, the number of possible moves for differential robots, for example, is much lower than that of holonomically constrained drive types.
[0003] Conventionally, a representation of the environment in the form of an xy grid map is used, with each cell (and / or node) of the xy grid map being associated with a cost value indexing nearby obstacles.
[0004] For a robot with a toroidal (also denoted circular) floor plan, a 2D grid map is sufficient, whose cells with obstacles are assigned a fatal cost and are therefore uniquely identifiable. By subsequently artificially enlarging these "fatal cells" by the radius of the robot's ground plane circle, cells that do not contain obstacles themselves but cause collisions due to too small distances to fatal cells can be marked as "fatal perimeters". Therefore, these cells are also inaccessible to the robot, i.e. it is impossible for the robot to have its center on this cell without collision. All other cells are accessible and collision-free, and therefore all other cells can be used for path planning. The constant distance to obstacles during path planning (xy position) can even eliminate the need to determine the orientation.
[0005] For non-round (e.g. elongated) robots, conventional concepts cannot be implemented in the same way, since the minimum required distance to obstacles depends on the orientation of the robot. In tight places, the dependence on the robot orientation even leads to the so-called "piano handling problem". This problem describes the situation when, for example, a treatment couch has to be transported through a door frame during movement. Of course, it does not pass through laterally, but usually longitudinally. The challenge is then to find a collision-free trajectory (xy position and orientation of the kinematic center).
[0006] To reduce the computational workload of a fully constrained robot, [3] introduced collision-free orientation intervals for each xy position, where the graph search traverses along the intersection intervals. To react to dynamic environments, [7] proposed an efficient method to partially update the changed sections of the map.
[0007] Among all these conventional path planning algorithms, the computational workload of map generation and path planning for non-circular robots is significantly increased compared to circular robots. In addition, conventional path planning algorithms require a lot of time resources and are therefore not suitable for real-time (also denoted as online) path planning. Summary of the invention
[0008] Therefore, the object of the present invention is to provide a solution for planning a path of a mobile non-circular robot in the presence of obstacles such that the planned path is collision-free, orientation-optimized and stress-reduced. Alternatively or additionally, a short planning time is required for the path of the non-circular mobile robot in an environment with obstacles, and more generally, a need to save resources during planning. Further alternatively or additionally, a need is present to improve the spatial resolution of the path planning.
[0009] This object is solved by a method, a computing device, a system and a computer program (and / or a computer program product) for path planning of a non-circular mobile robot in an environment including obstacles according to the attached independent claims. Advantageous aspects, features and embodiments and advantages are described in the dependent claims and in the following description.
[0010] In the following, the solution according to the present invention is described with respect to the claimed path planning method of a non-circular mobile robot in an environment including obstacles and with respect to the claimed computing device. Features, advantages or alternative embodiments herein may be assigned to other claimed objects (e.g., systems, computer programs or computer program products and / or computer-readable storage media), and vice versa. In other words, the features described or claimed in the context of the method may be used to improve the claims for computing devices and systems. In this case, the functional features of the method are embodied by the structural units of the computing device and the system, respectively, and vice versa.
[0011] Regarding the method aspect, a method (particularly a computer-implemented method) for path planning of a non-circular mobile robot in an environment including obstacles is provided. The method includes the step of receiving a three-dimensional (3D) cost map. The 3D cost map includes a two-dimensional (2D) map of a plane in which the non-circular mobile robot can move. The 3D cost map also includes a cost value for each position on the 2D map, the cost value indicating the cost of positioning and / or moving the non-circular mobile robot when there are one or more obstacles in the predetermined environment of the position. Positioning and / or moving includes the orientation of the non-circular mobile robot. The method also includes the step of receiving a starting position and an ending position of the non-circular mobile robot on the 3D cost map. The starting position includes the starting orientation of the non-circular mobile robot. The ending position includes the ending orientation of the non-circular mobile robot. The method also includes: starting at the received starting position and terminating at the received ending position, iteratively selecting the steps of consecutive positions of the path to be planned. Iterative selection includes minimizing the cumulative cost value of consecutive positions. The cumulative cost value includes the sum of the cost values of consecutive positions (e.g., according to the received 3D cost map). The accumulated cost value also includes a stress value. The stress value may indicate a change in the direction of movement along the planned path. The method further includes the step of outputting the planned path based on the iteratively selected successive positions.
[0012] Through the present invention, the planning of collision-free paths for non-circular mobile robots can be performed faster (and / or with shorter planning time) than conventional situations, and / or with higher accuracy. The present invention technology particularly enables real-time path planning based on (e.g., previously generated, stored and / or existing) 3D costmaps.
[0013] Alternatively or additionally, planning of collision-free paths may optimize path planning that includes orientations of non-circular (eg, holonomically constrained) mobile robots.
[0014] A non-circular mobile robot (hereinafter referred to as: mobile robot, non-circular robot, non-circular robot and / or robot) may also be denoted as an "arbitrary shape" robot (or arbitrary shape robot). The non-circular property and / or shape of the robot may refer to a footprint of the robot. Alternatively or additionally, the footprint of the robot may correspond to or may include a projection of the robot on a plane in which the robot may move.
[0015] The non-circular mobile robot may include a robot with a non-circular footprint (e.g., a rectangular footprint and / or an elongated footprint). Alternatively or in addition, the non-circular mobile robot may include a device for moving on a plane. The device may, for example, include one or more, in particular four (e.g., Mecanum) wheels, one or more rollers and / or one or more continuous tracks. Each (e.g., Mecanum) wheel, roller and / or continuous track may include a transmission system, an engine and / or a powertrain.
[0016] The powertrain may include a transmission and an engine (also denoted as an electric machine).
[0017] The combination of position and orientation of a non-circular mobile robot can be represented as a pose.
[0018] The (entire) environment may include, for example, a closed room (also referred to as a space). For example, the environment may include a test room (also referred to as a laboratory) space and / or a factory floor (also referred to as a workshop floor).
[0019] The predetermined environment of the location may include a portion and / or a segment of the (e.g., entire) environment, and / or a vicinity of the (e.g., entire) environment. The radius of the predetermined environment and / or the spatial extension from the location may correspond to or be greater than the maximum distance of the convex hull of the robot's footprint from the robot's rotation axis (e.g., through the center of mass).
[0020] This plane can also be expressed as ground space (also simply referred to as: ground).
[0021] The planar 2D map may include a grid. Each node of the grid may include the location of the non-circular mobile robot (eg, the location of the center of mass).
[0022] Nodes and / or locations of a grid may alternatively be represented as cells (eg, centers of cells).
[0023] The start position (and / or the starting position, also referred to as: start) may include a set of initial coordinates and / or a start node (also denoted as initial node) on a 3D costmap (also referred to as costmap). Alternatively or in addition, the end position (and / or the end position, referred to as: end; also referred to as final position; terminal position; target position, referred to as target; and / or target position, referred to as target) may include a set of final coordinates and / or an end node (also referred to as final node, target node and / or terminal node).
[0024] The iterative selection of consecutive locations may include iteratively selecting nodes on a grid.
[0025] The stress value may increase when the direction of the planned path changes. Alternatively or additionally, the stress value may increase when the orientation of the non-circular mobile robot changes. Further alternatively or additionally, the stress value may increase when the velocity (also expressed as speed) and / or acceleration of the non-circular mobile robot changes. For example, a change in the direction of movement may include (and / or require) one or more changes in the robot velocity and / or the robot acceleration.
[0026] The change in orientation of the non-circular mobile robot may include a rotation about a vertical axis of the robot (eg, passing through the center of mass of the robot).
[0027] The orientation (e.g., change in orientation) of a non-circular mobile robot may be represented as yaw. Yaw across multiple orientations may occur at one location and / or one node on the grid. Alternatively or in addition, yaw may include a continuous change in orientation across, for example, multiple (particularly consecutive) locations and / or across, for example, multiple (particularly consecutive) nodes on the grid.
[0028] The output of the planned path (which may also be represented as a planned trajectory, or simply referred to as a trajectory and / or graph) may include a digital data set. The digital data set (and / or output) may include a set of changes in movement direction, a set of speeds (and / or velocities) associated with any position along the planned path (e.g., a starting position and one or more consecutive positions), and / or an efficiency score (e.g., a cumulative cost value) associated with the planned path.
[0029] In the case where there are many obstacles that prevent, for example, a straight path, the output of the planned path may include a maze-like map.
[0030] A flat 2D map may include a grid. A 2D map including a grid may also be represented as a 2D grid map. Nodes on the grid (also represented as cells) may include selectable locations (e.g., the location of the center of mass of the robot).
[0031] The 3D costmap may include a natural number N of copies of each node of the grid. Each copy may include a different rotation orientation of the non-circular mobile robot, in particular, for any integer (and / or natural number) k less than N, rotated by a fraction k / N of the full angle, i.e. 2πk / N.
[0032] The step of iteratively selecting consecutive positions may include applying a greedy search algorithm. The greedy search algorithm may include an A* algorithm. Alternatively or in addition, the greedy search algorithm may include a Dijkstra algorithm. Further alternatively or in addition, the greedy search algorithm may include a D*-Lite algorithm.
[0033] The method may further comprise the step of generating a 3D costmap.Alternatively or additionally, the method may further comprise the step of updating the 3D costmap in response to a change in the position of one or more obstacles.
[0034] The generation of a 3D costmap can be started using unknown cost values for locations.
[0035] The method may further include a step of executing the outputted planned path by the non-circular mobile robot.
[0036] Non-circular mobile robots may include holonomically constrained robots (non-holonomicrobots).
[0037] Alternatively or additionally, the non-circular mobile robot may comprise a non-holonomicrobot.Further alternatively or additionally, the non-circular mobile robot may comprise a redundant robot.
[0038] Holonomic constraints, nonholonomic constraints, and redundancy may refer to the relationship between the number of controllable degrees of freedom and the total number of degrees of freedom of the non-circular mobile robot.
[0039] The number of degrees of freedom of the non-circular mobile robot may depend on the transport mode and / or the load (eg, including cargo for transport) of the non-circular mobile robot.
[0040] A holonomic constraint may mean that the number of controllable degrees of freedom is equal to the total number of degrees of freedom of the robot.
[0041] A nonholonomic constraint may refer to a situation where the number of controllable degrees of freedom is less than the total number of degrees of freedom of the robot.
[0042] Redundancy may mean that the number of controllable degrees of freedom is greater than the total number of degrees of freedom of the robot.
[0043] The 3D costmap may be based on the convex hull of the footprint of the non-circular mobile robot on the flat 2D map. Optionally, the 3D costmap may also be based on a predetermined safe area around the convex hull.
[0044] The predetermined safety area may take into account the uncertainty of the movement of the robot, particularly the uncertainty of movement at high speeds and / or high accelerations.
[0045] Cost values (e.g., per location, which can also be expressed as unit cost) can also be expressed simply as cost.
[0046] The cumulative cost value may also increase with changes in the orientation of the non-circular mobile robot. Alternatively or in addition, the cumulative cost value may also increase with deviations from the end position and / or the start position. Further alternatively or in addition, the cumulative cost value may also increase with repeated traversals of positions along the planned path.
[0047] The 3D costmap may also include height constraints related to the height of the non-circular mobile robot.
[0048] The (e.g., laboratory and / or factory) environment may include one or more facilities (e.g., workbenches and / or equipment mounted on walls and / or ceilings) that do not (or at least not completely) occupy floor space, but include obstacles located at a predetermined height above the floor space. For example, a non-circular mobile robot may be able to utilize floor space by means of a height restriction, wherein the facilities only occupy space above the height of the non-circular mobile robot.
[0049] Alternatively or additionally, the non-circular mobile robot may be configured to pass under obstacles.
[0050] Determining the cumulative cost value may include performing a weighted sum of the cost values.
[0051] With regard to the device, a computing device for path planning of a non-circular mobile robot in an environment including obstacles is provided. The computing device includes a 3D cost map receiving interface, which is configured to receive a 3D cost map. The 3D cost map includes a 2D map of a plane in which the non-circular mobile robot can move. The 3D cost map also includes a cost value for each position on the 2D map, the cost value indicating the cost of positioning and / or moving the non-circular mobile robot when there are one or more obstacles in the predetermined environment of the position. Positioning and / or moving include the orientation of the non-circular mobile robot. The computing device also includes a start and end position receiving interface, which is configured to receive the start position and end position of the non-circular mobile robot on the 3D cost map. The start position includes the start orientation of the non-circular mobile robot. The end position includes the end orientation of the non-circular mobile robot. The computing device also includes a continuous position selection module, which is configured to: start at the received start position and terminate at the received end position, iteratively select the continuous positions of the path to be planned. The iterative selection includes minimizing the cumulative cost value of the consecutive positions. The cumulative cost value includes the sum of the cost values of the consecutive positions (e.g., according to the received 3D cost map). The cumulative cost value also includes a stress value. The stress value can indicate a change in the direction of movement along the planned path. The computing device also includes a planned path output interface, which is configured to output the planned path based on the iteratively selected consecutive positions.
[0052] The computing device may also be configured to perform any of the steps of the method according to the method aspect, or include any of the features of the aspect according to the method aspect.
[0053] Regarding the system aspect, a system for path planning of a non-circular mobile robot in an environment including obstacles is provided. The system includes a computing device according to the device aspect and a non-circular mobile robot.
[0054] Alternatively or additionally, the computing device may be (eg, physically) located in and / or included in the non-circular mobile robot.
[0055] The non-circular mobile robot may include at least one Mecanum wheel, in particular four Mecanum wheels.
[0056] A mecanum wheel (also denoted Swedish wheel or Ilonwheel) may include an omnidirectional wheel design.
[0057] The Mecanum wheel may include a series of rubberized outer rollers attached to the (e.g., entire and / or full) circumference of the rim of the Mecanum wheel at an angle (e.g., 45 degrees to the axis of the Mecanum wheel, referred to as: 45 degrees and / or 45°). Alternatively or in addition, the Mecanum wheel may include a transmission system, an engine and / or a powertrain.
[0058] Each Mecanum wheel of the robot can move independently.
[0059] The non-circular mobile robot may include at least one sensor for collision avoidance.
[0060] The sensor for collision avoidance may indicate and / or may detect a potential collision. Based on the indicated and / or detected potential collision, the outputted planned path may be interrupted and / or stopped. For example, a new path based on the stopped position may be planned.
[0061] On the other hand, a computer program product is provided. The computer program product includes program elements that, when loaded into a memory of a computing device, cause the computing device (e.g., according to an apparatus aspect) to perform the steps of a method for path planning of a non-circular mobile robot in an environment including obstacles according to a method aspect.
[0062] On another aspect, a computer-readable medium is provided. A program element is stored on the computer-readable medium that can be read and executed by a computing device (e.g., according to the device aspect) so that when the program element is executed by the computing device, the steps of the method for path planning of a non-circular mobile robot in an environment including obstacles according to the method aspect are performed.
[0063] The characteristics, features and advantages of the present invention described above and the modes for achieving them become clearer and more easily understood according to the following description and embodiments that will be described in more detail in the context of the accompanying drawings. The following description does not limit the present invention to the embodiments included. In different drawings, the same parts or portions may be marked with the same reference numerals. Usually, the drawings are not drawn to scale.
[0064] It should be understood that a preferred embodiment of the present invention may also be any combination of the dependent claims or the above embodiments with the corresponding independent claim.
[0065] These and other aspects of the invention will be apparent from and elucidated with reference to the embodiments described hereinafter. BRIEF DESCRIPTION OF THE DRAWINGS
[0066] Figure 1 is a flow chart of a method for path planning of a non-circular mobile robot in an environment including obstacles according to a preferred embodiment of the present invention;
[0067] Figure 2 is an overview of the structure and architecture of a computing device for path planning of a non-circular mobile robot in an environment including obstacles according to a preferred embodiment of the present invention;
[0068] Figure 3A and Figure 3B An example of a non-circular mobile robot is schematically shown in perspective and top view, respectively, which can be configured to perform Figure 1 and / or may include Figure 2 computing devices;
[0069] Figure 4 schematically shows a plan view of an environment including an obstacle, which may be embodied by a wall;
[0070] Figure 5 A first schematic illustrative example of a planned path is shown, in which a non-circular mobile robot (e.g., Figure 3A and Figure 3B The robot) collides with an obstacle near the end position;
[0071] Figure 6 A second schematic illustrative example of a planned path is shown, in which a non-circular mobile robot (e.g., Figure 3A and Figure 3B The robot) collides with obstacles multiple times along the planned path;
[0072] Fig. 7A and Figure 7B A third schematic illustrative example and a fourth schematic illustrative example of planning a path are shown, wherein a non-circular mobile robot (e.g., Figure 3A and Figure 3B The robot) collides with an obstacle while trying to reach the end orientation;
[0073] Fig. 8A , Figure 8B and Figure 8C Schematically illustrates components of a 3D costmap including non-circular mobile robots (e.g., Figure 3A and Figure 3B robots);
[0074] Fig. 9A and Fig. 9B Schematically shows a non-circular mobile robot (e.g. Figure 3A and Figure 3B The orientation dependence of the cost value of each position on the 3D cost map for two different orientations of the robot);
[0075] Fig.10 A non-circular mobile robot (e.g. Figure 3A and Figure 3B A first example of a collision-free planning path for a robot) that can be based on a path including Figure 1 methods and / or Figure 2 The computing device of the present invention is used for planning;
[0076] Fig.11 A non-circular mobile robot (e.g. Figure 3A and Figure 3B A second example of a collision-free planning path for a robot) that can be based on a path including Figure 1 methods and / or Figure 2 The computing device of the present invention is planned by the technology of the present invention; and
[0077] Fig. 12A and Fig. 12B Schematically illustrates non-circular mobile robots (e.g., Figure 3A and Figure 3B A third example and a fourth example of a collision-free planning path for a robot) that can be based on a path including Figure 1 methods and / or Figure 2 The computing device of the present invention is planned. DETAILED DESCRIPTION
[0078] Any reference signs in the claims should not be construed as limiting the scope.
[0079] Figure 1 A flow chart of a method (particularly a computer-implemented method) for path planning of a non-circular mobile robot in an environment including obstacles is schematically shown. The method is generally indicated by reference numeral 100 .
[0080] The method 100 includes a step S104 of receiving a three-dimensional (3D) cost map. The 3D cost map includes a two-dimensional (2D) map of a plane in which the non-circular mobile robot can move. The 3D cost map also includes a cost value for each location on the 2D map, the cost value indicating the cost of positioning and / or moving the non-circular mobile robot in the presence of one or more obstacles in a predetermined environment at the location. Positioning and / or moving includes the orientation of the non-circular mobile robot.
[0081] The method 100 further includes a step S106 of receiving a starting position and an ending position of the non-circular mobile robot on the 3D costmap. The starting position includes a starting orientation of the non-circular mobile robot. The ending position includes an ending orientation of the non-circular mobile robot.
[0082] The method 100 also includes: starting at the received (step S106) start position and terminating at the received (step S106) end position, iteratively selecting step S108 of successive positions of the path to be planned. Iteratively selecting S108 includes minimizing the cumulative cost value of the successive positions. The cumulative cost value includes (for example, according to the received (step S104) 3D cost map) the sum of the cost values of the successive positions. The cumulative cost value also includes a stress value. The stress value can indicate a change in the direction of movement along the planned path.
[0083] The method 100 further comprises a step S110 of outputting a planned path based on the iteratively selected (step S108 ) consecutive positions.
[0084] Optionally, the method 100 includes a step S102 of generating a 3D cost map. Alternatively or in addition, the method 100 may include a step ( S102 ) of updating the 3D cost map in response to a change in the position of one or more obstacles. Figure 1 not shown).
[0085] Furthermore, optionally, the method 100 includes a step S112 in which the non-circular mobile robot executes the output (step S110 ) planned path.
[0086] Figure 2 The architecture of a computing device for path planning of a non-circular mobile robot in an environment including obstacles is schematically shown. The computing device is generally referred to by reference numeral 200.
[0087] The computing device 200 includes a 3D costmap receiving interface 204, which is configured to receive a 3D costmap. The 3D costmap includes a 2D map of a plane in which the non-circular mobile robot can move. The 3D costmap also includes a cost value for each location on the 2D map, which indicates the cost of positioning and / or moving the non-circular mobile robot in the presence of one or more obstacles in a predetermined environment at the location. Positioning and / or moving includes the orientation of the non-circular mobile robot.
[0088] The computing device 200 also includes a start and end position receiving interface 206, which is configured to receive a start position and an end position of the non-circular mobile robot on the 3D cost map. The start position includes a start orientation of the non-circular mobile robot, and the end position includes an end orientation of the non-circular mobile robot.
[0089] The computing device 200 also includes a continuous position selection module 208, which is configured to: start at the received start position and terminate at the received end position, iteratively select continuous positions of the path to be planned. Iteratively selecting includes minimizing the cumulative cost value of the continuous positions. The cumulative cost value includes (e.g., according to the received 3D cost map) the sum of the cost values of the continuous positions. The cumulative cost value also includes a stress value. The stress value can indicate a change in the direction of movement along the planned path.
[0090] The computing device 200 further includes a planned path output interface 210 configured to output a planned path based on the iteratively selected consecutive positions.
[0091] Optionally, the computing device 200 includes a 3D costmap generation module 202 configured to generate a 3D costmap. Alternatively or in addition, the computing device 200 may include a 3D costmap update module ( Figure 2 ), the 3D costmap update module is configured to update the 3D costmap in response to a change in the position of one or more obstacles.
[0092] Furthermore, optionally, the computing device 200 includes a planned path execution module 212 configured to execute the output planned path by the non-circular mobile robot.
[0093] Computing device 200 may also include memory 214 .
[0094] Any of the 3D costmap receiving interface 204 , the start and end position receiving interface 206 , and the planned path output interface 210 may be included in a (eg, common) input-output interface 216 .
[0095] The continuous position selection module 208 and the optional 3D costmap generation module 202 may be included in and / or implemented by a processor 218 (eg, a central processing unit CPU and / or a graphics processing unit GPU).
[0096] The computing device 200 may be configured to perform the method 100 .
[0097] The system may include a computing device 200 and a non-circular mobile robot.Alternatively or additionally, the computing device 200 may be included in the non-circular mobile robot.
[0098] The ROS navigation stack [1] is a popular software package for solving navigation problems for mobile robots. However, its basic environment representation in the form of a two-dimensional (2D) costmap (and / or 2D grid) is only applicable to circular robots (also denoted as toroidal robots) where the minimum distance between the robot's center of rotation (and / or base link) and obstacles is constant. The constant minimum distance alleviates the collision checking problem for pose (e.g., including xy position and orientation) because the orientation does not affect whether the toroidal robot's base link can be located at a specific xy position.
[0099] Since most industrial cargo has a more rectangular (and / or elongated) shape, a robot transporting such cargo must use (especially in crowded environments) a more detailed representation of the environment that takes into account the robot's orientation.
[0100] According to the present technology (e.g., including method 100, computing device 200 and / or a system including computing device 200 and a non-circular mobile robot), computing resources can be saved and / or the iterative selection S108 of consecutive positions and the cumulative cost values (also represented as cost calculation) for path planning (also represented as graph search) can be optimized, in particular allowing online (and / or real-time) execution (e.g., calculation) on the robot. The present technology provides the following solution, which can reduce the computational workload in any case, while also proposing to integrate "comfort" factors into path planning (also represented as path generation and / or graph search), such as the reduction of direction changes and / or the preferred orientation of the robot during the path (also represented as heading).
[0101] The present technology may also be expressed as a technique for free path planning of a (particularly omnidirectional) non-annular (and / or non-circular) robot in a previously mapped environment. Alternatively or in addition, the present technology may be further expressed as a technique for collision-free and orientation-optimized path planning of an arbitrarily shaped (e.g., holonomically constrained) robot. The present technology may, for example, include an algorithm for performing method 100. The algorithm may be referred to as "HunGreedy".
[0102] The present technology for path planning of non-circular (particularly holonomically constrained) robots (e.g., including algorithms, methods 100, computing devices 200, and / or systems including computing devices 200 and non-circular mobile robots) can create a 3D cost map using a commonly used mesh map representation of the environment, which encodes the (e.g., true) costs of nodes (and / or cells) for oriented arbitrary-shaped robots with respect to collisions and approaching obstacles. The 3D cost map can then be traversed using a custom implementation of a known graph search algorithm (such as A* or D*-Lite).
[0103] The inventive technique uses a novel approach (e.g., based on cumulative cost values) to obtain progress toward a goal (and / or end position), as well as using changes in preferred orientations and directions along the path (e.g., corresponding to stress), thereby producing a collision-free, directional-optimized, and stress-reduced path. The name of the inventive algorithm, HunGreedy, may resemble the features of the implementation, which may be resource hungry when generating a 3D costmap (also represented as a pre-computed and / or used data structure), but may result in short planning times due to the greedy search approach.
[0104] The representation of the environment in the form of a 2D grid can be further used as a basis because it is independent of the robot model. However, for a single (especially non-circular) robot, an extended data base is required. The goal is to create a 3D grid map whose third dimension describes the robot orientation from 0 degrees to 359 degrees (and / or in the interval [0, 2π)). In other words, N (=360 degrees / angular resolution and / or 2π / angular resolution) xy grid maps are generated. To this end, the rotated (for example, around an axis passing through the center of mass of the robot) footprint of the (especially non-circular) robot is first determined by projecting the non-circular robot footprint (also expressed as a robot plan view) into the grid area and multiplying (and / or rotating) it by N times the parameterizable angular resolution (for example, 1 degree). By forming the corresponding convex hull, all occupied nodes (and / or occupied cells) of the original 2D grid map can be determined for each orientation. The cost values of the individual nodes (and / or individual cells) are summed (and, for example, normalized) so that each 3D node (and / or 3D cell) is also assigned a cost value that indicates the proximity to an obstacle. When a lethal node (and / or lethal cell) is detected, the 3D node (and / or 3D cell) is also marked as lethal. Using the 3D cost map created in this way (also denoted as "enhanced cost map"), a path planning (also denoted as graph search) algorithm can be used to find a particularly collision-free path between two poses (e.g., including the position of the robot (in particular the position of the center of mass of the robot) and the orientation) for a non-circular (also denoted as non-ring-shaped) robot, if such a path exists. In order to evaluate and utilize new nodes (and / or new cells) during path planning (and / or step S108 of iteratively selecting consecutive positions, also denoted as search), different parameters can be considered individually or (at least partially) jointly.
[0105] First, a kinematic model (also denoted as a motion model) can be considered. In an omnidirectional (and / or holonomically constrained) robot, movement can occupy 1 to 3 dimensions. Therefore, for each search iteration, M new nodes (and / or new units) can be opened, where M is the number of degrees of freedom of movement (3*3!-1=17), if the robot can move forward by a value of 1 (and / or -1) for each step. By constraining the motion model (and / or kinematic model), the value M can be reduced (for example, for differential and / or Ackermann steering geometry), making the method optionally applicable to non-holonomically constrained robots.
[0106] Second, the likelihood can be considered. Moves that move away from the end position (also denoted as the goal) are generally more difficult to evaluate because they predict lower success. Exceptions include, for example, mazes, which, however, also generate progress through the maze in the long run by tapping lethal nodes (and / or lethal units) in the direction of the end position (and / or goal).
[0107] Third, effectiveness (and / or efficiency) may be considered. Movements that frequently move around a particular location are also poorly evaluated because no (eg, real) progress is determinable.
[0108] Fourth, stress values may be considered. Movements that allow paths (also denoted as trajectories) with few changes of direction may be rated well. Stress values (also denoted as stress ratings) favor smooth and natural movements, although more "jerky" paths may occur. This may be particularly relevant in situations where the robot is moving at high speeds and / or whenever the effects of inertia become relevant.
[0109] Fifth, safety zones (also denoted as protection fields) may be considered. Autonomous robots are often equipped with safety zones (and / or protection fields) that are not directly part of the robot footprint (and / or robot floor plan) but that restrict the robot's freedom of movement. (e.g. virtual) collisions with safety zones (and / or protection fields) may be pre-planned and avoided. Including safety zones (and / or protection fields) in path planning has an impact on the stress values of the path. For example, safety zones (and / or protection fields) may be needed to compensate for the inertial effects of a robot moving with high momentum.
[0110] By means of the inventive technique, the basic data structure is extended compared to conventional navigation methods such as in ROS [1]. Alternatively or additionally, the inventive technique extends the kinematic model to a fully constrained robot compared to the previous method of document [4]. Further alternatively or additionally, the integration of stress values (and / or stress determination) and / or safety areas (and / or protection fields) in the planned path (and / or trajectory) during path planning and / or in the stress values (and / or determination) is unique to the inventive technique.
[0111] Figure 3A and Figure 3B An example of a non-circular mobile robot 300 is schematically shown. The robot 300 of the illustrative example is equipped with an omnidirectional (and / or holonomically constrained) Mecanum drive with wheels 312. Due to its sensor setup for obstacle avoidance, Figure 3A and 3B The exemplary robot 300 of FIG. 1 has a preferred direction of movement when traveling, facing forward 302. The purpose of the robot 300 is to transport rectangular cargo, such as shipping boxes 314 on a box body.
[0112] exist Figure 3A , the robot 300 is shown in perspective view with a stack of shipping boxes 314 . Figure 3B The footprint of the robot 300 (and / or a projection onto a 2D plan view and / or a 2D map of a plane) is schematically shown.
[0113] The robot 300 includes a front face 302, a back face 306, and sides 304. A reference frame (eg, a reference frame of the footprint and / or a reference frame aligned with the footprint) is provided by an x-direction at 308 and a y-direction at 310.
[0114] exist Figure 3B In, as an illustrative example, the lateral length (and / or lateral extension) of the robot 300 is 0.37 m, and the longitudinal extension of the robot 300 is 0.89 m.
[0115] Figure 4 A 2D map of a plane of an environment 400 with obstacles 402 in the form of walls is exemplarily shown. Empty spaces, corridors and / or hallways 404 are provided between the obstacles 402. The environment 400 may, for example, correspond to (and / or may include) a laboratory space and / or a factory floor.
[0116] Robot 300 can be placed in Figure 4 The exemplary environment 400 of includes several key sections. The width of the corridor is set to a value that is only slightly larger than the width of the exemplary robot 300 itself, thereby creating an area where changes in the orientation of the robot 300 (also represented as in-situ rotations) are not possible without causing a collision.
[0117] Figure 4 An exemplary 2D map created using simulated 2D lidar and SLAM algorithms (references [5], [6]) is shown. The exemplary 2D map has a resolution of 2.5 cm and counts 549×412 (xy) nodes (and / or cells), resulting in a map size of 13.7125 m×10.2875 m and requiring 266.188 KB of memory. The node distance (and / or cell size) for each grid direction (and / or each cell side) of the base grid is 1 meter and can be used for size and distance comparisons.
[0118] To illustrate the effectiveness of the inventive technique, a selection of navigation requests including key segments (eg, each navigation request including a start point 502 and an end point 506 with a predetermined orientation of the robot) has been performed and tested using a conventional 2D path planning algorithm.
[0119] exist Figure 5 , Figure 6 , Fig. 7A and Figure 7B In the figure, the starting point 502 is connected to the end point 506 by the planned path 504. In each figure, the section that collides with an obstacle, especially the wall 402, is shown with reference numeral 508. When the robot follows a conventionally planned 2D path, a collision occurs.
[0120] exist Figure 5 , Figure 6 , Fig. 7A and Figure 7B The forward-facing starting orientation and the ending orientation (also referred to as a target orientation) in each of the exemplary illustrations are shown by the directions of the arrows at reference numerals 502 and 506, respectively.
[0121] The orientation along the path is generally facing forward (toward the next pose and / or successive positions and orientations), except when approaching a starting pose and / or ending pose (also denoted a target pose), where the robot is allowed to move more freely to reach the next desired orientation (and / or rotation) more quickly.
[0122] Figure 5 An example of a long distance causing a collision at reference numeral 508 is shown before delivering the cargo to an exemplary loading zone at an end location 506. At exemplary reference numerals 510-1 and 510-2, the footprint of the robot (e.g., Figure 3B ) is shown as having a different orientation resulting in a collision 508 when transitioning from a first orientation 510-1 to a second orientation 510-2.
[0123] exist Figure 5, around an obstacle (eg, a wall) 402, the differently shaded areas 512-1 and 512-2 represent nodes (and / or elements) with decreasing cost values, wherein the unshaded area at reference numeral 514 represents a node (and / or element) with a zero cost value.
[0124] Although the problem of 508 collision can be solved by Figure 5 The example in is solved by only slightly changing the orientation of the robot, but it shows how close, yet how far, a simple collision-free planning solution can be.
[0125] Figure 6 A (eg, more difficult) example is shown where the robot should reach the center of a tight spiral, which is difficult but possible. Solving the problem of determining a collision-free path conventionally requires the robot to move closer to obstacles (particularly walls) 402, which the expansion layer prevents.
[0126] The expansion layer may include a tool that artificially extends obstacles in the 2D map by the robot's circumscribed radius, rather than actually projecting the robot's footprint into the map. For a ring robot (also denoted as a circular robot), where the minimum distance to obstacles is constant (and / or corresponds to the radius R of the robot), the expansion layer significantly reduces the computational effort for path planning, since now only nodes (and / or cells) whose distance to obstacles is farther than the radius R are valid.
[0127] Figure 4 The 2D map of can be represented as the original map, and Figure 5 The schematic presentation in can be represented as an inflation map and / or a 2D cost map. For example, the darker shaded area at reference numeral 512-1 can mark an "inflation fatal" node (and / or an "inflation fatal" cell), for example, which means that the distance to the obstacle (e.g., wall 402) is less than the radius R of the ring robot, and therefore it is certain that there will be a collision. Alternatively or in addition, the lighter shaded area at reference numeral 512-2 can mark a decreasing cost value (and / or cell cost), for example, which indicates approaching an obstacle (e.g., wall 402). The decreasing cost value of approaching an obstacle can help, for example, to maintain a greater distance from walls around corners (e.g., according to a safe zone and / or protection field).
[0128] For the non-circular mobile robot according to the present invention, Figure 5 The darker shaded area at reference numeral 512-1 in FIG. 4 may indicate a node (and / or cell) for which a collision with a nearby obstacle (e.g., wall 402) occurs for any orientation of the robot. Alternatively or additionally, Figure 5The lighter shaded area at reference numeral 512-2 in the figure may refer to a node (and / or cell) as shown below: for which a collision with a nearby obstacle (e.g., wall 402) occurs only for certain orientations of the non-circular mobile robot (e.g., the longitudinal direction of the robot pointing toward the obstacle).
[0129] To find a collision-free path, at least Figure 6 In certain sections of the 2D map, it is necessary to adjust the orientation of the non-circular mobile robot to not always face completely forward.
[0130] Fig. 7A and Figure 7B An example of a non-circular mobile robot initially facing forward (as indicated by the arrow at the starting position 502) with two differently oriented ending positions (as indicated by the arrow directions at reference numeral 506) is provided. If the robot enters a corridor (also indicated as a hallway) facing forward and only attempts to change the orientation at the ending position 506, several collisions with obstacles (particularly walls) occur as indicated by reference numeral 508.
[0131] exist Fig. 7A In the case of a collision-free path along the same corridor (and / or hallway) and the collision-free path is found by the technique of the present invention, wherein the robot first rotates (such as Fig. 12A 1202 in the figure), and then moves backward through the corridor (and / or hallway).
[0132] In contrast, conventional path planning algorithms cannot detect collision-free paths. In particular, information about the absence of a connection between the end (and / or target) orientation and the position just before it is missing in the conventional 2D costmap. Since the inflation layer (IL) of a conventional 2D costmap is determined (and / or calculated) using the short edge of the non-circular robot (e.g., conventionally), the IL only covers circular robots with the radius of the short edge for collision checking. Such a circular robot can pass through a gallery (and / or corridor) because it can rotate there, but a non-circular (and / or long) robot cannot pass through a gallery (and / or corridor) because the position of the non-circular (and / or long) robot between two orientations (e.g., 0 degrees and 90 degrees) will result in a collision with the wall.
[0133] Information about the longitudinal direction of a non-circular mobile robot is missing in a conventional inflation map (and / or 2D costmap) because it does not take into account the orientation of the robot, and therefore has no indication (and / or parameterization, and / or knowledge) that there will be a collision.
[0134] Therefore, conventional search algorithms consider nodes (and / or cells) that move through the IL to be valid and plan paths that cannot be executed without collisions.
[0135] In contrast, the inventive technique does not generate (eg, direct) connections between two orientations, since they would result in collisions. When performing path planning (and / or graph search) on a 3D costmap, there are no direct connections, and thus no path is planned through the channel.
[0136] exist Figure 7B In the case of , due to the tightness (and / or narrowness) of the straight corridor (and / or hallway and / or passageway) and the T-shaped connection with the second corridor (and / or hallway and / or passageway), there is no collision-free path using the displayed straight corridor (and / or hallway and / or passageway), even if rotating before entering the corridor (and / or hallway and / or passageway). By selecting Figure 7B 502 and the end posture 506, the robot must take a completely different route and enter the second corridor (and / or hallway and / or passage) from the left instead of from the top, as shown in FIG. Fig. 12B As shown, a collision-free path is found by the technique of the present invention.
[0137] All implementations of the present technology can be done in C++17 utilizing open source libraries from the ROS navigation stack and using the ROS Visualization (RVIZ) package for visualization.
[0138] The program implementing method 100 has been successfully tested on a system with an AMD Ryzen 5 3600 processor and 16 GB RAM running Linux Ubuntu 20.04 and ROS Noetic. In one embodiment, the developed planner (e.g., including the continuous position selection module 208, the processor 218 and / or implemented by the computing device 200) has been implemented as a global planner plugin for the ROS navigation stack.
[0139] So far, all methods - especially including the generation (and / or creation) of the 3D costmap and the HunGreedy (e.g., search) algorithm - have been implemented as a single thread. Extending these implementations, for example, the generation (and / or creation) of the 3D costmap can be done by multiple threads at once (and / or through parallel programming).
[0140] Using multiple threads can reduce the computation time by a factor of N, where N is the number of threads created. For example, on a quad-core processor, using four threads can reduce the times provided in Table I by a factor of four, making them more suitable (and / or feasible) for real-time applications. Using multiple threads can even potentially eliminate the need to pre-generate (and / or pre-process) 3D costmaps.
[0141] In cases where pointers are used, they can be smart pointers (e.g., std::shared ptr) to eliminate the workload of manual memory management.
[0142] In order to enable the use of conventional graph search algorithms (also denoted path planning algorithms) that have proven effective in reducing path planning time for navigation requests, according to the present technology, a 2D map (also denoted 2D costmap) of a plane composed of nodes (also denoted xy cells) must be extended to include information about the robot's orientation and the resulting cost values (also denoted unit costs).
[0143] The data structure "ExtendedCostmap" is created and filled with information of the present invention. The data structure "ExtendedCostmap" includes the following main elements:
[0144] char[][]costmap_2d: basic data of 3D costmap;
[0145] Dual cell size: The size of each node area (also expressed in xy units). Figure 4 In the example, the size (and / or the distance between adjacent nodes) is 2.5 cm;
[0146] int[][][] costmap_3d: an extended costmap storing yaw, x and y cost values (also expressed as yaw, x and y unit costs and / or cost values associated with yaw and / or orientation);
[0147] dual angular_resolution: how far one step in the yaw direction can rotate the robot; and
[0148] ·pair<x,y> [][]angled_footprints: A set of relative indices of the inlier points similar to directional footprints.
[0149] Inliers may include nodes that are within the robot's oriented footprint (and / or within the oriented convex hull).
[0150] Determining the inliers of an oriented footprint is typically a time-consuming process that is proportional to the map accuracy and the footprint size and complexity. In the case of a 2D grid as base data, inliers for a particular orientation match all (e.g., xy) locations and can therefore be determined in advance offline (also denoted as precomputed), for example, rather than recomputing them for each node (and / or cell). Algorithm 1 describes the process of determining inliers in pseudocode.
[0151]
[0152]
[0153] According to Algorithm 1, the size of the array storing the footprint is first set using the desired angular resolution. Then, a pose is created for each resulting angle, and the nodes (and / or cells) occupied by the contour of the robot's footprint and the convex (e.g., hull) filling nodes (and / or cells) are collected and stored in an array. If this gathering fails because some points are outside the (e.g., 2D) map, the process must be aborted, because in this case only an incomplete collision check can be performed during the creation of the 3D costmap.
[0154] Fig. 8A , Figure 8B and Figure 8C An example of a directional footprint with the front 302 and rear (also indicated as rear) 306 of the robot 300 and matching interior points is shown. The footprint used corresponds to Figure 3A and Figure 3B The footprint of the robot 300 with cargo is shown, where the 3.5 cm footprint padding enforces the spacing between obstacles (e.g., wall 402) and the robot (e.g., corresponding to a safety zone and / or protection field). Without padding, a later collision check would allow zero distance between the wall 402 and the robot base, which could potentially lead to a collision (e.g., due to the inertia of the robot, especially the load).
[0155] exist Fig. 8A , Figure 8B and Figure 8C , at reference numerals 802 and 804, first and second (e.g., mutually orthogonal) directions of the grid are shown. At reference numeral 806, the axis of rotation of the robot 300 (e.g., located at the center of mass) is indicated. A node 806 (e.g., representing a cell) of the 2D map (and / or grid) is also schematically depicted by the first direction 802 and the second direction 804 intersecting at the point at reference numeral 806. Figure 8B and Figure 8C In the example, the robot 300 is oriented relative to Fig. 8A The orientation of the robot 300 in FIG. 3 is rotated by 45 degrees (and / or π / 4) and 90 degrees (and / or π / 2), respectively.
[0156] In an exemplary embodiment, the cost value (and / or unit cost) of each node (and / or xy yaw unit) is calculated by adding the 2D cost values (and / or unit costs) of the inner points of the footprint on the matching pose. Since the relative positions of the inner points of the oriented (and / or angled) footprint have been pre-determined (also denoted as pre-computed), the (e.g., xy) position of each inner point is shifted only according to the relative displacement from the previously determined position (also denoted as pre-computed position). Once a node (and / or unit) with a value of an obstacle in 2D is encountered (e.g., corresponding to "blocked" and / or "fatal"), the 3D node (and / or unit) can also be marked as blocked and / or fatal. Since the process of determining 3D cost values must be performed for the (e.g., complete) 3D costmap (in particular for each position and / or node), a generating function is performed which iterates through all (e.g., three) dimensions (in particular including yaw, x and y) and attempts to determine (e.g., calculate) cost values if possible (e.g., only for positions sufficiently far away from the outer boundary of the environment, where outside this outer boundary, the planar 2D map is unknown).
[0157] In an embodiment, in order to reduce memory (particularly reallocation) during this process (e.g., generating a 3D costmap), the costmap is initialized with an expected size and cost values similar to unknown (UNKNOWN) (e.g., node and / or cell) cost values, which are treated as non-traversable during path planning. In the case where the outermost dimension is the angle dimension, the problem of determining (e.g., calculating) unusable footprints can also be alleviated by skipping the angle and thus making all nodes (and / or) cells (e.g., and therefore all poses with that orientation) unknown (UNKNOWN) and therefore non-traversable. By implementing this option, the algorithm effectively skips, for example, the Size corresponding to the size of the 2D map (and / or the entire 2D costmap). X ×Size Y nodes (and / or elements), and thus reduce the computation time.
[0158] Algorithm 2 describes in pseudocode the process of determining a (eg, complete) 3D costmap.
[0159]
[0160]
[0161]
[0162] If a directional footprint is available, the algorithm can proceed to shift the footprint so that its center (e.g., centroid) matches the coordinates of each requested (e.g., xy) location. If the shift encounters at least one inlier point being moved outside the map bounds of the 2D map, the location is considered invalid and all calculations can therefore be skipped (e.g., nodes and / or cells remain unknown), which saves time in the first grid direction (e.g., in Fig. 8A , Figure 8B and Figure 8C Size of the position (eg, x) close to the map border (at reference numeral 802 in FIG. 8 ). Y Calculate. For the direction along the second grid (for example, in Fig. 8A , Figure 8B and Figure 8C 804 in the figure), due to this implementation, only a single calculation can be skipped.
[0163] Once cost values for all (e.g., xy) nodes (and / or cells) have been determined (e.g., calculated) and stored (e.g., in a 3D array) and where yaw is used as the first dimension, a 3D costmap may be accessed for each orientation.
[0164] Fig. 9A and Fig. 9B An oriented 3D costmap (e.g., a 3D costmap resulting from the determination and / or calculation as described herein) is shown as an example. White areas mark nodes (and / or cells) that are traversable (e.g., corresponding to zero cost values) at a given orientation of the robot 300. Dark nodes (and / or cells) indicate (e.g., potential) collisions and / or non-traversable nodes (and / or cells).
[0165] Fig. 9A and Fig. 9B The footprint at reference numeral 300 in each of the shows the orientation of the robot 300 with respect to the displayed (eg, 3D) costmap.
[0166] exist Fig. 9A , a 3D costmap for an orientation with yaw=0 is schematically shown.
[0167] exist Fig. 9B , a 3D costmap for an orientation with yaw=90 degrees (and / or π / 2) is schematically shown.
[0168] Areas near (and / or surrounding the outer border of a (e.g., 2D) map are not traversable because the footprint may not be fully displaced, which makes nodes (and / or cells) near the border uncertain (and / or unknown).
[0169] from Fig. 9A and Fig. 9B It can be seen from the comparison of that the width of the white area (and / or corridor) corresponding to the cost value of the position (and / or node) depends on the orientation of the non-circular robot 300.
[0170] Table I shows some examples of the resulting number of nodes (and / or elements), computation time and memory requirements in relation to the desired angular accuracy (also denoted as angular resolution). The parameters of the base map correspond to the combination of Figure 3A , Figure 3B and Figure 4 Since most of the map typically does not change much between power cycles of the robot, it makes sense to save the calculated map (e.g., to the hard disk of the computing device 200, for example) and load it when (e.g., the computing device 200 and / or the method 200) is started to avoid duplication of computational effort (e.g., generating a 3D costmap according to step S102).
[0171]
[0172] In the case where the (e.g., extended) 3D costmap is pre-generated (also denoted as pre-computed), path planning is limited to a static environment and does not take into account dynamic obstacles. In order to allow changes after the 3D costmap is generated (and / or pre-computed), a piecewise update algorithm can be integrated that searches for changes in the 2D grid and then updates all surrounding 3D nodes (and / or cells) within a predetermined radius, which can correspond to the circumscribing distance of the footprint.
[0173] The examples in Table I clearly show that the angular accuracy of the 3D costmap should be set to the minimum possible value to save (e.g., computational and / or time) resources. To ensure that collision checking is still as accurate as possible, [3] recommends using the travel distance of the inlier point farthest from the robot's center of rotation (and / or rotation axis).
[0174] Since the inliers farthest from the center of rotation will travel the farthest during a rotation, it sets a minimum accuracy for each rotation step that no inliers travel more than one node (and / or unit). The distance from the center of rotation to the farthest inliers may also be referred to as the circumscribing radius of the robot's footprint, and / or may be obtained using the planar (e.g., x and y) values of the farthest footprint point. Figure 3A and Figure 3B For an example footprint of a Robot 300, these values are:
[0175] P x=0.48m; P y =0.185m; (1)
[0176]
[0177] The circumference of the resulting circle is:
[0178] c=2π×0.524m=3.29m. (3)
[0179] Using a 3D costmap resolution of 2.5cm = 0.025m, one can determine (and / or calculate) how many steps are needed in a full 360 degree (and / or 2π) rotation to achieve a node (and / or cell) to angle step ratio equal to or less than 1:
[0180] n steps =3.29m / 0.025m=131.6. (4)
[0181] Value n steps It can be used to get an approximation of the required accuracy for each step, which ensures that the robot part does not move more than one node (and / or unit) per step.
[0182] Skipping nodes (and / or cells) can potentially produce collision-free paths (and / or connections) between nodes (and / or cells). Only integers are used as step sizes, because the step width cannot be less than 1 for index progress (e.g., see Algorithm 2), so 132 steps are used in this implementation:
[0183] P ps =360 / 132=2.73deg / step=0.0476rad / step. (5)
[0184] Formulas (1) to (5) can be combined into a single general formula:
[0185]
[0186] The basic (and / or baseline) algorithm structure in the exemplary embodiment is similar to conventional graph search algorithms, such as A* or D*-Lite, and also uses the concepts of priority queues, closed lists, and cost functions to calculate the cost value of reaching nodes (and / or units), including some form of heuristics to speed up the search process. However, the technology of the present invention (e.g., including the algorithm) differs in important implementation details.
[0187] For example, in the figure, the data structure used to represent each node (also represented as xy-yaw-unit) is a custom class that can be extended according to the needs of cost calculation. Its main components are:
[0188] Coordinates: x, y, and yaw indices in the 3D costmap_3d data structure;
[0189] Parent: A pointer to the previous (e.g., graph) node used for backtracking paths;
[0190] Direct Goal Vector: A direct vector connecting a (e.g., graph) node and an end node (also denoted as a goal node).
[0191] Last Movement: the most recent movement (e.g., a single step) made to reach the node (and / or cell);
[0192] Cost: the total cost to reach the node;
[0193] Detailed Cost: Multiple cost values used to more accurately track individual cost components and their contribution to the total cost.
[0194] The costs in the above list may correspond to the accumulated cost values in step S108 of iteratively selecting consecutive positions.
[0195] Algorithm 3 describes the path planning of an embodiment in pseudo code, in particular step S108 of iteratively selecting consecutive positions (also denoted as a graph search algorithm).
[0196]
[0197]
[0198]
[0199] The implementation details of Algorithm 3 that are different from conventional path planning methods include:
[0200] Switching Start and End (and / or Goal) Node: Similar to D*-Lite, this algorithm searches from the end (and / or goal) to the start, allowing for faster reactions to dynamic elements;
[0201] Priority Queue (PQ): The data structure used for the priority queue is a std::multiset with a custom comparator for node costs. This allows easy cost updates during path planning;
[0202] Cell Exploration: A move vector can be given that includes all possible moves for the drive kinematics used. For example, for a fully constrained robot that moves one step in each dimension in both directions, the vector contains 26 different possible moves (3 3 -1 because (0, 0, 0) is not included and / or remains in the same pose).
[0203] The algorithm can be adapted for non-holonomic constrained robots (e.g., with differential steering geometry) by using adjusted movement displacement vectors;
[0204] Open and Closed List: While the closed list is implemented as a regular 3D Boolean array, in this embodiment there is no such open list, because it is difficult to track updates using binary values. Alternatively or additionally, the mechanism of the open list is "hidden" in the (e.g., node and / or 3D) map;
[0205] Node Map: A 3D array matching the size of the 3D costmap is initialized with void pointers to (e.g. graph) nodes (e.g. along the planned path). In addition to the (e.g. graph) node's parent field, pointers to explored nodes are also saved, which allows direct access and simple comparison during cost updates using node coordinates when revisiting explored nodes;
[0206] Nested Cost Updates: By integrating the open list into the node map, previously explored (and / or closed) nodes can be revisited and the cost to reach that node can be updated if a new, especially cheaper (and / or with a lower cumulative cost value) path is found. Since the PQ provides search functionality for specific values, the key value of such a node may be modified, potentially affecting the order of the PQ. Since this also affects nodes that are children of the updated node, their closed state will be reset, which also means that when they are popped from the PQ to update the children, they will be fully expanded (e.g., the 3D costmap will be regenerated locally).
[0207] Unexplored Map: The cost values of 3Dcostmap_3d nodes (and / or cells) can be calculated while exploring a path (and / or graph). However, since this includes the computational effort of cost calculation into the path (and / or graph) search, the time to plan a path increases when using an unexplored map.
[0208] The aspect that probably has the greatest impact on the algorithm's behavior is the calculation and composition of the cost value (and / or node cost) for each node. The method utilizes various types of cost sources (e.g., efficiency, proximity to obstacles, and / or stress reduction) that are fused using weights to obtain a specific algorithmic behavior:
[0209] ReachCost x,y,偏航 =ΣCost i ×Weight i (7)
[0210] If one or more of the available factors is to be excluded, the corresponding weight of the cost type may be set to zero (eg, disabling the cost type).
[0211] Conventional A* implementations use two types of costs: the cost for traversing from one node (and / or cell) to another node (and / or cell) (including the cost value of the node and / or the cost of the cell), and a heuristic function towards the end position (and / or the goal). Conventional A* algorithms do not consider other factors that measure the quality of a path, and therefore do not consider (e.g., not consider at all) these factors during path planning.
[0212] In order to include factors that measure path quality in planning, formulas for the corresponding factors must be developed. Since the cost value of a parent node is usually included in the cost of its child nodes, the value of a node (and / or cell) increases rapidly with the number of nodes (and / or cells) traversed. Therefore, if possible, the cost formula is preferably intended to reduce the influence of previous nodes in order to more accurately represent their true potential.
[0213] To allow the present techniques (e.g., systems including algorithms, methods 100, computing devices 200, and / or systems including computing devices 200 and non-circular mobile robots) to include proximity to obstacles in path planning (also denoted as path computation), the cumulative cost values (also denoted as accumulated cell costs) for all interior points may be normalized by dividing the cost values by the number of footprint points, thereby eliminating the effect of footprint size:
[0214] Cost C =CellCost x,y,偏航 / n 内点 (8)
[0215] Conventional methods use a fixed cost to traverse from one node (and / or cell) to another, and process the travel toward the end position (and / or goal) in another step. The fixed cost and separate processing of the travel toward the end position often results in many nodes (and / or cells) being fully explored, but which are not actually promising simply because they are closer to the start position and therefore have not accumulated as much cumulative cost (also expressed as total cost). Due to the number of possible explorations caused by the movement model, conventional methods result in time-consuming and inefficient calculations.
[0216] The present invention technology combines these two factors, which leads to a "free" movement toward the end position (and / or target). The present invention technology develops a cost value (and / or node cost) for each node, and / or focuses on a very greedy search for path planning toward the end position (and / or target). According to an embodiment, in order to determine (e.g., calculate) the efficiency of the movement, the length of the movement displacement and the change in the length of the direct target vector are added. If the child node is closer to the end position (and / or target), the right-hand side term becomes negative, so the travel toward the end position (and / or target) is subtracted from the movement displacement:
[0217] Cost E =len(MS)+Δlen(DGV)
[0218] =len(MS)+(len(DGV 子节点 )-len(DGV 父节点 )). (9)
[0219] For a movement displacement that moves directly toward the final position (and / or target), the entire term becomes zero, because the length of the displacement and the change in length toward the final position (and / or target) exactly match. For a displacement that moves only partially toward the final position (and / or target), the cost of moving in other directions still appears in the total result of the term. According to an embodiment, a displacement that moves away from the final position (and / or target) is penalized with a doubled traverse cost, because such a movement is the least promising.
[0220] It is important to note that due to the property of the term with len(MS) in (9) being always greater than or equal to Δlen(DGV), the cost Cost E will never become negative. Alternatively or additionally, the basic requirement of non-negative edge costs for A* or D* search is satisfied.
[0221] include Figure 3A and Figure 3BMost robots of the exemplary robot 300 have a preferred direction of movement. The heading when moving can be rated by converting the movement displacement from index units to a movement vector. The (e.g., x and y) values of the displacement (e.g., along a first direction and a second direction on a plane and / or on a 2D grid) can be multiplied by a sine factor and / or a cosine factor of the orientation of the parent node (and / or unit). By using the absolute value of the vector, the resulting cost can be guaranteed to be always non-negative:
[0222] Yaw = Coords 父节点,偏航 × Angular accuracy;
[0223] v x =|cos(yaw)×ms.x+sin(yaw)×ms.y|;
[0224] v y =|sin(yaw)×ms.x+cos(yaw)×ms.y|. (10)
[0225] To obtain the preferred direction, the weight for each individual dimension can be applied to the result of equation (10):
[0226] Cost H =v x × x +v y × y +Yaw×w 偏航 (11)
[0227] Since equations (9) and (10) do not distinguish between positive and negative values, we can use the actual direction (e.g., w x,pos )Apply situational factors.
[0228] If a robot (e.g. Figure 3A and Figure 3B If the robot 300) should follow the planned path (also denoted as generated path) accurately, a key aspect of path planning (and / or trajectory calculation), including the speed (also denoted as execution speed) for the robot to execute the planned path, is to minimize changes in the direction of movement, since changes in the direction of movement typically require the speed (also denoted as rate) to drop to (e.g., close to) zero for this dimension (and / or change in direction). Alternatively or additionally, the limitation is in particular a pre-limited maximum speed (and / or rate) on this section (e.g. of the planned path), e.g. due to (negative and / or positive) acceleration limits of the robot.
[0229] Using the values of the last movement displacements, the change costs and / or stresses are determined (and / or calculated) for all three dimensions, e.g. for x:
[0230] s x=|LMS 父节点,x -MS x |. (12)
[0231] The costs along all three dimensions are then accumulated to obtain the total weight and / or total cost:
[0232] Cost S =s x +s y +s 偏航 (13)
[0233] In an exemplary embodiment, the algorithm is combined with the parameter value w c =4;we=4;w ms =1; w x , pos =1; w x,neg =4; w y =4; w yaw =4; w s = 1. The parameter values are determined experimentally by manually evaluating the planned paths (and / or generated paths).
[0234] Fig.10 , Fig.11 , Fig. 12A and Fig. 12B Each shows a planned path (and / or a generated path) at reference numeral 504, along with a projected footprint of each pose on the path (eg, around path 504) and an exploration state of a 3D costmap in accordance with present techniques.
[0235] The exploration status of the 3D costmap is displayed by counting the visited angles of each node (e.g., xy cell), where fully explored (especially traversable) nodes (and / or cells) (e.g., 360 degrees and / or 2π) appear white, and unexplored (and / or explored as non-traversable) nodes (and / or cells) are dark.
[0236] Note that Fig.10 , Fig.11 , Fig. 12A and Fig. 12B There are many nodes (and / or units) that can be passed through, and the nodes (and / or units) are still marked in dark color because they have not been explored in step S108 of iteratively selecting consecutive positions (and / or by the path planning and / or path search algorithm of the present invention). The existence of unexplored nodes (and / or units) is advantageous (and / or good) because it shows the direction and / or focus of the search (for example, avoiding deviation from the end position 506), which will reduce the computational workload if not all nodes (and / or units) are explored and still find a (especially collision-free) path.
[0237] Table II shows exemplary details regarding planned (and / or generated) paths, runtime requirements, and number of nodes explored in accordance with the present techniques.
[0238]
[0239]
[0240] Fig.10 Schematically shows the components from Table II including Figure 4 Use case 1 for long-distance (e.g., path) planning of the exploration state of the 2D map. In the case of test case 1 where there is only a problematic segment at the delivery point, Fig.10 The results shown in show that there is room for more optimization regarding movement using the inventive technique.
[0241] Fig.10 The exploration state of the example map also shows how difficult it actually is to find a path, given how much of the map is fully explored (e.g., white). However, for more maze-like maps, for example, it is difficult to improve the exploration state because the algorithm can get stuck in a local minimum.
[0242] Since the robot moves straight ahead in most sections, the algorithm is shown to produce a directionally optimized path. Fig.10 The only exception is the first (in Fig.10 left-hand side) vertical corridor section, where the effort of performing, for example, multiple (e.g., two or three) consecutive 90 degree (and / or π / 2) rotations is more valuable (and / or more expensive) than traveling more sideways and thus closer to the wall. Alternatively or in addition, one or two consecutive 90 degree (and / or π / 2) rotations may be more expensive (and / or may result in a higher cumulative cost value) than (particularly two) 45 degree (and / or π / 4) rotations and / or driving sideways.
[0243] Fig.11 The exploration state and low computation time of Test Case 2 of Table II schematically shown in shows how well the algorithm works for more closed spaces (e.g., spirals). The planned path (and / or generated path) is also collision-free, thus demonstrating the ability of the present technique (and / or algorithm) to plan (and / or generate) collision-free maneuvers in closed spaces.
[0244] exist Fig.11 , shows use case 2 of Table II, Figure 4 The spiral is traversed without collision.
[0245] exist Fig. 12A, use case 3 of Table II is shown. The robot rotates before entering the corridor (and / or hallway) backwards, as indicated at 1202 .
[0246] The solution for Use Case 3 of the inventive technique appears as expected, with the robot turning before entering the narrow corridor (and / or hallway). It is worth noting that the non-preferred but necessary backward movement is one of the path solutions according to the inventive technique.
[0247] exist Fig. 12B , use case 4 of Table II is shown. Through the inventive technique, alternative collision-free paths 504 (also denoted as routes) are found instead of untraversable corridors (and / or hallways).
[0248] Use case 4 also shows the expected results. Where the search starts from the end position (and / or goal) 506, the exploration state of use case 4 shows that there is no direct connection through the corridor (and / or hallway) because there is no collision-free node connection for the narrow corner, which leads to alternative paths (and / or routes) around the corridor (and / or hallway).
[0249] Through the technology of the present invention, path planning for a non-circular robot in an environment including obstacles is provided. A 3D cost map is received. The 3D cost map includes a 2D map of a plane and a cost value for each position on the 2D map, which cost value indicates the cost of positioning the robot in a predetermined orientation when there are obstacles near the position. The starting position and the ending position of the robot are received, including the starting orientation and the ending orientation of the robot, respectively. The continuous positions of the planned path are iteratively selected from the starting position to the ending position. The cumulative cost value of the continuous positions including the sum of the cost values is minimized. The cumulative cost value also includes, for example, a stress value indicating a change in the direction of movement along the planned path.
[0250] The benchmark results in Table II demonstrate that the present technology (e.g., including the algorithm, method 100, computing device 200, and / or a system including computing device 200 and a non-circular mobile robot) solves Figure 3A and Figure 3B Examples of robot 300 with arbitrarily shaped (and / or non-circular) footprints and full constraint-driven capabilities for advanced navigation problems.
[0251] Due to the exemplary algorithm implementation, the method is also applicable to any other shape. Compared with conventional methods, the technology of the present invention is proven to be able to produce longer paths through more open spaces, while being superior to conventional methods in terms of both map resolution and calculation time. Due to the additional factor of the node cost of the present invention, the accuracy of the path quality is transferred toward practical applications. In order to reduce the calculation time and thus improve the availability (e.g., online) on a real robot, the difficult path can be pre-processed (e.g., a pre-generated 3D cost map) and loaded from, for example, a memory (e.g., disk) of a computing device 200. It is also feasible to identify collisions and / or chaotic sections of 2D paths and solve collisions and / or chaotic sections more individually (and / or in an independent manner). Alternatively or in addition, the option of usually having a solution (e.g., partial path) problem individually (and / or in an independent manner) can make a key difference to the availability of fully autonomous robots in industrial environments.
[0252] Although not explicitly described, the various embodiments described with respect to the drawings or their various aspects and features may be combined or exchanged with one another without limiting or expanding the scope of the described invention, as long as such combination or exchange is meaningful and in the sense of the invention. The advantages described with respect to a specific embodiment of the invention or with respect to a specific drawing are also advantages of other embodiments of the invention in any applicable case.
[0253] Citation list
[0254] [1] E. Marder-Eppstein, E. Berger, and T. Foote, The Office Marathon: Robust Navigation in an Indoor Office Environment, IEEE International; Conference on Robotics and Automation, 2010
[0255] [2]S.Koenig and M.Likhachev,D*Lite,Proceedings of the EighteenthNational Conference on Artificial Intelligence and Fourteenth Conference onInnovative Applications of Artificial Intelligence,2002
[0256] [3]M.Dakulovic,C.Sprunk,L.Spinello,Ivan Petrovic,and and W.Burgard,Efficient Navigation for Anyshape Holonomic Mobile Robotsin DynamicEnvironments,IEEE / RSJ International Conference on Intelligent Robots andSystems,2013
[0257] [4]R.Samaniego,J.Lopez,and F.Vazquez,Path Planning for Non-Circular,Non-Holonomic Robots in Highly Cluttered Environments,Sensors,August 2017
[0258] [5]G.Grisetti,C.Stachniss,and W.Burgard,Improved Techniques for GridMapping with Rao-Blackwellized Particle Filters,IEEE Transactions onRobotics,Volume 23,pages 34-46,2007
[0259] [6]G.Grisetti,C.Stachniss,and W.Burgard,Improving Grid-based SLAMwith Rao-Blackwellized Particle Filters by Adaptive Proposals and SelectiveResampling,In Proc.of the IEEE International Conference on Robotics andAutomation(ICRA),2005
[0260] [7] B.Lau, C.Sprunk, and W.Burgard, Efficient grid-based spatial representations for robot navigation in dynamic environments, Robotics and Autonomous Systems, pages 1116-1130, October 2013
[0261] Reference numerals
[0262] 100 Methods
[0263] S102 Steps to generate 3D costmap
[0264] S104 Steps for receiving 3D costmap
[0265] S106 Step of receiving the start position and the end position
[0266] S108 Iteratively select the step of consecutive positions
[0267] S110 Steps to output the planned path
[0268] S112 Steps for executing the planned path
[0269] 200 computing devices
[0270] 202 3D costmap generation module
[0271] 204 3D costmap receiving interface
[0272] 206 Start and end position receiving interface
[0273] 208 Continuous Position Selection Module
[0274] 210 Planning path output interface
[0275] 212 Path planning execution module
[0276] 214 Memory
[0277] 216 Input-Output Interface
[0278] 218 processors
[0279] 300 Non-circular mobile robot
[0280] 302 Robot's Front
[0281] 304 Robot's side view
[0282] 306 Behind the Robot
[0283] 308 Robot's longitudinal axis
[0284] 310 Robot's horizontal axis
[0285] 312 rounds
[0286] 314 Load
[0287] 400 2D map of the plane
[0288] 402 Obstacles, especially walls
[0289] 404 Free Ground Space
[0290] 500 Costmap with planned paths
[0291] 502 Start Location
[0292] 504 Planning Path
[0293] 506 End position
[0294] 508 Collision Area
[0295] 510-1; Orientation of robots
[0296] 510-2
[0297] 512-1; Areas around obstacles with non-zero cost values
[0298] 512-2
[0299] 514 Areas with zero cost value
[0300] 802 First grid direction
[0301] 804 Second grid direction
[0302] 806 nodes
[0303] 1202 The rotation of the robot at a (e.g., starting) position
Claims
1. A computer-implemented method (100) for path planning of a non-circular mobile robot (300) in an environment (400) including obstacles (402), the computer-implemented method (100) comprising the following method steps: - receiving (S104) a three-dimensional 3D cost map, wherein: The 3D cost map includes a two-dimensional 2D map of a plane in which the non-circular mobile robot (300) can move, and wherein the 3D cost map also includes a cost value for each position on the 2D map, the cost value indicating the cost of positioning and / or moving the non-circular mobile robot (300) in the presence of one or more obstacles (402) in a predetermined environment of the position, wherein the positioning and / or moving includes the orientation of the non-circular mobile robot (300); – receiving (S106) a starting position (502) and an ending position (506) of the non-circular mobile robot (300) on the 3D costmap, wherein the starting position (502) includes a starting orientation of the non-circular mobile robot (300), and wherein the ending position (506) includes an ending orientation of the non-circular mobile robot (300); - starting at the received (S106) start position (502) and terminating at the received (S106) end position (506), iteratively selecting (S108) successive positions of the path to be planned, wherein the iteratively selecting (S108) comprises: minimizing a cumulative cost value of the successive positions, wherein the cumulative cost value comprises a sum of cost values of the successive positions according to the received (S104) 3D cost map, and wherein the cumulative cost value further comprises a stress value, wherein the stress value indicates a change in a moving direction along the planned path (504); - outputting (S110) the planned path (504) based on the iteratively selected (S108) consecutive positions.
2. The method (100) according to claim 1, wherein: The planar 2D map comprises a grid (802; 804), and wherein nodes (806) on the grid (802; 804) comprise selectable locations.
3. The method (100) according to the preceding claim, wherein: The 3D cost map includes a natural number N copies of each node (806) of the grid (802; 804), wherein each copy includes a different rotation orientation of the non-circular mobile robot (300), in particular, for any integer k less than N, a rotation of a fraction k / N of the full angle, i.e. 2πk / N.
4. The method (100) according to any one of the preceding claims, wherein: The step of iteratively selecting (S108) consecutive positions comprises applying a greedy search algorithm.
5. The method (100) according to the preceding claim, wherein: The greedy search algorithm is selected from the following group: –A star algorithm, namely A* algorithm; – Dijkstra’s algorithm; and –D-star-Lite algorithm, also known as D*-Lite algorithm.
6. The method (100) according to any one of the preceding claims, further comprising at least one of the following method steps: - generating (S102) the 3D costmap; and - Updating the 3D costmap in response to changes in the position of one or more obstacles (402).
7. The method (100) according to any one of the preceding claims, further comprising the following method steps: - The planned path (504) outputted from (S110) is executed (S112) by the non-circular mobile robot (300).
8. The method (100) according to any one of the preceding claims, wherein: The non-circular mobile robot (300) comprises a holonomically constrained robot (300).
9. The method (100) according to any one of the preceding claims, wherein: The 3D cost map is based on the convex hull of the footprint of the non-circular mobile robot (300) on the 2D map of the plane, and optionally, the 3D cost map is also based on a predetermined safety area around the convex hull.
10. The method (100) according to any one of the preceding claims, wherein: The cumulative cost value is also increased by at least one of the following: - a change in the orientation of the non-circular mobile robot (300); - a deviation from the end position (506) and / or the start position (502); and - Repeated traversal of positions along the planned path (504).
11. The method (100) according to any one of the preceding claims, wherein: The 3D cost map also includes a height constraint related to the height of the non-circular mobile robot (300).
12. The method (100) according to any one of the preceding claims, wherein: Determining the cumulative cost value includes performing a weighted sum of the cost values.
13. A computing device (200) for path planning of a non-circular mobile robot (300) in an environment (400) including obstacles (402), the computing device (200) comprising: – a 3D costmap receiving interface (204), the 3D costmap receiving interface (204) being configured to receive a three-dimensional 3D costmap, wherein the 3D costmap comprises a two-dimensional 2D map of a plane in which the non-circular mobile robot (300) is capable of moving, and wherein the 3D costmap further comprises a cost value for each position on the 2D map, the cost value indicating a cost of positioning and / or moving the non-circular mobile robot (300) in the presence of one or more obstacles (402) in a predetermined environment of the position, wherein the positioning and / or moving comprises an orientation of the non-circular mobile robot (300); - a start and end position receiving interface (206), the start and end position receiving interface (206) being configured to receive a start position (502) and an end position (506) of the non-circular mobile robot (300) on the 3D costmap, wherein the start position (502) includes a start orientation of the non-circular mobile robot (300), and wherein the end position (506) includes an end orientation of the non-circular mobile robot (300); a continuous position selection module (208) configured to: start at the received start position (502) and terminate at the received end position (506), iteratively select continuous positions of the path to be planned, wherein the iterative selection comprises: minimizing a cumulative cost value of the continuous positions, wherein the cumulative cost value comprises a sum of cost values of the continuous positions according to the received 3D cost map, and wherein the cumulative cost value further comprises a stress value, wherein the stress value indicates a change in the direction of movement along the planned path (504); - a planned path (504) output interface (210) configured to output the planned path (504) based on the iteratively selected consecutive positions.
14. The computing device (200) according to the preceding claim, wherein The computing device (200) is further configured to perform any of the steps in method claims 2 to 12, or include any of the features in method claims 2 to 12.
15. A system for path planning of a non-circular mobile robot (300) in an environment (400) including obstacles (402), the system comprising: - a computing device (200) according to claim 13 or 14; as well as - Non-circular mobile robot (300).
16. System according to the preceding claim, wherein The non-circular mobile robot (300) comprises at least one Mecanum wheel, in particular four Mecanum wheels.
17. The system according to claim 15 or 16, wherein: The non-circular mobile robot (300) includes at least one sensor for collision avoidance.
18. A computer program product comprising program elements which, when loaded into a memory of a computing device (200), cause the computing device (200) to execute the steps of a method for path planning of a non-circular mobile robot (300) in an environment (400) comprising obstacles (402) according to one of the preceding method claims.
