getScenario
Syntax
Description
returns a variantScenario = getScenario(descriptor,Simulator="DrivingScenario")drivingScenario object,
variantScenario, from the specified
ScenarioDescriptor object, descriptor.
returns a RoadRunner
variantScenario = getScenario(descriptor,Simulator="RoadRunner",SimulatorInstance=rrApp)ScenarioSimulation object, variantScenario, from the
specified ScenarioDescriptor object, descriptor. This
syntax also stores the RoadRunner scenario and scene into these two paths, respectively, where
ProjectFolder is the path to the folder you
specify for the RoadRunner project. For more details on the project folder layout, see RoadRunner Project and Scene System (RoadRunner).
ProjectFolder/Scenario/variantScenario.rrscenarioProjectFolder/Scene/variantScene.rrsceneBefore you use this syntax, you must install RoadRunner and activate your RoadRunner license. For more information, see Install and Activate RoadRunner (RoadRunner).
Note
This function requires the Automated Driving Toolbox™ Test Suite for Euro NCAP® Protocols support package. You can install the Automated Driving Toolbox Test Suite for Euro NCAP Protocols support package from the Add-On Explorer. For more information about installing add-ons, see Get and Manage Add-Ons.
Examples
Input Arguments
Output Arguments
Tips
To get a
ScenarioDescriptorobject from an input scenario, use thegetScenarioDescriptorfunction.