|
Algorithm 3 Fully . Distributed Dynamic Task Execution |
Input:
Output:
|
-
1:
for do
-
2:
if then
-
3:
Move to location.
-
4:
Set .
-
5:
Compute based on Equation (4).
-
6:
else if then
-
7:
Set .
-
8:
end if
-
9:
Read lidar sensor.
read()
-
10:
if detects a dynamic event then
-
11:
Notify the central controller of the event occurrence by calling Algorithm 7.
()
-
12:
end if
-
13:
end for
-
14:
Notify the central controller of the idleness state by calling Algorithm 7.
()
|