Method ReportCapture
ReportCapture(string, SensorSpatialData, params (string, object)[])
Report a sensor capture recorded to disk. This should be called on the same frame as the capture is taken, and may be called before the file is written to disk.
Declaration
public void ReportCapture(string filename, SensorSpatialData sensorSpatialData, params (string, object)[] additionalSensorValues)
Parameters
Type | Name | Description |
---|---|---|
string | filename | The path to the capture data. |
SensorSpatialData | sensorSpatialData | Spatial data describing the sensor and the ego containing it. |
(string, object)[] | additionalSensorValues | Additional values to be emitted as json name/value pairs on the sensor object under the capture. |
Exceptions
Type | Condition |
---|---|
InvalidOperationException | Thrown if ReportCapture is being called when ShouldCaptureThisFrame is false or it has already been called this frame. |