diff --git a/osi_common.proto b/osi_common.proto index ec84ed522..e28d6ccb8 100644 --- a/osi_common.proto +++ b/osi_common.proto @@ -952,3 +952,15 @@ message KeyValuePair // optional string value = 2; } + +// +// \brief Polygon in 3 dimensions +// +// A polygon in 3 dimensions which contains a list of vertices. +// +message Polygon3d +{ + // A list of vertices + // + repeated Vector3d vertices = 1; +} diff --git a/osi_sensordata.proto b/osi_sensordata.proto index 689149370..5f761215b 100644 --- a/osi_sensordata.proto +++ b/osi_sensordata.proto @@ -297,4 +297,22 @@ message SensorData // in cartesian coordinates. // optional LogicalDetectionData logical_detection_data = 27; + + // + // \brief Virtual detection area of a sensor + // + // The virtual detection area describes the are the sensor can see in a best case scenario + // where no occlusion or other statistical effects are considered. It is described by a set + // of polygons. + // + message VirtualDetectionArea { + // List of polygons. Each polygon represents a surface of the virtual detection area + // and is given with respect to the virtual sensor coordinate system. + // + repeated Polygon3d polygons = 1; + } + + // Virtual detection area of the sensor + // + optional VirtualDetectionArea virtual_detection_area = 28; }