Research Article

Driving Risk Analysis Based on Driving Experience at Hook-Turn Intersection Using the Emerging Virtual Reality Technology

Algorithm 6

(1)Create a Vissim_Vehicle_Dictionary and a Unity3D_Vehicle_Dictionary
(2)Input the Vissim vehicle position information (x, y, and z coordinates) and the player’s car information (x, y, and z coordinates) into the dictionary
(3)Retrieve the Vissim vehicle to Unity3D and the player's vehicle to Vissim
(4)Retrieve signal status by reading current signal status from the Signal_dictionary
(5)Adjust the status of a vehicle, signal status to Unity3D, and the status of player's vehicle to Vissim