New Products
UC-win/Road Version 5.2 Replay Options New
VR simulation recording and playback plugins

Scheduled release: March 2011 Simulation

 Foreword
It can record and play back (replay)UC-win/RoadPlugins for modeling the movement of vehicles and pedestrians within a simulation. These plugins allow users to manually control vehicles during driving simulations, enabling them to observe events such as collisions between vehicles or contact with guardrails from both the driver's seat and an external viewpoint (Figure 1). They are particularly useful for detailed examination of traffic flow in intersection simulations.

→
■ Figure 1: Confirming events from outside the vehicle during driving simulation

 Key features and characteristics

The system continuously records and displays the movements of vehicles, pedestrians, etc., at a rate of dozens of times per second (depending on the computer's performance). Regarding vehicles, in order to record behaviors such as those shown in Figure 2 (rolling/pitching/yawing), the system can accurately reproduce in real-time the vehicle's movements caused by changes in road surface elevation, and the conditions during collisions.

The objects to be recorded are shown in Table 1. In addition to vehicles and pedestrians, it is also possible to record traffic signals and surrounding conditions.

■ Figure 2: Vehicle behavior

The objects to be recorded are shown in Table 1. The recording includes traffic signals and surrounding conditions for both vehicles and pedestrians.

Vehicles Coordinates, rolling, pitch and yaw, lateral displacement, turn signals, brake lights, etc.
Pedestrian  Coordinates, movement, rolling, pitch, yaw
Traffic signals  Illumination status
Economic conditions The situation during scene execution
■ Table 1: Objects for Replay Recording
 Operating instructions
Control panel
To open the operation panel shown in Figure 3, use the [Tools] -> [Playback Plugin] menu. The operation method is the same as that of a typical CD player, allowing you to perform functions such as fast forward, slow motion, and rewind. You can also move to a specific point on the timeline by dragging it to start playback. Additionally, it supports both immediate playback after recording and saving the recording as a file for later playback.

Toolbar
When the toolbar is displayed on the main screen, you can perform recording and playback operations directly from the toolbar (Figure 4). The operation panel does not disappear behind the background of the main screen, which improves operational efficiency.

Options
The device offers features such as recording with a specified viewpoint (driver's seat, rear of the vehicle, etc.), selecting vehicles to track that maintain a certain distance from your own vehicle, or choosing only pedestrians as the subject for recording.
■ Figure 3: Control panel ■ Figure 4: Toolbar

 Connecting to scene plugins
This plugin connects with scene plugins and can start recording at the moment an event occurs. For example, when a sudden event such as vehicle contact happens, it records from several seconds before the event to the moment of occurrence, then returns to the original scene. Alternatively, when a vehicle stops at a specific location like a parking lot, it can be configured to record and confirm a series of driving behaviors related to the parking process.

■ Figure 5: Setting scene

 Data management methods

A large number of vehicles and pedestrian movements are recorded in real-time. In some cases, the recording may include hundreds or even thousands of objects. When this happens, the amount of data generated can become very large, potentially exceeding 1GB. To address this, the plugin uses ZLib (a compression format used by ZIP and others) to compress the recorded data.

In addition, when all data from the recording file is read into memory before playback, it places a burden on the memory. Therefore, as shown in Figure 6, we adopted a method of reading only the necessary data in small units.

Therefore, by reducing the memory load to suppress delays in data import, high performance has also been achieved during the playback of a large number of models.

■ Figure 6: Management method for playback data

 Connection with UC-win/Road SDK

When used together with this plugin, the UC-win/Road SDK allows for recording and playback control from the SDK side.

In addition, when playing back data recorded during driving simulations, it is possible to obtain information such as the position of the vehicle, the amount of steering wheel rotation, other driving operations, and speed. Table 2 shows examples of commands that can be controlled from the SDK side.

Rec Start recording
Replay Start playing
Stop End recording. Stop playback.
Jump Start playback from the specified time
LoadFromFile Import specified files
DrivingCar Obtain information about your own vehicle
■ Table 2: Example commands for the replay plugin

 Future reservations

In the future, we will thread the data import process for playback to improve background reading and achieve higher performance.

In addition, when connecting with scene plugins, we have added features such as displaying information and extensions for pre-planned viewpoint control. Please look forward to it.

(Featured in the Up&Coming "New Year" issue of 2011)
Return
Up&Coming

FORUM8