Main Content

Straight Road

Straight road 3D environment

Description

The Straight Road scene is a 3D environment of a straight four-lane divided highway. The scene is created using RoadRunner.

For information about additional scenes, see 3D Scenes for Simulation in Unreal Engine Environment.

Straight Road scene

Setup

To simulate a driving maneuver in the Straight road 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. View the currently available scenes in the Scene name parameter. If the scene is not available, you must install it.

  4. To install the scene:

    1. Click Install.

    2. In the Add-on installer dialog box, select the scene.

    3. Click Next and follow the prompts.

    MATLAB® restarts after the scene is installed.

  5. Select the scene name from the Scene name parameter.

Layout

The scene uses the world coordinate system to locate objects.

The active area of the scene contains the road.

OverallActive Area

Top-down view of Straight Road scene

Close-up of the active area and the recommended vehicle starting location

Tips

  • If you have the Vehicle Dynamics Blockset™ Interface for Unreal Engine® 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 HwStrght.

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

Version History

Introduced in R2018b

expand all