Algorithm 4 Decision-making for avoidance maneuvers |
Input: ► Ot: object IDs and locations at current frame Output:
► : object IDs and locations at current frame 1:
2:
► acquire 3D position of object 3:
4:
5:
6:
7:
► consider object as a threat if inside SafeWindow 8:
► execute avoidance maneuver if distance is below threshold 9:
10:
11:
12:
13:
14:
15:
16:
17: break
|