|
Algorithm 1
|
| if
then
|
| the target pedestrian is heading in the same direction as the host vehicle, no collision warning is sent |
| else if
then
|
| the target pedestrian is heading in the conflict direction with the host vehicle, collision warning is sent |
| else if
then
|
| the target pedestrian is crossing on the left side of the host vehicle, collision warning is sent |
| else if
then
|
| the target pedestrian is crossing on the right side of the host vehicle, collision warning is sent |
| end if
|