Figure 9: Flowchart of collision avoidance.