Research Article

Remote Teleoperated and Autonomous Mobile Security Robot Development in Ship Environment

Algorithm 1

Tangent bug algorithm.
Input:  A robot with a range sensor
Output:  A path to Goal or a conclusion no such path exists
while True do
repeat
  Continuously move toward the point , which minimizes ( , ) + ( , Goal)
until
   the goal is encountered or
   The direction that minimizes ( , ) + ( , Goal) begins to increase
    ( , Goal), that is, the robot detects a “local minimum” of (·, Goal)
Chose a boundary following direction which continues in the same direction as the
  most recent motion-to-goal direction.
repeat
  Continuously update , , and .
  Continuously moves toward that is in the chosen boundary direction.
until
   The goal is reached.
   The robot completes a cycle around the obstacle in which case the goal cannot be achieved.
   
end while