Skip to main content
This serves as the interface for a world/groundtruth simulator implementation in simulation framework. It ensures that any third party ground truth generator lib could follow this API definition and thus could be easily used in simulation framework. Interface of scenario should follow ASAM OSI3 standard (https://opensimulationinterface.github.io/osi-antora-generator/asamosi/latest/specification/index.html) #include <i_world_simulator.h>

Public Member Functions

Detailed Description

This serves as the interface for a world/groundtruth simulator implementation in simulation framework. It ensures that any third party ground truth generator lib could follow this API definition and thus could be easily used in simulation framework. Interface of scenario should follow ASAM OSI3 standard (https://opensimulationinterface.github.io/osi-antora-generator/asamosi/latest/specification/index.html)

Member Function Documentation

GetCurrentTime()

pure virtual Return the state if simulation is finished Returns true if the simulation ends

GetSensorView()

pure virtual Return sensor view in osi3 format Returns osi3::SensorView type

GetTrafficCommands()

pure virtual Return traffic commands in osi3 format Returns an vector of osi3::TrafficCommand type

InitSimulator()

pure virtual Initialization of the simulator

IsSimulationFinished()

pure virtual Return the state if simulation is finished Returns true if the simulation ends

SetTrafficUpdate()

pure virtual set new traffic update into simulator Parameters

Shutdown()

pure virtual Any logic needs to be called in the termination

Tick()

pure virtual Main step function which drive the simulator’s calculation for one minimum cycle time The documentation for this class was generated from the following file: