自动驾驶

4. Using Programmatic Interfaces

RoadRunner Scenario provides programmatic interfaces for performing common workflow tasks. This module demonstrates using MATLAB APIs to programmatically modify and simulate scenarios.

Video length is 3:28

Summary

  • Connect RoadRunner and MATLAB with the roadrunner function to vary, import, export, and simulate scenarios programmatically.
  • Specify values for attributes of actors and logic components using variables.
  • Interface with other programming languages through the available gRPC API.

Try

  • Download the live script shown in the video.
  • Follow the instructions to generate scenario variations.
  • Use the ScenarioSimulation object to obtain simulation logs in MATLAB.
  • Create a plot of actor velocities over time.

Training

Learn about these topics and more through the hands-on training course, Designing 3D Scenes and Scenarios with RoadRunner.