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 created using RoadRunner.

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

Curved road scene with red vehicle

Setup

To simulate a driving maneuver in the Curved 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.

Top-down view of Curved Road scene with recommended vehicle starting location marked

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 HwCurve.

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

Version History

Introduced in R2018b

expand all