Bug algorithm explained

Bug algorithm is a class of algorithm that helps robots deal with motion planning.[1] [2]

Basic assumptions

Algorithm

The most basic form of Bug algorithm (Bug 1) is as follows:

  1. The robot moves towards the goal until an obstacle is encountered.
  2. Follow a canonical direction (clockwise) until the robot reaches the location of initial encounter with the obstacle (in short, walking around the obstacle).
  3. The robot then follows the obstacle's boundary to reach the point on the boundary that is closest to the goal.
  4. Go back to step 1. Repeat this until the goal is reached.

See also

Notes and References

  1. http://msl.cs.uiuc.edu/~lavalle/cs497_2001/book/uncertain/node3.html BUG Algorithms
  2. Book: Choset, Howie. Robotic Motion Planning: Bug Algorithms. Carnegie Mellon University.