Scenario Import and Export
Using a drivingScenario
object or the Driving
Scenario Designer app, you can import road networks from
ASAM OpenDRIVE® files and web map services such as OpenStreetMap®, HERE HD Live Map, and Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0). You can edit the imported road networks, add actors to them,
and build scenarios. Then, you can export driving scenarios to the
ASAM OpenDRIVE and ASAM OpenSCENARIO® formats.
You can also export the road network and static actors in a driving scenario to RoadRunner scene elements in the form of a RoadRunner HD Map file. You can also export the dynamic actors in a driving scenario to a RoadRunner scenario.
Functions
drivingScenario | Create driving scenario |
roadNetwork | Add road network to driving scenario |
export | Export driving scenario to ASAM OpenDRIVE, ASAM OpenSCENARIO or RoadRunner HD Map file (Since R2020b) |
startRoadRunnerForScenario | Create and launch RoadRunner scenario from driving scenario (Since R2024a) |
getRoadRunnerHDMap | Get RoadRunner HD Map from Driving Scenario in MATLAB (Since R2023a) |
hereHDLMCredentials | Set up or delete HERE HD Live Map credentials |
zenrinCredentials | Set up or delete Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0) credentials (Since R2021a) |
Apps
Driving Scenario Designer | Design driving scenarios, configure sensors, and generate synthetic data |
Topics
ASAM OpenX File Formats
- Import ASAM OpenDRIVE Roads into Driving Scenario
Import roads and lanes from an ASAM OpenDRIVE road network into the Driving Scenario Designer app or adrivingScenario
object. - Export Driving Scenario to ASAM OpenDRIVE File
Export roads, lanes, junctions, and actors in a driving scenario to an ASAM OpenDRIVE file. - Export Driving Scenario to ASAM OpenSCENARIO File
Export road network, actors, and trajectories in a driving scenario to an ASAM OpenSCENARIO file.
Web Map Services
- Import HERE HD Live Map Roads into Driving Scenario
Import road data from the HERE HD Live Map web service into the Driving Scenario Designer app or adrivingScenario
object. - Import OpenStreetMap Data into Driving Scenario
Import map data from an OpenStreetMap file into the Driving Scenario Designer app or adrivingScenario
object. - Import Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0) into Driving Scenario
Import road data from the Zenrin Japan Map API 3.0 (Itsumo NAVI API 3.0) web service into the Driving Scenario Designer app or adrivingScenario
object.
RoadRunner
- Export Driving Scenario to RoadRunner Scenario Simulation
Export a driving scenario to RoadRunner scenario and launch RoadRunner using thestartRoadRunnerForScenario
function or the Driving Scenario Designer app.