Main Content

Rolling Vineyard

R2026b

Vineyard on rolling hills in Unreal Engine environment

Since R2026a

Description

The Rolling Vineyard scene is an Unreal Engine® environment of a vineyard on rolling hills that consists of these elements:

  • Vine Blocks — Central focus of farming operations within the scene. There are three blocks of red grapes and one block of green grapes. Rows of vines are placed along sloping hills for maximal sun exposure.

  • Entry and Exit Areas — Agricultural equipment access points for entering and exiting each vine block.

  • Headland Areas — Free spaces at the end of each block for tractors and other heavy machinery to turn around.

  • Access Lanes — Engineered pathways facilitating the movement of agricultural vehicles between contiguous vine blocks.

  • Hedge Trees — Dense tree blocks demarcating the inner boundaries of the vineyard that act as year-round windbreaks.

  • Buffer Zones — Unplanted areas at the outer boundaries of the vineyard separating it from adjoining farms.

The scene is rendered using the Unreal Engine from Epic Games®.

Rolling vineyard scene

Setup

To simulate offroad algorithms in the Rolling vineyard scene:

  1. Check which scenes are installed on your local machine.

    sim3d.maps.Map.local

  2. If the table does not contain "Rolling vineyard", then download the scene from the map server.

    sim3d.maps.Map.download("Rolling vineyard")

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

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

  5. Set the Scene name parameter to the Rolling vineyard.

Layout

The layout follows the Unreal Engine coordinate system, which follows the left-hand rule world coordinate system. For more information, see Coordinate Systems for Unreal Engine Simulation in Robotics System Toolbox.

Top-Down ViewPerspective View

Top-down view of the vineyard scene.

Perspective view of the vineyard scene.

Examples

expand all

Open the SimulateTractorInRollingVineyardScene Simulink model. The model contains a Simulation 3D Scene Configuration block and a Simulation 3D Agricultural Tractor block. Note that the Rolling Vineyard scene must be installed before you can set it in the Simulation 3D Scene Configuration block. See Rolling Vineyard for instructions on installing the scene.

open_system("SimulateTractorInRollingVineyard");

This model places the agricultural tractor at a recommended starting location and oscillates the hitch between its lowest and highest configurations. For more starting locations, see the Recommended Starting Locations section of Rolling Vineyard scene.

Simulate the model. This figure shows the Simulation 3D Viewer with the view manually set to the left camera view.

sim("SimulateTractorInRollingVineyard.slx");
Warning: Support for GPU devices with compute capability 6.1 will be removed in a future MATLAB release. For more information on GPU support, see <a href="matlab:web('http://www.mathworks.com/help/parallel-computing/gpu-computing-requirements.html','-browser')">GPU Computing Requirements</a>.

Version History

Introduced in R2026a