openSimulationInterface
Store RoadRunner Scenario simulation data in ASAM Open Simulation Interface (OSI) format
Since R2024b
Description
An openSimulationInterface object enables you to store and write
        RoadRunner Scenario simulation data, such as ground truth information and sensor view information,
      in the ASAM Open Simulation Interface (OSI)® V3.5.0 format. The OSI format is an open file format designed to focus on the
      environmental perception of automated driving functions. It enables automated driving
      functions to easily work with many different driving simulation frameworks. OSI includes an
      object-based environment description that uses the Google® Protocol Buffer (protobuf) message format. You can simulate the specified
      scenario and populate the SensorView property of the object with
      information from the environmental perception of the specified sensors or a ground truth data
      around an ego vehicle in OSI format by using the
        startRoadRunnerSimulation object function. You can also write the OSI
      data of each sensor to a distinct binary file by using the write object
      function.
Creation
Syntax
Description
          creates an empty osiData = openSimulationInterface(scenarioSim,sensors)openSimulationInterface object associated with the
          specified scenario simulation scenarioSim. The object adds the
          specified sensors sensors to the simulation.
          creates an empty osiData = openSimulationInterface(scenarioSim,gtArea)openSimulationInterface object associated with the
          specified scenario simulation scenarioSim to store the ground truth
          information of an area, gtArea, in the
            xy-plane of the world coordinate system,
          centered around an ego vehicle, in OSI format.
Input Arguments
Properties
Object Functions
startRoadRunnerSimulation | Start RoadRunner Scenario simulation | 
write | Write OSI data to binary file | 
getProtoMessage | Get OSI protocol buffer (protobuf) message at each simulation step |