Main Content

Curved Road

Curved road 3D environment

Description

The Curved Road scene is a 3D environment of a curved highway loop. The scene is rendered using the Unreal Engine® from Epic Games®.

To simulate a driving maneuver in this scene:

  1. Add a Simulation 3D Scene Configuration block to your Simulink® model.

  2. In this block, set the Scene source parameter to Default Scenes.

  3. Set the enabled Scene name parameter to Curved road.

Scene Layout

The scene uses the world coordinate system to locate objects.

This table provides the scene corner locations in the world coordinate system. Dimensions are in m.

Location

X

(m)

Y

(m)

Z

(m)

Scene — Bottom left

-1587.75

195.39

0

Scene — Top right

428.26

-1820.60

0

Recommended Starting Location

This table provides the recommended starting location for the vehicle in the world coordinate system. Dimensions are in m and deg.

Recommended Starting Location

X

(m)

Y

(m)

Z

(m)

Roll

(deg)

Pitch

(deg)

Yaw

(deg)

0.2

-1605.00

0

0

0

–156°

Lane Dimensions

This figure and table provides the lane dimensions, in m.

Variable

Dimension (m)

lw1

1.2

lw2

3.82

lw3

3.82

lw4

0.3

lw5

3.83

lw6

3.83

lw7

1.2

ml

1.5

s

3.0

mww

0.13

mwy

0.15

W

18.0

World Coordinate System

The 3D visualization environment uses a world coordinate system with axes that are fixed in the inertial reference frame.

AxisDescription
X

Forward direction of the vehicle

Roll — Right-handed rotation about X-axis

Y

Extends to the right of the vehicle, parallel to the ground plane

Pitch — Right-handed rotation about Y-axis

Z

Extends upwards

Yaw — Left-handed rotation about Z-axis

Tips

  • If you have the Vehicle Dynamics Blockset™ Interface for Unreal Engine 4 Projects support package, then you can modify this scene. In the Unreal Engine project file that comes with the support package, this scene is named HwCurve.

    For more details on customizing scenes, see Customize 3D Scenes for Vehicle Dynamics Simulations.