Algorithm A1 processBackward |
Input:: the robot current position; : A local path intercepted from the global path; : the global target Output:
-
1:
-
2:
Set the reachable distance of the global target
-
3:
ifthen
-
4:
Get the from the last point of
-
5:
-
6:
Calculate the direction vector between the robot and the local target
-
7:
Calculate the direction vector of the robot
-
8:
-
9:
if then
-
10:
-
11:
else
-
12:
-
13:
end if
-
14:
else
-
15:
-
16:
end if
|