Two-way D algorithm for path planning and replanning

https://doi.org/10.1016/j.robot.2011.02.007Get rights and content

Abstract

Inspired by the Witkowski’s algorithm, we introduce a novel path planning and replanning algorithm — the two-way D (TWD) algorithm — based on a two-dimensional occupancy grid map of the environment. Unlike the Witkowski’s algorithm, which finds optimal paths only in binary occupancy grid maps, the TWD algorithm can find optimal paths in weighted occupancy grid maps. The optimal path found by the TWD algorithm is the shortest possible path for a given occupancy grid map of the environment. This path is more natural than the path found by the standard D algorithm as it consists of straight line segments with continuous headings. The TWD algorithm is tested and compared to the D and Witkowski’s algorithms by extensive simulations and experimentally on a Pioneer 3DX mobile robot equipped with a laser range finder.

Highlights

► The two-way D algorithm finds optimal paths in weighted graphs. ► TWD produces shorter and more natural low-cost paths through the grid. ► The TWD path consists of straight line segments with continuous headings. ► The TWD path is the shortest possible path in geometrical space. ► TWD performs well in changing environments.

Introduction

An autonomous mobile robot is expected to perform goal-directed tasks in cramped and unknown environments. The task of the path planning algorithm is to compute an optimal path to the given goal and to replan the path in case the previously planned path is blocked by obstacles.

The majority of path planning algorithms produce a graph of possible paths to the goal [1] and then apply a classical graph search algorithm [2], such as the A [3], D[4] or focused D (FD) [5] algorithms, to find the optimal path. The D and FD algorithms are very often used because of their capabilities of fast replanning in changing environments, i.e. in environments where new obstacles can be added or removed. Two-dimensional (2D) occupancy grid maps are usually used to represent a continuous environment by an equally-spaced grid of discrete points [6]. Grid cells cover the area densely and each grid cell contains information about its occupancy.

The path obtained by a classical graph search algorithm based on a uniform resolution grid is a zigzag line with sharp turns, the angles of which are limited to increments of 45° [4], [5], [7]. A mobile robot cannot follow such a path smoothly due to its kinematic and dynamic constraints. To overcome this limitation a number of algorithms have been developed which produce paths not constrained to a small set of headings [8], [9], [10], [11], [12], [13]. For example, the Field D algorithm [8] extends the standard D algorithm by using linear interpolation to produce straight line segments with continuous headings. Although Field D produces less costly paths than the D algorithm, the path optimality is not guaranteed. A different approach to produce straight line segments with continuous headings is proposed by Gennery in [9]. His algorithm is based on the Witkowski’s algorithm [14], which uses two-way (forward and backward) passes of the breadth-first search (BFS) to find the optimal paths. BFS can find optimal paths only in graphs that have all weights equal [2]. Gennery adapted the Witkowski’s algorithm for finding the paths in graphs with arbitrary weights, but his adaptation does not guarantee the path’s optimality. Besides, the Witkowski’s and Gennery algorithms perform poorly in changing environments as the path must be completely replanned each time the environment changes, which significantly enlarges the computational time of the search algorithm.

This paper presents a new path planning algorithm, called two-way D (TWD) algorithm, which is actually the Witkowski’s algorithm with the two-way breadth-first search replaced by the two-way D search. By applying the two-way D search of the graph, an area of minimal path costs from the start node to the goal node in graphs with arbitrary weights is found and an algorithm for optimal path calculation through that area is developed. The calculated path is the shortest possible path in the geometrical space composed of long straight line segments with continuous headings. The proposed algorithm also performs well in changing environments although it is computationally more demanding than the D algorithm.

The rest of the paper is organized as follows. Section 2 briefly reviews the D and Witkowski’s algorithms. Section 3 presents the new path planning algorithm. In Section 4 test results are given and compared to those obtained by the Witkowski’s and D algorithms under the same conditions. Finally, Section 5 gives the conclusions of the paper.

Section snippets

Related algorithms

The path planning and replanning algorithm proposed in this paper is based on the D algorithm [4] and the Witkowski’s algorithm [14], and therefore these two algorithms are briefly surveyed in this section. Since both algorithms as well as our proposed algorithm create and search graphs in occupancy grid maps of the environment, we first present the used maps and the process of graph creation and search.

The following notation is used for algorithms description throughout the paper. For any

The two-way D algorithm

The proposed two-way D algorithm is inspired by the Witkowski’s algorithm. It also searches the graph in forward and backward passes. The difference is that the TWD algorithm uses the D algorithm for graph search in these two passes instead of the BFS algorithm used in the Witkowski’s algorithm. The usage of forward and backward passes of the D algorithm through the graph enables the TWD algorithm to also find optimal paths in weighted graphs, i.e. in weighted occupancy grid maps with the

Test results

In order to validate the proposed two-way D algorithm, a carefully chosen simulation and experimental tests were performed on a Pioneer 3DX mobile robot. The simulation tests were performed in three different-sized randomly generated grid maps and the experimental tests were performed at our Department. The laser range finder SICK LMS200 mounted on the robot was used for environment perception. It scans the environment in radial range of ±π2 with resolution of 1 and sends to the robot 181

Conclusion

In this paper a new path planning algorithm — the so-called two-way D (TWD) algorithm — is proposed that finds optimal paths in weighted graphs, i.e. in occupancy grid maps with a safety cost mask around the obstacles. The path consists of straight line segments with continuous headings and is the shortest possible path in geometrical space. Similarly to the Witkowski’s algorithm, which was used as an inspiration, the TWD algorithm searches the graph forward and backward. However, unlike the

Acknowledgement

This research has been supported by the Ministry of Science, Education and Sports of the Republic of Croatia under grant No. 036-0363078-3018.

Marija Dakulović received the B.Sc. degree in 2004 and Ph.D. degree in 2010, all in Electrical Engineering from the Faculty of Electrical Engineering and Computing (FER Zagreb), University of Zagreb, Croatia. Since 2004 she has been with the Department of Control and Computer Engineering at FER Zagreb, where she is currently working as a teaching assistant and a post-doc researcher. Her main research interests are: mobile robotics (especially path planning, obstacle avoidance and motion

References (26)

  • H. Samet

    Neighbor finding techniques for images represented by quadtrees

    Computer Graphics and Image Processing

    (1982)
  • D. Cagigas

    Hierarchical D* algorithm with materialization of costs for robot path planning

    Robotics and Autonomous Systems

    (2005)
  • J. Latombe

    Robot Motion Planning

    (1991)
  • S. Russell et al.

    Artificial Intelligence: A Modern Approach

    (1995)
  • P. Hart et al.

    A formal basis for the heuristic determination of minimum cost paths

    IEEE Transactions on Systems Science and Cybernetics

    (1968)
  • A. Stentz, Optimal and efficient path planning for partially-known environments, Robotics and Automation, 1994, in:...
  • A. Stentz, The focussed D* algorithm for real-time replanning, in: International Joint Conference on Artificial...
  • S. Thrun et al.

    Probabilistic Robotics

    (2005)
  • S. Koenig et al.

    Fast replanning for navigation in unknown terrain

    IEEE Transactions on Robotics

    (2005)
  • D. Ferguson, A. Stentz, Field D*: an interpolation-based path planner and replanner, Robotics Research, in: Results of...
  • D.B. Gennery

    Traversability analysis and path planning for a planetary rover

    Autonomous Robots

    (1999)
  • D. Ferguson et al.

    Multi-resolution field D

  • K. Konolige, A gradient method for realtime robot control, in: Proc. of the IEEE/RSJ Interational Conference on...
  • Cited by (0)

    Marija Dakulović received the B.Sc. degree in 2004 and Ph.D. degree in 2010, all in Electrical Engineering from the Faculty of Electrical Engineering and Computing (FER Zagreb), University of Zagreb, Croatia. Since 2004 she has been with the Department of Control and Computer Engineering at FER Zagreb, where she is currently working as a teaching assistant and a post-doc researcher. Her main research interests are: mobile robotics (especially path planning, obstacle avoidance and motion planning). During her undergraduate and graduate studies she was awarded with two faculty prizes, Vice-chancellor award and with scholarships from the Croatian ministry of science.

    Ivan Petrović received B.Sc. degree in 1983, M.Sc. degree in 1989 and Ph.D. degree in 1998, all in Electrical Engineering from the Faculty of Electrical Engineering and Computing (FER Zagreb), University of Zagreb, Croatia. He had been employed as an R&D engineer at the Institute of Electrical Engineering of the Končar Corporation in Zagreb from 1985 to 1994. Since 1994 he has been with FER Zagreb, where he is currently a full professor and the head of the Department of Control and Computer Engineering. He teaches a number of undergraduate and graduate courses in the field of control systems and mobile robotics. His research interests include various advanced control strategies and their applications to control of complex systems and mobile robots navigation. Results of his research effort have been implemented in several industrial products. He is a member of IEEE, IFAC TC on Robotics and FIRA Executive committee. He is a collaborating member of the Croatian Academy of Engineering.

    View full text